Reputation: 109
I created a single Docker container on Amazon's EC2 default instance. I am wondering will my app automatically scale if there is a sudden spike in traffic?
Upvotes: 0
Views: 108
Reputation: 41488
Not much is setup automatically in AWS. In very broadly outlined strokes, to achieve your goal, you'd need to roll the following:
This is way outside the scope of what can be answered quickly in a SO post.
Judging by the question however, I'd recommend learning about ElasticBeanstalk (EB). You can setup a docker enabled beanstalk. http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker.html
EB takes handles configuring the above for you--all you need to do is specify min an max instances you want to scale to.
Upvotes: 2