Deploy to AWS Elastic Beanstalk

Buddy turns deployments into a breeze, allowing you to update your Elastic Beanstalk applications on a push to branch. You can also deploy manually on click, or recurrently on time intervals.

Image loading...Example pipeline with deployment to Elastic BeanstalkExample pipeline with deployment to Elastic Beanstalk

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 AWS Elastic Beanstalk 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 a branch from which you want to deploy.

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

Configure Elastic Beanstalk Action

Warning
Before you add the action, make sure that your AWS user has proper Elastic Beanstalk permissions assigned and full programmatic access to AWS.
  1. Look up and select the AWS ElasticBeanstalk action from the list:

Image loading...AWS actionsAWS actions

  1. The action has five configuration tabs:
  • Deploy – here you provide the source path, version label, bucket name, and define the files to ignore
  • Target – here you select the AWS integration, region, and target application and environment
  • 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 Elastic Beanstalk action configurationAWS Elastic Beanstalk action configuration

  1. When ready, click Add this action to finish configuration.

  2. (Optional) You can add the Elastic Beanstalk Monitoring action at the end of the pipeline that will check if the new version of the app has successfully started upon the deployment:

Image loading...AWS Elastic Beanstalk monitoring actionAWS Elastic Beanstalk monitoring action

Success
Congratulations! You have just automated your deployment to Elastic Beanstalk. 🥳
Last update:
Sep 24, 2024