Configure ECS to use Reserved Instances

ECS (EC2 Container Service) works with Auto Scaling Groups. But is it possible to use ECS with Reserved Instances? I ask this because Reserved Instances are cheaper.

  • Can I setup a remote spark server inside docker so that I can communicate with it locally?
  • Elastic Beanstalk with Docker deployment failure
  • How to identify whether my container is running on AWS ECS or not?
  • AWS ECS container with tomcat + jdk
  • AWS Docker deployment
  • How to achieve consistency of re-baking an AMI
  • What is docker image location on Windows 10
  • How can I use an ephemeral volume for a Docker container using an official MySQL image with docker-compose?
  • Docker on Mac: Can't view ports
  • Should I be using Docker to config a kernel or just the services running on the kernel?
  • Best practice for rails docker-compose db:create db:migrate
  • How to restore docker images which are removed by `docker rmi` command?
  • One Solution collect form web for “Configure ECS to use Reserved Instances”

    When you reserve an instance, you get billed for all possible hours of use for the reservation period at the beginning of the period, whether you use the hours or not. At the end of the billing period, AWS will reconcile your usage hours vs. reserved hours.

    This means that regardless of whether you stopped or started the instance automatically, you’re still paying for it, albeit at the lower reserved price. Reserved instances do make sense for the ‘non-elastic’ portion of your ASG, like instance 1 of 3 that always needs to be up. If you have a lot of the same instance type, you can also ‘float’ reserved instance hours by estimating capacity and making your best guess as to how many auto-scaled hours you will end up needing.

    This approach is good if you have an established track record of use, like peak load between 7AM and 5PM PST. You can do the math from there.

    My preference for elasticity in ECS is to use the spot market. You will pay much much much less for them and autoscaling works great.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.