Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

First, download the key pair file DIAPER-test-key.pem and copy your Docker image and other relevant file to  and ssh into the EC2 instance using scp:

Code Block
scpssh -r -i /path/to/DIAPER-test-key.pem /path/to/project/folder ec2-user@3.87.30.85:~/

Then,  ssh into the EC2 instance using

Code Block
ssh -i /path/to/DIAPER-test-key.pem ec2-user@3.87.30.85

pull your Docker image and other relevant file from GitHub

Code Block
git 

Once pulledOnce logged in, navigate to the project folder you just uploaded and run the Docker as you would do locally. If your service is blocking, do the following

...