S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need...
Transcript of S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need...
![Page 1: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/1.jpg)
CloudWatch
![Page 2: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/2.jpg)
What is CloudWatch?CLOUDWATCH
Amazon CloudWatch is a monitoring service
to monitor your AWS resources, as well as
the applications that you run on AWS.
![Page 3: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/3.jpg)
What can CloudWatch do?CLOUDWATCH
CloudWatch can monitor things like:
• Compute
• Autoscaling Groups
• Elastic Load Balancers
• Route53 Health Checks
• Storage & Content Delivery
• EBS Volumes
• Storage Gateways
• CloudFront
![Page 4: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/4.jpg)
What can CloudWatch do?CLOUDWATCH
CloudWatch can monitor things like:
• Databases & Analytics
• DynamoDB
• Elasticache Nodes
• RDS Instances
• Elastic MapReduce Job Flows
• Redshift
![Page 5: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/5.jpg)
What can CloudWatch do?CLOUDWATCH
CloudWatch can monitor things like:
• Other
• SNS Topics
• SQS Queues
• Opsworks
• CloudWatch Logs
• Estimated Charges on your AWS Bill
![Page 6: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/6.jpg)
CloudWatch and EC2CLOUDWATCH
Host Level Metrics Consist of:
• CPU
• Network
• Disk
• Status Check
EXAM TIP RAM Utilization is a custom metric! By default EC2 monitoring is 5 minute intervals, unless you enable detailed monitoring which will then make it 1 minute
intervals.
![Page 7: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/7.jpg)
How Long are CloudWatch Metrics Stored?CLOUDWATCHY ou can retrieve data using the GetMetricStatistics API or by using third party tools offered by AWS partners.
You can store your log data in CloudWatch Logs for as long as you want. By default, CloudWatch Logs will store your log data indefinitely. You can change the retention for each Log Group at any time.
You can retrieve data from any terminated E C 2 o r E L B i n s t a n c e a f t e r i t s termination.
![Page 8: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/8.jpg)
Metric Granularity?CLOUDWATCH
It depends on the AWS service. Many default metrics for many default services are 1 minute, but it can be 3 or 5 minutes depending on the service.
EXAM TIP For custom metrics the minimum
granularity that you can have is 1 minute.
![Page 9: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/9.jpg)
CloudWatch AlarmsCLOUDWATCH
You can create an alarm to monitor any Amazon CloudWatch metric in your account. This can include EC2 CPU Utilization, Elastic Load Balancer Latency or even the charges on your AWS bill. You can set the appropriate thresholds in which to trigger the alarms and also set what actions should be taken if an alarm state is reached. This will be covered in a subsequent lecture.
![Page 10: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/10.jpg)
CloudWatch - a monitoring service to monitor your AWS resources, as well as the applications that you run on AWS.
CloudWatch Exam TipsCLOUDWATCH
![Page 11: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/11.jpg)
Host Level Metrics Consist of: • CPU • Network • Disk • Status Check
Ram Utilization - is a custom metric.
Custom Metrics - minimum granularity is 1 minute.
CloudWatch Exam TipsCLOUDWATCH
![Page 12: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/12.jpg)
Terminated Instances - You can retrieve data from any terminated EC2 or ELB instance after its termination. CloudWatch Logs by default are stored indefinitely.
CloudWatch Exam TipsCLOUDWATCH
![Page 13: S2 L1 CloudWatch Introduction…restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent. CloudWatch Exam Tips](https://reader033.fdocuments.us/reader033/viewer/2022053119/609f7a193579ac423a3bbb1b/html5/thumbnails/13.jpg)
Metric Granularity • 1 minute for detailed monitoring • 5 minutes for standard monitoring
Cloudwatch can be used on premise - Not restricted to just AWS resources. Can be on premise too. Just need to download and install the SSM agent and Cloudwatch agent.
CloudWatch Exam TipsCLOUDWATCH