Overview

Currently, the way Docker containers are deployed on AWS is basically having them run on an EC2 instance. This means that each service occupies a unique port on the machine. Below is a list of running services and the ports they are using.

ServicePort
Backend offline5000

 

Procedure

To deploy a Docker, follow three steps:

  1. copy your Docker image and other relevant file to the EC2 instance using scp
  2. ssh into the EC2 instance
  3. run your Docker image there

Copy files