Search code examples
amazon-web-servicesdockeramazon-ecs

Storing Docker Images to Deploy in Various Regions


We are deploying an identical application that detects the region of the EC2 instance that it is deployed on so that it can use the correct configurations for various services such as RDS, Elasticache, etc. When deploying the application, should we push the image to both the East and West region? I'm just really trying to understand if there are advantages of storing the same image on both regions.


Solution

  • Pulling images between regions or out to the internet will have additional latency and data transfer costs. Latency might be more of an issue if your images are large and/or you care about how quickly you're able to create a new running container.