gjyoungjr / serverlessguru_code_challenge

Creates a serverless microservice using the serverless framework. The microservice contains Lambda functions, API Gateway and Dynambo Db tables. It also provisions a multi-stage CI/CD Pipeline that automates deployment of the infrastructure.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

⚡️ Serverless Code Challenge

Background

This repo contains the solution to the Serverless Guru Code Challnge. The challenge is to create an AWS API Gateway CRUD REST API using the serverless framework IaC.

The serverless framework provision the following AWS Services below:

  1. REST API Gateway
  2. Lambda Functions
  3. DynamoDb Table
  4. Multi-Stage CI/CD Pipeline

The CI/CD Pipeline consists of the following 5 stages.

  • Source & Build Source & Build

  • Deploy to Dev & Prod Approval Deploy to Dev &  Prod Approval

  • Deploy to Prod Deploy to prod

Challenges

Some of the problems I encountered while solving the challenge are:

  • Determining the adequate IAM Policies needed for the Code Build Project while still trying to follow AWS least privilege principle
  • Understanding the syntax of the Serverless framework

About

Creates a serverless microservice using the serverless framework. The microservice contains Lambda functions, API Gateway and Dynambo Db tables. It also provisions a multi-stage CI/CD Pipeline that automates deployment of the infrastructure.


Languages

Language:JavaScript 96.3%Language:Shell 3.7%