Deploy to AWS CodeDeploy

Buddy turns deployments into a breeze, allowing you to update your EC2 and self-hosted servers on a push to branch. You can also deploy manually on click, or recurrently on time intervals.

Image loading...Example pipeline with CodeDeployExample pipeline with CodeDeploy

Tip
If you are new to Buddy, check out our workflow guides that will tell you how to build, test and deploy your type of application.
Hint

📚 Learn more about CodeDeploy action features, integrations and alternatives.

Configure pipeline in Buddy

  1. Create a new project in Buddy and select your Git provider:

Image loading...Creating a new projectCreating a new project

  1. Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.

Image loading...Adding a new pipelineAdding a new pipeline

Configure AWS CodeDeploy deployment

Warning
Before you add the action, make sure that your AWS user has proper CodeDeploy permissions assigned and full programmatic access to AWS.
  1. Look up AWS on the action list and click AWS CodeDeploy to add it to the pipeline:

Image loading...Amazon Web Services actionsAmazon Web Services actions

  1. The action has four configuration tabs:
  • Deploy – here you select the AWS integration, target application, group, and config, and customize deployment behavior
  • Variables – here you can view your AWS integration variables, and create your own if required
  • Conditions – here you configure the trigger conditions for which the action will run
  • Options – here you define the action's name and behavior on failure and timeout

Image loading...AWS CodeDeploy action configurationAWS CodeDeploy action configuration

Tip
Checking 'Wait for CodeDeploy to complete deployment' will force the action to wait until AWS finishes the operation before marking it as successful/failed.
  1. When ready, click Add this action to finish configuration.
Success
Congratulations – you have just put AWS CodeDeploy on autopilot! 🥳
Last update:
Sep 24, 2024