Table of contents
- Cloud Monitoring and Management Service - AWS CloudWatch
- CloudWatch Alarms
- CloudWatch Dashboard
- What is Amazon CloudWatch?
- Cloud Action Logging Service - AWS CloudTrail
- CloudTrail
- CloudTrail Events
- CloudTrail Insights
- What is Amazon SNS?
- Cloud Notification Service - AWS SNS
- Message Endpoints
- Task :
- Create a CloudWatch alarm that monitors your billing and send an email to you when a it reaches $2.
- Step1:Navigate to Cloudwatch and select Billing and create alarm(i.e.this task for Billing)
- Step2:Select parameters as per requirements.
- Step3:Set metrics time/usage/current etc.
- Step4:Create SNS for notification over mail and provide the Emails which all this notification should go.
- Step5:Provide Alarm Name
- Step6:Subscribe this service through your mail notification.
- Step7:Verify Alarm created.
- Step8:Delete Alarm once you are done with the task.( can be used for future references.)
Hey learners, you have been using aws services atleast for last 45 days. Have you ever wondered what happen if for any service is charging you bill continously and you don't know till you loose all your pocket money ?
Hahahaha😁, Well! we, as a responsible community , always try to make it under free tier , but it's good to know and setup something , which will inform you whenever bill touches a Threshold.
Cloud Monitoring and Management Service - AWS CloudWatch
CloudWatch lets you monitor your resources.
It is a web-based service.
Configure the service to monitor and set alarms based on your metrics.
CloudWatch Alarms
CloudWatch lets you create automatic alarms.
Configure the alarms as you like.
Alarms are triggered at thresholds defined by you.
Alarms are used to control resources. For example, stop idle or near to inactive services.
CloudWatch Dashboard
Access CloudWatch from your browser.
It gives you an overview of your resources in one single view.
CloudWatch gives insights across AWS services.
You can make many dashboards based on your needs.
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.
Cloud Action Logging Service - AWS CloudTrail
CloudTrail logs actions inside your AWS environment.
It records API calls on your account.
CloudTrail
CloudTrail logs actions on your account as a trail.
Example of data logs:
Identity
Time
IP address
and much more.
CloudTrail gives a complete history of user activity and API calls on your resources.
CloudTrail Events
CloudTrail can be used to create events.
Events are set up to understand what has happened.
CloudTrail lets you filter and locates specific events.
Events can for example, tell us:
What?
Who?
When?
How?
The event gives situational insight.
CloudTrail Insights
CloudTrail has a feature called CloudTrail Insights.
Insights let you detect unusual API activities on your account by automation.
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 mass delivery of messages, predominantly to mobile users.
SNS is a cloud service for the mass delivery of messages.
It is a fully managed publish-subscribe messaging and mobile communication service.
It can be event-driven, with automated services responding to triggers.
Distributed systems and micro services can be decoupled with messaging between them through AWS SNS.
Application-to-person messaging to users is possible with SMS, mobile push, and email.
Cloud Notification Service - AWS SNS
AWS Simple Notification is also called AWS SNS
SNS (Simple Notification Service) is a notification service.
Message Endpoints
AWS SNS can publish messages to many different endpoints:
HTTP and HTTPS
Email and Email-JSON
AWS SQS
Applications
AWS Lambda
SMS (depending on region)
Task :
Create a CloudWatch alarm that monitors your billing and send an email to you when a 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. )
Need help with Cloudwatch? Check out this official documentation for assistance.
Keep growing your AWS knowledge💥🙌
Happy Learning! :)
Step1:Navigate to Cloudwatch and select Billing and create alarm(i.e.this task for Billing)
Step2:Select parameters as per requirements.
Step3:Set metrics time/usage/current etc.
Step4:Create SNS for notification over mail and provide the Emails which all this notification should go.
Step5:Provide Alarm Name
Step6:Subscribe this service through your mail notification.
Step7:Verify Alarm created.
Step8:Delete Alarm once you are done with the task.( can be used for future references.)
Thank you for reading!! Hope you find this helpful.
#day46#90daysofdevops#devopscommunity
Always open for suggestions..!!
Thank you Shubham Londhe