My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

AWS: How to deploy docker instance near instantly on ec2 closest to my customer?

atdub's photo
atdub
·Feb 22, 2017

I have a basic docker image containing a python script that comes in under 100mb. I'm not sure what distro I'm going to use but preferably one that results in the smallest file size as possible.

The goal is to deploy a docker image on t2.nano ec2 instance but it must meet the following conditions:

from the time a customer requests access via URL, it should respond as quickly as possible, preferably under a few seconds. the latency between the customer and newly deployed docker ec2 instance should be as small as possible, meaning ec2 on the closest availability region. Is this possible?