Provisioning EC2 instances in AWS account

0

Hi AWS, we have a couple of instances in the AWS account. I need to create a report for the server names, IP address and which all applications are running on them. I need to know what should be the right format to create the list and which all important information I need to provide.

Also, I need to check if the instances are over-provisioned or under-provisioned and provide recommendations. Any idea how to do it in a better way as per organization standards. What all factors we need to keep in mind for deciding which EC2 instance is over-provisioned vs under-provisioned and how to improve in order to save some cost.

Please guide.

profile picture
Arjun
asked 8 months ago210 views
1 Answer
2

Hi,

re, instance inventory, the most sustainable way to obtain it is via AWS Systems Manager Inventory: see https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-inventory.html

It is a bit of initial setup but you'll use it on the long-term with a need to scale (more instances) and be holistic (i.e not only EC2 but all services)., it is more sustainable than a manual CLI-based solution

Re. Under- or Over-provisioning, Machine-learning based AWS Compute Optimizer for EC2 is what you need. See https://aws.amazon.com/compute-optimizer/

It will tell you when you instances get inappropriate for a given workload.

From https://aws.amazon.com/compute-optimizer/faqs/

AWS Compute Optimizer helps you identify the optimal AWS resource configurations, 
such as Amazon Elastic Compute Cloud (EC2) instance types, Amazon Elastic Block Store 
(EBS) volume configurations, task sizes of Amazon Elastic Container Service (ECS) services 
on AWS Fargate, and AWS Lambda function memory sizes, using machine learning to 
analyze historical utilization metrics. AWS Compute Optimizer provides a set of APIs 
and a console experience to help you reduce costs and increase workload performance 
by recommending the optimal AWS resources for your AWS workloads.

Best,

Didier

profile pictureAWS
EXPERT
answered 8 months ago
profile picture
EXPERT
Steve_M
reviewed 8 months ago
profile picture
EXPERT
reviewed 8 months ago
  • Is there a way to check which all applications are running on a given EC2 instance @Didier Durand

  • So, now there is one another issue. Currently the report is generated on manual basis and there are scenarios where an existing instance is terminated and a new instance is spun up in place of it. Also some of the running instances are stopped and vice-versa. There is no notification received for such actions and I believe this is a serious concern considering something similar happens in production running applications?

    Is there a way where we can generate the report on real-time and it will be modified based on what is happening on a given EC2 instance?

    Please guide Didier_Durand

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions