Let's load the system

Increase the traffic generator count for increased load

  1. Navigate to your Cloud9 terminal and execute the following commands:

This will launch 5 instances of the trafficgenerator container to simulate a first level of scale.

PETLISTADOPTIONS_CLUSTER=$(aws ecs list-clusters | jq '.clusterArns[]|select(contains("PetList"))' -r)
TRAFFICGENERATOR_SERVICE=$(aws ecs list-services --cluster $PETLISTADOPTIONS_CLUSTER | jq '.serviceArns[]|select(contains("trafficgenerator"))' -r)
aws ecs update-service --cluster $PETLISTADOPTIONS_CLUSTER --service $TRAFFICGENERATOR_SERVICE --desired-count 5

Check system health

After waiting for about 5 minutes you should see a DynamoDB warning on your service map.

  1. Navigate to CloudWatch in the AWS Management console.
  2. In the left navigation menu under ServiceLends, click Service Map.

  1. Click on the DynamoDB Table node.

This will display the details about where this warning is coming from: On the bottom right of the screen you should see the alarms in alert.

  1. Click on the alert to get more details.

This will jump into Cloudwatch Alarm page:

This concludes this section. You may continue on to the next section.