ℹ️ Information: In this section, you’ll set up the necessary AWS resources for the CloudWatch workshop using AWS CloudFormation. This automated deployment will create EC2 instances with pre-configured applications that generate metrics and logs for our monitoring exercises.
Access the AWS Management Console:
In the CloudFormation console:
For the stack template:
Configure stack details:
FCJ-CloudWatch-Workshop
(or a preferred name that’s easily identifiable).💡 Pro Tip: Using a consistent naming convention for your CloudFormation stacks makes resource management easier, especially when working across multiple projects or environments.
Configure stack options:
🔒 Security Note: The CloudFormation template creates IAM roles with least-privilege permissions necessary for this workshop. In production environments, always review IAM permissions carefully to ensure they follow security best practices.
Review and create:
Monitor stack creation:
When the deployment completes successfully, you’ll see the stack status change to CREATE_COMPLETE:
ℹ️ Information: The CloudFormation stack has deployed EC2 instances running sample applications that will generate metrics and logs for our CloudWatch exercises. These resources are pre-configured to demonstrate various CloudWatch capabilities throughout this workshop.
The preparation step is now complete. In the following sections, we’ll explore CloudWatch’s monitoring and observability features using the resources we’ve just deployed.