This is a demo CodeDeploy Tomcat Hello World Application used to test various concepts of the CodeDeploy service.
- Create EC2 instance and attach Iam instance role which has access to S3 bucket used in below command.
- Create CodeDeploy application, DeploymentGroup.
- Download the code and execute below command.
aws deploy push --application-name APPLICATION-NAME --s3-location s3://S3-BUCKET-NAME/ZIP-FILE-NAME --source .
Note :- ZIP-FILE-NAME :- aws deploy will bundle all the files in current directory and will push it to S3 with this name.
Test Commit for Application Deployment