Continuous Deployment using Jenkins and Opswork integration Continuous Deployment using Jenkins and Opswork integration jenkins jenkins

Continuous Deployment using Jenkins and Opswork integration


I do this by calling the CLI tool in a Jenkins project. Something like this:

aws opsworks --region us-east-1 create-deployment --stack-id <your id> --app-id <your app id> --command "{\"Name\":\"deploy\"}"

You can find the IDs in your stack configuration.


If you want to do continuous deployment then you can use AWS CodeDeploy also instead of Jenkins.


You can now integrate OpsWorks into a CodePipeline:https://aws.amazon.com/about-aws/whats-new/2016/06/aws-codepipeline-adds-integration-with-aws-opsworks/

This lets you automate the release of updated application code and Chef cookbooks to your applications and instances running in OpsWorks.

This allows you to implement CD into your OpsWorks stack, with or without Jenkins.