Sanchit Garg
Sanchit Garg

Reputation: 65

AWS Codedeploy: On multiple instance

Ques 1: I'm a new to codedeploy, I plan to deploy different services (S1 , S2 and S3) in order to a different instance under (EC1, EC2 and EC3) under one development Group. And all the services S1, S2 and S3 are present under same artifact directory on S3 bucket. Is it possible to do ?

Upvotes: 1

Views: 436

Answers (1)

strongjz
strongjz

Reputation: 4491

This is possible, you'll want 3 Codedeploy Applications, which will create 3 deployment groups. When it's time for deployment, it will ask for a specific s3 object,the artifact, to deploy.

Start here http://docs.aws.amazon.com/codedeploy/latest/userguide/applications.html

CLI example of pushing an app revision

aws deploy push \
  --application-name WordPress_App \
  --description "This is a revision for the application WordPress_App" \
  --ignore-hidden-files \
  --s3-location s3://codedeploydemobucket/WordPressApp.zip \
  --source .

Upvotes: 1

Related Questions