MOCs

This is a continuation from Final Part 1

Adding CloudWatch Monitoring the all 3 instances from Final Part 1

On jumb, Web and MySQL:

  1. Go to the EC2 console
  2. Go to Instances
  3. Right click on the instance, Monitor and troubleshoot > Manage detailed monitoring
  4. Enable and Confirm

Add Alarms

  1. Search for CloudWatch
  2. In the left navigation bar, click All metrics
  3. Switch on Alarm recommendations

Info

I found filtering by name was the easiest way to find the instances I wanted alarms for

  1. Click on the metric category EC2
  2. Select the metric CPUUtalization
  3. Click Create alarm
  4. Give it a name that you will recognize and select Create alarm
  5. Repeat with two more alarms

CloudTrail Logs Setup

  1. Go to the CloudTrail console
  2. Click Create trail
  3. Name it final-trail
  4. Disable SSE-KMS
  5. Add a tag
    • Key: Name
    • Value: Final
  6. Next
  7. Enable Insight Events
  8. Leave defaults and hit Next
  9. Create trail
  10. Click the S3 bucket associated with the trail
  11. Wait 15 minutes for logs to flow
  12. Navigate through the folder structure the json data and you can just click open to open the json data in a new tab