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
- Log in to your AWS account and go to IAM → Users
- Click Add a new user and fill in the details. Make sure to check the Programmatic access type.
On the permissions page switch to Attach existing policies directly and check the following policies:
- Once the user is created, make sure to copy the Access key and Secret key.
Configure ElasticBeanstalk action
- Create/update a pipeline in Buddy and click the Elastic Beanstalk action
- Paste the previously copied keys to activate the AWS integration
- Select your AWS region, Application and Environment where you want to upload your files
- Click Test connection & add action to save changes
Clicking More options will expand additional settings where you can:
- Enter custom Version label for your ElasticBeanstalk registry. By default the version is
- 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