AWS CloudWatch and Systems Manager (SSM) Workshop
This page contains links and hints and tips for this workshop.
This page is public, contains no access information, PII or other non public info will be shared here. The presenter will provide more details about accessing the lab environment privately with you during the session.
Labs - AWS CloudWatch and Systems Manager Workshop
- AWS CloudWatch and Systems Manager Workshop https://catalog.us-east-1.prod.workshops.aws/workshops/a8e9c6a6-0ba9-48a7-a90d-378a440ab8ba/en-US We’ll be following these instructions for this AWS hands on session.
NOTE: This lab uses the Dublin AWS Region, it’s named eu-west-1. When in the browser you’ll want to ensure you remain in this region. We’ll also be using AWS Cloudshell which allows to use a browser based shell that is already configured to work with your lab environment.
In Part 1 you’ll learn how to build CloudWatch Alarms and Dashboards to monitor your infrastructure and applications. This will give you hands on experience in CloudWatch Metrics, Logs, Alarms and Dashboards. In production you would typically use third party tooling that will access CloudWatch APIs.
Part 1: CloudWatch (~2 hours)Header anchor link
In this section you will learn how to build CloudWatch Alarms and Dashboards to monitor your infrastructure and applications.
After completing this workshop you will be able to:
Find important events across your infrastructure- or application logs in seconds!
Setup Alarms for critical events.
Deploy and upgrade software (agents) to your hosts at scale.
Deploy application configuration files to your hosts at scale.
Content:
Introduction to CloudWatch
Lab: CloudWatch Metrics
Lab: CloudWatch Logs
Lab: CloudWatch Alarms
Lab: CloudWatch Dashboards
In Part 2 you will learn how to use Systems Manager to manage your EC2 Instances and Applications at scale. Think runbooks, patching, fleet management, managed adhoc RDP and SSH access and other sys admin tasks as the domain of AWS Systems Manager.
In this workshop we build our hands on environment and synthetic data using IaaC. Think about how you would tag, name, group and lifecycle manage metrics and log data.
Prerequisites
You’ll need a text editor, web browser and access to your email address to retrieve TOTP code for access to the lab environment
Part 2.1 Cloudwatch Metrics
Cloudwatch provides metric visibility from most AWS services. The following lab sections demonstrate how you can access and manage the dynamic nature of cloud resources and the metrics they produce. Key takeaways here are:
- We want to get to insights fast and minimise the impact of noisy data.
- Automation is key to managing cloud resources.
Part 2.2.2 CloudWatch Logs Insights
Here we use a provided python script to generate synthetic log data. We’ll connect to an EC2 created earlier to run our python script.
2.4.1 Creating Dashboards
We can use the virtual conference chat to share your custom CloudWatch Dashboard if needed
3.1.2 Using Amazon Managed documents
Once we start the EC2 updates we take a break while we wait for the updates to finish
References
- Using Terraform to Manage AWS Programmable Infrastructures https://aws.amazon.com/blogs/apn/using-terraform-to-manage-aws-programmable-infrastructures/
- Amazon CloudWatch launches cross-account cross-region dashboards (supported from Nov 2019) https://aws.amazon.com/about-aws/whats-new/2019/11/amazon-cloudwatch-launches-cross-account-cross-region-dashboards/
Continue reading articles in my Amazon Web Services series
- Data Warehousing on AWS
- Migrating to AWS
- AWS Business Essentials
- IAM Demo
- Architecting on AWS
- SysOps on AWS
- S3 Demo
- Predict the Future
- AWS Tech Essentials
- Developing on AWS
- DevOps on AWS
- Advanced Architecting on AWS
- Big Data on AWS
- AWS Deep Dive Toolbox
- Security Engineering on AWS
- Deep Learning on AWS
- AWS List of Services
- Networking on Aws
- AWS Data and Analytics
- Microsoft Immersion Day
- Adelaide Deep Racer Hints and Tips
- Deep Racer Awards
- Windows on AWS
- AWS Ask Me Anything
- Cloudwatch and Systems Manager Workshop
- Containers Immersion Day
- Redshift Immersion Day
- Innovation in Ambiguity
- AWS Contingency Planning
- AWS CLI Examples
- Migrating to Cloud in 2023
- Chaos Engineering Workshop
- Chatgpt Friend or Foe