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 examplePipeline example

Buddy is a pipeline delivery automation tool that integrates with Amazon services. Learn how to seamlessly introduce Buddy to your development workflow.

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.

For maximum security, we recommend delegating permissions with a role from the AWS console.

Delegate role

  1. Log in to your AWS account and go to IAM → Roles.
  2. Click Create role:
  3. 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.
  4. Click Next: Permissions to proceed.
  5. Select the policies that you want to assign to Buddy:

  6. Click Next: Tags to proceed.
  7. (Optional) Add IAM tags to your role if your workflow requires it:
  8. Click Next: Review to proceed.
  9. Check if everything is okay and click Create role to finish configuration. Make sure to copy the Role ARN:
  10. Go back to Buddy and choose the desired AWS action from the Amazon Web Services section: Amazon Web Services actionsAmazon Web Services actions
  11. Configure your AWS integration:
    • enter the name of your integration
    • paste the Role ARN and External ID from the AWS console Adding AWS integrationAdding AWS integration

Access & Secret keys

  1. Log in to your AWS account and go to IAM → Users.
  2. Click Add a new user and fill in the details. Make sure to check the Programmatic access type.
  3. Depending on what service you use on the permissions page switch to Attach existing policies directly and check proper policies.

  4. Once the user is created, switch to the Security credentials tab and create an Access Key: Security credentials tabSecurity credentials tab
  5. A pop-up will appear. Make sure to copy the Access key and Secret key: Creating access keyCreating access key
  6. Go back to Buddy and choose the desired AWS action from the Amazon Web Services section: Amazon Web Services actionsAmazon Web Services actions
  7. 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 integrationAdding 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 integrationRole assumption in key-based integration
  8. Configure the action details. When ready, click Add this action to finish configuration.

Last modified on April 26, 2022

Get Started

Sign up for free and deploy your project in less than 10 minutes.