Deploy to Amazon Lambda

If you are new to Buddy, check out our quickstart guides that will tell you how to build, test and deploy your type of application.

📚 Learn more about Amazon Lambda Deploy action features, integrations and alternatives.

Buddy turns deployments into a breeze, allowing you to deploy your function code on every push to branch. You can also deploy manually on click, or recurrently on time intervals.

Example Lambda pipelineExample Lambda pipeline

Configure AWS permissions

  1. Log in to your AWS account and go to IAM → Users.
  2. Click Add 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.
  4. Click Create Policy and add the following policies:
lambda:ListFunctions
lambda:InvokeFunction

AWS Lambda configurationAWS Lambda configuration

Once you create the user, make sure to copy the Access key and Secret key. You will need them to add the AWS integration to Buddy.

Configure Lambda Deploy action

  1. Create a new project, select your Git provider and choose the repository with your project
  2. Add a new pipeline and configure the details: name, trigger mode, and branch from which you want to deploy
  3. Look up and click Lambda Deploy on the action list:

Buddy roster of AWS actionsBuddy roster of AWS actions

  1. Configure 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

  1. Configure action details:

    • provide the path to the files that you want to deploy
    • Select your region, account and function to invoke

AWS Lambda action configurationAWS Lambda action configuration

  1. When ready, click Add this action to finish configuration.

What you need to know

  • 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

Get Started

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