Golang Microservices - How to Make a Golang Lambda Function

Subscribers:
8,420
Published on ● Video Link: https://www.youtube.com/watch?v=2wGKtdc2rKw



Category:
Tutorial
Duration: 8:15
354 views
3


Blog:
https://www.valhallaresearch.net/golang-lambda-function-microservices/

Build one-liner (Windows - Requires 7Zip):
set GOOS=linux&& set GOARCH=amd64&& go build -o ./tmp/main main && 7z a ./tmp/main.zip ./tmp/main && aws lambda update-function-code --function-name TestFunctionForBlog --region us-east-2 --zip-file fileb://./tmp/main.zip

Build one-liner (MacOS and Maybe Linux?):
env GOOS=linux GOARCH=amd64 go build -o ./tmp/main main && zip -j ./tmp/main.zip ./tmp/main && aws lambda update-function-code --function-name TestFunctionForBlog --region us-east-2 --zip-file fileb://.//tmp/main.zip

Lambda functions and Golang go hand in hand. They really rock. In this video, we're going to set up a dead simple Golang Lambda function, from code to (dumb) CI/CD and more!
--
Twitter:
https://twitter.com/valhalla_dev

Blog:
valhallaresearch.net
--
#software #golang #aws







Tags:
aws
aws lambda
golang
aws tutorial
aws cloud
aws training
golang lambda functions
aws lambda golang
how to set up golang lambda functions