Public Repository

Last pushed: 5 months ago
Short Description
A simple web application for creating AWS EC2 instances using NODE.js/Express.js
Full Description

This application is designed to create and delete AWS instances using a NODE.js/Express.js server on port 3000.
The templating engine used is Handlebars.js.

To get started

  1. Sign up for an AWS account if you have not done so already.
  2. Aquire your AWS Access Key ID and AWS Secret Access Key
  3. Pull the docker repo to your machine using the command: docker pull jlmead/deployec2
  4. Run the docker container using the following command with your AWS credentials: docker run -p 3000:3000 --name aws-ec2 -e AWS_ACCESS_KEY_ID=<your key ID> -e AWS_SECRET_ACCESS_KEY=<your secret access key> jlmead/deployec2
  5. Open your browser and navigate to http://localhost:3000

By default the container starts in application mode. To run tests, run the following command with your AWS credentials:
docker run -p 3000:3000 --name aws-ec2-test -e AWS_ACCESS_KEY_ID=<your key ID> -e AWS_SECRET_ACCESS_KEY=<your secret access key> jlmead/deployec2 npm test

Docker Pull Command
Owner
jlmead

Comments (0)