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
:
- Go to the EC2 console
- Go to
Instances
- Right click on the instance,
Monitor and troubleshoot > Manage detailed monitoring
Enable
andConfirm
Add Alarms
- Search for
CloudWatch
- In the left navigation bar, click
All metrics
- Switch on
Alarm recommendations
Info
I found filtering by name was the easiest way to find the instances I wanted alarms for
- Click on the metric category EC2
- Select the metric
CPUUtalization
- Click
Create alarm
- Give it a name that you will recognize and select
Create alarm
- Repeat with two more alarms
CloudTrail Logs Setup
- Go to the CloudTrail console
- Click
Create trail
- Name it
final-trail
- Disable SSE-KMS
- Add a tag
- Key: Name
- Value: Final
Next
- Enable
Insight Events
- Leave defaults and hit
Next
Create trail
- Click the S3 bucket associated with the trail
- Wait 15 minutes for logs to flow
- Navigate through the folder structure the json data and you can just click
open
to open the json data in a new tab