# Practical

1. **Detailed CloudWatch**

* We can enable detailed CloudWatch either while creating an instance or clicking on action -> CloudWatch -> enable detailed monitoring

**2 .Create an alarm**

* Cloudwatch -> create an alarm -> ec2 metrics -> per-

  instance metrics -> select an alarm (cpuutilization) ->

  name (highloadavg) -> description (high load avg) ->

  whenever (cpu utilization is more than 80%) -> actions ->

  whenever this alarm (state is ALARM) -> send

  notification to (loadavg) -> +EC2 option (optional option) -

  \> take this action (stop this instance) -> period (if we

  want to change).

  or

* select the instance -> action -> cloudwatch -> edit/add

  alarm -> create a alarm -> shut down the instance

  when reaching cpuutilization 60% -> save.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gyansetu-aws.gitbook.io/aws-cloud/practical-11.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
