Amazon Web Services integration
Amazon integrations the most popular type of integrations in Buddy. We are currently supporting 10 AWS integrations and are constantly adding more depending on community feedback.
Thanks to our predefined actions, you can create a pipeline that will, for example, automatically upload your repository files to the selected S3 bucket, run tests with a Lambda function, and purge your CloudFront cache while registering a new task definition with AWS ECS:
Pipeline example
Setting up AWS integration
Integrating Buddy with AWS can be performed in two ways: with Access & Secret keys, or by assuming a role with permissions to Buddy in the Amazon account.
Delegate role
- Log in to your AWS account and go to IAM → Roles.
- Click Create role:
Select Another AWS account as the type of trusted entity and set the Account ID to:
056014222594
For additional security, check Require external ID. Make sure to remember the secret as we are going to use it shortly.- Click Next: Permissions to proceed.
Select the policies that you want to assign to Buddy:
- Click Next: Tags to proceed.
- (Optional) Add IAM tags to your role if your workflow requires it:
- Click Next: Review to proceed.
- Check if everything is okay and click Create role to finish configuration. Make sure to copy the Role ARN:
- Go back to Buddy and choose the desired AWS action from the Amazon Web Services section:
Amazon Web Services actions
- Configure your AWS integration:
- enter the name of your integration
- paste the Role ARN and External ID from the AWS console
Adding AWS integration
Access & Secret keys
- 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.
Depending on what service you use on the permissions page switch to Attach existing policies directly and check proper policies.
- Once the user is created, switch to the Security credentials tab and create an Access Key:
Security credentials tab
- A pop-up will appear. Make sure to copy the Access key and Secret key:
Creating access key
- Go back to Buddy and choose the desired AWS action from the Amazon Web Services section:
Amazon Web Services actions
Configure your AWS integration:
- enter the name of your integration
paste the Access and Secret keys that you copied from the AWS console
Adding AWS integration
If you want Buddy to assume your delegated role upon logging with the keys, you can provide the role's ARN and External ID.Role assumption in key-based integration
Configure the action details. When ready, click Add this action to finish configuration.
Last modified on April 26, 2022