What is Amazon CloudWatch?
Amazon CloudWatch monitors your Amazon Web Services (AWS) resources and the applications you run on AWS in real-time. You can use CloudWatch to collect and track metrics, which are variables you can measure for your resources and applications. Read more about CloudWatch from the official documentation here.
What is Amazon SNS?
Amazon Simple Notification Service is a notification service provided as part of Amazon Web Services since 2010. It provides a low-cost infrastructure for the mass delivery of messages, predominantly to mobile users.
Read more about it here.
Task :
Create a CloudWatch alarm that monitors your billing and sends an email to you when it reaches $2. (You can keep it for your future use)
Delete your billing Alarm that you created now. (Now you also know how to delete as well. )
To create a billing alarm using the Cloudwatch Console: Open the CloudWatch Console
On the left-hand side, choose "Alarms" and then choose "Billing".
Click on the "Create Alarm" button.
Under Metrics, select "EstimatedCharges" for the Metric name.
Define the conditions for your alarm. For example, I set the threshold to be "Greater than $2" for a "Period" of 6 hours.
Deleting a billing alarm
Go to the CloudWatch Console, navigate to Alarms and choose "Alarms". Find and select the alarm you want to delete. Click on the "Actions" button and choose "Delete." Confirm the deletion when prompted.
You can check out the official documentation.