ZGAF

An SRE's Diary

Building a GoLang API in Lambda

Introduction In this tutorial we will install Amazon Web Services SAM(Serverless Application Model) for local go api development. This will allow us to test and debug our code without incurring any cost for AWS services. Before we get started you will need to install the aws-sam, docker, and golang. The scope of this tutorial will be limited to macOS and assuming you already have docker and golang installed. First we will install the aws-sam-cli with brew.