Reputation: 132
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
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
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
Reputation: 6998
You can use the AWS Cost Explorer . There you can group your costs by instance.
Upvotes: 8