Demo repository for setting up CI/CD for AWS Lambda

Introduction

This repository contains whole scenario to follow.
Some of actions need to be taken separately, some of them might be not described here in full detail.
In this case, please follow official AWS documentation.

Github, CodeCommit

To run this tutorial, the repository must be located in CodeCommit. This repository is in Github in order to make it easier to download.
Of course, the code can be run from Github, CodePipeline has good integration.

Scenario

Workshop scenario is simple. Small lambda function will be deployed to AWS using AWS CodePipeline.

Resources

Resources used during this workshop

  • Python (to build Lambda function)
  • AWS IAM
  • AWS CLoudWatch Events
  • AWS Lambda
  • AWS API Gateway
  • AWS CodeCommit
  • AWS CodeBuild
  • AWS CodeDeploy
  • AWS SNS

Documentation and all steps

In order to run the lab, please follow the tutorial

  1. Initialization
  2. Repository initialization
  3. Setup CodePipeline
  4. Code updates