How to
In this page find the how to:
Deploy the server
Change app and versioning
How to deploy the server
When you will have the correct IAM credentials, you will be able to install and push the script on EWS to deploy the server.
you need to have the latest version of AWS CLI installed in your machine -> https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
create a .yml file ( example: cloudformation.yml) local add the YAML code from this script: https://devops.stefanogramm.com/devops/ship#yaml-deployment-file
run the command and name your deployment stack name (
--stack-name <name>
) that you ( and the team) will be able to recognize:aws cloudformation create-stack --stack-name stefano --template-body file://cloudformation.yml
Check the status of the deployment run on your terminal:
while true; do clear; aws cloudformation describe-stack-events --stack-name stefano; sleep 5; done
You can directly git clone the whole project from here, that will have the requirement template and application: https://github.com/stefanogram/docker-aws
git clone https://github.com/stefanogram/docker-aws
How to deploy a new version of the app.
pull the repo locally from GitHub:
# Download GitHub repo local in your PC.
git clone https://github.com/stefanogram/docker-aws
# check the status
git pull .
Do any changes on the code and also change the version

Create a new PR ( Pull Request ) make sure to add a description what you changed and why, and wait to get your PR approved
See live your change once the PR approved from a Senior Engineer responsible for this project
You can also check the workflows: https://github.com/stefanogram/docker-aws/actions
Find the whole project on https://github.com/stefanogram/docker-aws
Last updated
Was this helpful?