Preconfigured Platform AWS EB
📚 Learn more about AWS Elastic Beanstalk action features, integrations and alternatives.
Buddy turns deployments into a breeze, allowing you to update your Elastic Beanstalk applications on every push to branch. You can also deploy manually on click, or recurrently on time intervals.
Example Buddy pipeline with Elastic Beanstalk
Configure AWS permissions
- Log in to your AWS account and go to IAM → Users
- Click Add user and fill in the details. Make sure to check the Programmatic access type.
- On the permissions page switch to Attach existing policies directly.
- Click Create Policy and add the following policies for your service:
elasticbeanstalk:DescribeApplications
elasticbeanstalk:DescribeEnvironments
elasticbeanstalk:CreateApplicationVersion
elasticbeanstalk:DescribeApplicationVersions
elasticbeanstalk:UpdateApplication
elasticbeanstalk:UpdateEnvironment
elasticbeanstalk:UpdateApplicationVersion
s3:CreateBucket
s3:PutObject
s3:CopyObject
s3:GetObject
s3:GetObjectAcl
s3:GetObjectMetadata
s3:ListBucket
s3:ListBuckets
s3:ListObjects
cloudformation:GetTemplate
Elastic Beanstalk configuration
Configure Elastic Beanstalk action
- Create a new project, select your Git provider and choose the repository with your project.
- Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy.
- Look up and click Elastic Beanstalk on the action list:
AWS actions roster in Buddy
- Configure AWS integration:
- enter the name of your integration
- paste the Access and Secret keys that you copied from the AWS console
Adding an AWS integration
- Configure action details:
- select your AWS region, Application and Environment where you want to upload your files
AWS Elastic Beanstak action configuration
- select your AWS region, Application and Environment where you want to upload your files
- When ready, click Add this action to finish configuration.
[Option] Configure Monitoring action
Uploading files to Elastic Beanstalk doesn't have to mean that the deployment was successful. For example, the latest changes might might cause the application not to install properly.
To make sure everything is okay you can add the Elastic Beanstalk Monitoring action. It will check if the new version of the app has successfully started:
AWS Beanstalk monitoring action
What you need to know
- You can enter custom Version label for your Elastic Beanstalk registry. By default, the version is
$BUDDY_PROJECT_NAME_ID-$BUDDY_ACTION_ID-$BUDDY_EXECUTION_REVISION
. - Select Repository as the Source to deploy only the files from your repository. If you use build actions, select Pipeline Filesystem as the Source to add artifacts, processed files & uploaded static files.
- You can use environment variables to store authentication details to your servers.
- You can use Ignore paths to exclude files for deployment in More Options.
Last modified on April 26, 2022