Versions Compared

Key

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

...

Code Block
chmod 400 /path/to/DIAPER-test-key.pem

Then, you can ssh into the EC2 instance using

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

 

Then, pull Pull your Docker image and other relevant file from GitHub. Once pulled, navigate to your project folder and run the Docker as you would do locally. To keep your service from blocking the console, you should run your Docker in detached mode. Alternatively, you can first enter ctrl-z to suspend the service and then run the following commands

...