Short description is empty for this repo.
1.6K
Create a profile in ~/.aws/credentials
[amaysim]
region = ap-southeast-2
aws_access_key_id = changeme
aws_secret_access_key = changeme
Export the profile name
export AWS_PROFILE_NAME=amaysim
Make sure Ruby and Bundler is installed.
bundle install
Creating the stack.
bundle exec sfn create amaysim-app --file cluster
Updating the stack.
bundle exec sfn update amaysim-app --file cluster --defaults
Docker Compose support is provided to allow the application to run locally.
docker-compose build
docker-compose up
The web servers public port can be viewed.
docker-compose port app 80
Removal of the application is as follows.
docker-compose down -v
Deployments are as simple as destroying the instances and letting the auto scaling group recreate them.
The code pipeline is setup that all pushes to the master branch automatically cause Docker Hub to build a new image. Instances automatically pull the latest image therefore deploying the latest code.
Content type
Image
Digest
Size
142.3 MB
Last updated
over 8 years ago
docker pull mikelorant/amaysim-app