akraievoy / user-dob-rest-service

CloudFormed ApiGateway <-> Lambda <-> DynamoDB Stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To build and CloudForm this, you need:

  • bash, git, curl
  • AWS CLI 1.44.66+,
  • local AWS API Key able to command CloudFormation and IAM Roles
  • Docker 17.05+
  • approx 900MBytes of free disk space

Actions:

System diagram

System Diagram

The API is exposed via AWS API Gateway, which is integrated with Amazon Lambda Functions, which are reading/writing from/to DynamoDB table for persistence.

All of the below is references and relevant samples

References for used GoLang tooling

$ readelf -a main.built_in_alpine | grep Requesting
      [Requesting program interpreter: /lib/ld-musl-x86_64.so.1]
$ readelf -a main.built_in_ubuntu | grep Requesting
      [Requesting program interpreter: /lib64/ld-linux-x86-64.so.2]

Cloudforming API Gateway for Lambda

Cloudforming DynamoDB

CloudFormation

CI/CD maybes

API Gateway <-> Amazon Lambda

Old, not needed for lambda, rewrite/transform magick

Talking to DynamoDB:

Testing against local DynamoDB mock

Local Testing for AWS services + SAM

AWS Security Model

Custom CloudWatch Metrics

Alternatives to Lambda

Sparta

AWS CLI Goodness

About

CloudFormed ApiGateway <-> Lambda <-> DynamoDB Stack


Languages

Language:Shell 60.0%Language:Go 40.0%