CloudSploit can now send alerts to AWS SNS endpoints. This allows you to configure a mobile phone number as a subscription endpoint, which will enable you to receive SMS notifications when a specified plugin enters a WARN or FAIL state. This setup requires you to alter the IAM permissions of the cross account role created for CloudSploit, so please follow these steps carefully.
Note: You may incur charges through your AWS account for the sending of SMS messages. These charges are independent of CloudSploit and are pursuant to your AWS rates. To read more about AWS pricing for SNS, click here.
- If you have not already configured your AWS account for use with CloudSploit, refer to our Getting Started Guide.
- Ensure you are on a Business Plan. While all plan users can configure integrations and alerts, they will only be sent to accounts in the Business Plan. If you have not upgraded, view our Upgrade Guide for steps.
- Log into your AWS account and open the SNS Dashboard.
- Click on "Topics" and "Create new topic."
Give it a name and description of your choosing
Create the topic and then copy its ARN (ex: "arn:aws:sns:us-east-1:0123456789:cloudsploit-sns")
Click on the topic, then click the "Other topic actions" dropdown and select "Edit topic policy"
Under "Allow these users to publish messages to this topic", enter CloudSploit's account number (057012691312) next to "Only these AWS users".
You can now subscribe to your SNS topic with your mobile number. Under the topic, click "Create Subscription" and enter your mobile number. You can also add an email subscription as well.
Return to the CloudSploit account console, and navigate to the "Integrations" page.
Under "Add a New Integration" select "SNS" as the type and enter the ARN copied above.
Click Submit. If you get an error saying CloudSploit could not post to the SNS endpoint, double check your permissions entered above.
You can now configure alerts to be sent to this integration. You can follow the steps on our Configuring Alerts Guide.