How can we get the inventory of all accounts and respective resources running in AWS Environment ,Currently we have 100+ Accounts .

Sake MadanMohan
Sake MadanMohan used Ask the Experts™
on
Hi Techies ,

Any suggestions on “How can we get the inventory of all accounts and respective resources running in AWS Environment ,Currently we have 100+ Accounts .

Please suggest .
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David FavorFractional CTO
Distinguished Expert 2018

Commented:
You asked, "Any suggestions on... How can we get the inventory of all accounts and respective resources running in AWS Environment . Currently we have 100+ Accounts."

Accounts != Resources. These are 2x very different things.

To determine accounts depends on what you mean by accounts.

This might include /etc/passwd users, LDAP user, Dovecot users, MariaDB/MySQL users, WordPress users.

Start with a context first, then taking an inventory of users will likely be easy.

Regarding resource usage, start by defining what resource means - CPU, memory, disk space, disk i/o - are a few that quickly come to mind.
btanExec Consultant
Distinguished Expert 2018

Commented:
For accounts, use AWS Organizations to structure and manage multiple AWS accounts. While AWS accounts are not technically hierarchical, you can use organizational units (OUs) with AWS Organizations to create hierarchical and logical groupings to better manage accounts. Note that there is a soft limit of 20 accounts per organization, and a hard limit of one level of billing hierarchy.

https://aws.amazon.com/answers/account-management/aws-multi-account-billing-strategy/

For instances and workloads, check out system manager which can help you by creating a global inventory association.

https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-inventory.html
It is not unusual to have 100+ accounts.
Multiple business units, multiple projects, multiple dev/uat/qa/prod environments, they all add up.

The first thing, if you didn't do it yet, is to organize your accounts under a few billing accounts. A single billing account paid by invoice is the best, and if paying by card I recommend at least 2 billing accounts with different payment methods.

Inside the billing accounts create an organization structure.

As for managing resources - resources on AWS is definitely much more than CPU, storage and routers.

For an account of your size and complexity, I recommend getting a specialized service such as CloudHealth to help you gain visibility into your resource usage and spend.

Yes, you could just download the detailed billing reports for 100+ AWS accounts and aggregate it all in excel sheets.
Good luck with that.
It will be cheaper, faster and more effective to pay for a service that does that for you.
Rounded IT Consultant / Projects manager / Cloud Consultant / IT Planning
Commented:
Few tips going forward:
 Accounts should be mapped to  cost centers in your org (Departments, units..etc)
Let your admins always tag resources to be used specifically for your above business need and other needs: https://aws.amazon.com/answers/account-management/aws-tagging-strategies/

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial