Knowledge

How to deploy files to Elastic Beanstalk?

Elastic Beanstalk lets developers host and manage applications in the AWS cloud without worrying about the infrastructure. In order to make it work you first need to grant permissions to your AWS EB account:

Configure AWS permissions

  1. Log in to your AWS account and go to IAMUsers
  2. Click Add a new user and fill in the details. Make sure to check the Programmatic access type.
  3. On the permissions page switch to Attach existing policies directly and check the following policies:

    AWSElasticBeanstalkFullAccess
    
  4. Once the user is created, make sure to copy the Access key and Secret key.

Configuring AWS permissions
Configuring AWS permissions

Configure ElasticBeanstalk action

  1. Create/update a pipeline in Buddy and click the Elastic Beanstalk action
  2. Paste the previously copied keys to activate the AWS integration
  3. Select your AWS region, Application and Environment where you want to upload your files
  4. Click Test connection & add action to save changes
Configuring EB deployment
Configuring EB deployment

Clicking More options will expand additional settings where you can:

  • Enter custom Version label for your ElasticBeanstalk registry. By default the version is ${project.url}-{action.id}-{execution.to_revision.revision}
  • Select the conditions when the action should be run. You can also set them by dragging the action on the pipeline view
  • Enter custom name for the action
Download On-Premises Installation
esc

Sign up for free

No setup fees. No requirements. No obligation.

or sign up with