Monitor AWS EC2 Instances CPU –Using Cloud Watch Dashboard:

  1. Login to the AWS console
  2. Go to All services > Management Governance > click on Cloud Watch

Cloudwatch-1

3.  Create a new dashboard as mentioned below

Cloudwatch-2

4. Select the right wizard according to the your requirement.

Cloudwatch-3

5. As we need to monitor EC2 dashboard select EC2 metric.

Cloudwatch-4

6.  Click on pre-instance metrics > Search for CPU utilization and click on create widget

CW-5

7. Once widget is created, save the dashboard. Your cloud watch dashboard is ready!!!

 

CW-6

 

 

 

 

Resizing AWS EBS Volumes:

Steps to resizing AWS EBS volumes are mentioned below.

  1. Login to AWS console
  2. Go to EC2 console
  3. Select the instance.EC2-2

4. Select the root device of the EC2 instance.

EC2-3

5. Click on root device and select the volume assigned to the EC2 instance

EC-4

6. Select the Volume and click on actions > create a snapshot

EC-5

7. Create a snapshot as mentioned below.

ec-6

8. Select the snapshot and create a volume as mentioned below

EC-8

EC2-9

9. Increase the size to 40GB (which will increase the IOPS to 120).

ec-10

10. Go to EC2 instance and stop the instance (You will be attach the volume only after stopping the instance)

EC11

ec12

11. Select the root device > volume > actions > detach the volume

EC13

12. Once the existing volume (8GB)  is detached, select 40GB volume and attach the to the EC2 instance

EC14

13.  Assign 40GB volume to the EC2 instance.

EC15

EC16

14. Once volume is attached, start the instance

EC17

15. New 40GB volume is attached to the instance.

EC17

 

AWS Tools for Reporting and Cost Optimization:

AWS-Cost

 

Cost Explorer : See patterns in AWS spend over time, project future costs, identify areas that need further inquiry, observe Reserved Instance utilization, observe Reserved Instance coverage, and receive Reserved Instance recommendations.

AWS Trusted Advisor – Get real-time identification of potential areas for optimization.

AWS Budgets – Set custom budgets that trigger alerts when cost or usage exceed  a budgeted amount. Budgets can be set based on tags and accounts as well as resource types.

Amazon CloudWatch – Collect and track metrics, monitor log files, set alarms, and automatically react to changes in AWS resources.

AWS CloudTrail – Log, continuously monitor, and retain account activity related to actions across AWS infrastructure at low cost.

Amazon S3 Analytics – Automated analysis and visualization of Amazon S3 storage patterns to help you decide when to shift data to a different storage class.

Cost Optimization Monitor – Automatically process detailed billing reports to get granular metrics that can be searched, analyzed, and visualized in a customizable dashboard.

EC2 Right Sizing – Analyze EC2 instance utilization data and receive reporting recommendations for right sizing EC2 instances. The tool recommends instances that better match your usage.

AWS Cost and Usage Report – Granular raw data files detailing your hourly AWS usage across accounts used for Do-It-Yourself (DIY) analysis (e.g., determining which S3 bucket is driving data transfer spend). The AWS Cost and Usage Report has dynamic columns that populate depending on the services you use.

Detailed Billing Report – This report is similar to the AWS Cost and Usage Report, but it has static columns. This report is eventually deprecated.Please use the AWS Cost and Usage Report instead.