Ngo Van Quan
Ngo Van Quan

Reputation: 132

How can I find out cost per instance per month on AWS

I have some instances and each instance belongs to a different client. I want to know how much each instance is costing me on a monthly basis? I called the AWS but not success yet

Upvotes: 9

Views: 26634

Answers (3)

E.J. Brennan
E.J. Brennan

Reputation: 46839

Tags is probably the quickest way, but maybe the preferred way is to setup each client in a separate AWS account, and have a parent account and turn on/use consolidated billing.

Not only will this make the billing/chargebacks cleaner, if you and a client ever need to part ways, you can transfer their entire account with all of their data/instances/databases back to them.

Upvotes: 4

Chris Williams
Chris Williams

Reputation: 35146

The closest solution to what you want is going to be using cost allocation tags. By tagging the resources correctly, i.e. using a tag of Client you are able to identify in a billing breakdown how much a clients resources have costed per each service.

Once you have configured these you can generate your bill based on tags, additionally you can either use the console or CLI to find this detail using cost explorer and grouping by tags.

This will be advantageous over a logical resource anyway as it will persist past the resources lifetime, i.e. if that instance is terminated you will still know the total spend by the client.

Upvotes: 6

Robert Kossendey
Robert Kossendey

Reputation: 6998

You can use the AWS Cost Explorer . There you can group your costs by instance.

Upvotes: 8

Related Questions