Basic CI/CD pipeline for serverless apps

Click for: original source

For deploying her applications, Emily have a CI/CD pipeline that uses the AWS Serverless Application Model (SAM), GitHub, and CircleCI. In this post author will show you how to set it up. Many people get started with serverless by using the AWS console. By Emily Shea.

While it’s helpful to start, building directly in the console can get tricky as you run into issues like keeping track of your Lambda function code edits or making manual, repetitive configuration changes to resources.

In order to build more complex applications and keep your sanity, a CI/CD pipeline will be a big help. A CI/CD pipeline will take you out of the console and allow you to store and update function code, configure resources, and deploy entire applications from right within your text editor. It is as magical as it sounds.

Content of this article:

  • Set up your development environment
  • Fork my example repo and clone to your computer
  • Create a CircleCI account and set up a new project
  • Give CircleCI AWS permissions
  • Review SAM template and function code
  • Create an S3 bucket for your deployment package
  • Managing secrets in your CI/CD pipeline
  • Deploy & test out your application

You will also get handful fo screen shots, commands and code examples explaining the concept. And the list of tools you will be working with. Very insightful!

[Read More]

Tags serverless lambda cicd web-development continuous-delivery