Step 2: Tag the demo instance
Before adding a tag to the demo instances, verify that the
<Workload> Demo
Instance parameter for the workloads is set to Yes
.
Once the deployment is complete, you can tag instances and monitor
them on the Amazon CloudWatch dashboard. When adding a tag to your
demo EC2 Instance, you must use the same tag as the
<Workload> Tagging Schema
parameter value used in your stack deployment.
-
Sign in to the Amazon EC2 console
. -
Select the demo instance
<stack-name>-DemoEC2
deployed with default parameters. -
Select the Tags tab and choose Manage tags.
-
Choose Add tag to the instance and provide the key-value pair you provided during deployment. The default value for Apache demo instance is shown in the Add tag figure for the Apache workload. Similar tags need to be added for respective workload demo instances.
-
Choose Save.
-
The Lambda function runs on cron schedule and it can take up to 5 minutes for the instance to show up on the CloudWatch dashboard.
-
Sign in to the Amazon CloudWatch dashboard console
and select the deployed dashboard. The dashboard should look similar to the example (CloudWatch Dashboard for Apache figure) for Apache. You should see similar dashboards for NGINX and Puma workloads as well.