EC2 Instance Setup and Cloud Watch Alarm

Setting Up an EC2 Instance and Cloud Watch Alarm
How to Configure EC2 Instances and Cloud Watch Alarms
Tasks
- Launch EC2 Instance: Set up an EC2 instance named - datacenter-ec2using a suitable Ubuntu AMI.
- Create CloudWatch Alarm: Set up a CloudWatch alarm named - datacenter-alarmwith these details:- Statistic: Average 
- Metric: CPU Utilization 
- Threshold: >= 90% for one consecutive 5-minute period. 
- Alarm Actions: Notify - datacenter-sns-topic.
 
Steps
- Launch instance  
- Create a default VPC  - VPC → Your VPCs → Create default VPC  
- You successfully created vpc-0e139ab7aa6d8c882. 
 - Now, time to launch the instance 
 - Instance is running now.  
- Verify SNS Topic - Amazon → SNS → Topics  
- Select the instance → Actions → Monitor and troubleshoot → Manage CloudWatch Alarms 
 - Name the alarm and mention alarm notification, datacenter-sns-topic.  
- Create now. 
 - Created CloudWatch alarm: datacenter-alarm 
  - Boom! We have set up an EC2 instance and configured a CloudWatch alarm. - #happylearning #aws #cloud