Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.38 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.38 KB

droidkfx.com

The portfolio site for Kyle Brown

TODO

Deployment

Deployment is handled in different ways depending on what you are deploying.

Frontend

The front end is deployed simply by synchronizing s3 with the front end directory. This can be done with the following command:

aws s3 sync ./site s3://www.droidkfx.com --delete

Infrastructure

This application infrastructure is deployed using AWS Cloudformation. The template is located in the cf directory. Check out what deployment would do by running the following command:

aws cloudformation deploy --template-file cf/droidkfx.com.yaml --stack-name droidkfx-com --capabilities CAPABILITY_IAM --no-execute-changeset

This creates a change set that can be reviewed before applying anything. You can see what changes would be made by running the command it displays after running the above. It will be something like:

aws cloudformation describe-change-set --change-set-name $arn

If you are happy with the changes you can use:

aws cloudformation execute-change-set --change-set-name $arn

If you are unhappy with them or if you no longer need the change set you can use the following command to delete the change set:

aws cloudformation delete-change-set --change-set-name $arn