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 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
- Create a new project in Buddy and select your Git provider:
Image loading...[画像:Creating a new project]
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
Image loading...[画像:Adding 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.
- Look up AWS on the action list and click AWS CodeDeploy to add it to the pipeline:
Image loading...[画像:Amazon Web Services actions]
- 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 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.
- When ready, click Add this action to finish configuration.
Success
Congratulations – you have just put AWS CodeDeploy on autopilot! 🥳
Last modified on Jan 29, 2025