Raj Sharma
Raj Sharma

Reputation: 91

How to automate the deployment from s3 bucket to an ec2 instance by using aws CodeDeploy?

a war file will be uploaded to S3 bucket, Requirement is when a new war file is uploaded to s3 bucket it should be deployed automatically to an ec2 instance through AWS CodeDeploy.

Upvotes: 1

Views: 2872

Answers (1)

broun
broun

Reputation: 2593

You can create an AWS CodePipeline to trigger AWS CodeDeploy deployments based on updates to S3 resource. You can refer the sample pipeline creation described here https://docs.aws.amazon.com/codepipeline/latest/userguide/tutorials-simple-s3.html.

Upvotes: 1

Related Questions