3

I've been evaluating Netflix Ice - as a billing tool - but it appears to only work at the Machine instance level - not at the container level.

I'm looking for a tool to help generate billing reports for using docker containers across a cluster of docker servers on EC2. (Non ECS)

My question is: How to track (non ECS) container costs on EC2?

EDIT: I have different groups each running their container on the same host. So I want a way to split instance costs by container usage.

2

Since you are not asking about ECS containers, this means that you must have a bunch of EC2 servers that you manage in some way (ECS/Kubernetes/Nomad/etc...). These servers are most probably included in an Auto Scaling Group.

Once you run containers on these servers, AWS does not charge you for the container. AWS only charges you per second of EC2 instance time while the instance was in a running mode.

So in fact you could say that containers are "free", you don't pay for containers, you pay for the infrastructure underneath (EC2 servers).

Netflix ICE is a great tool to track EC2 instance costs, as well as the AWS Billing dashboard.

3
  • Thanks - I have different groups each running their container on the same host. So I want a way to split instance costs by container usage.
    – hawkeye
    Jan 18 '18 at 22:09
  • You measure how many instances were running in a period of time, then the number of containers during the same period. Then use division and you get the answer. Jan 20 '18 at 19:20
  • Thanks @Evgeny - I'd like a tool to do that for me. Either daily or hourly. Do you know of one?
    – hawkeye
    Jan 26 '18 at 0:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.