No video

Your First AWS Lambda Function with Go

  Рет қаралды 16,767

Brian Morrison

Brian Morrison

2 жыл бұрын

Learn how to build your first Lambda Function with Go! We'll create a basic hello-world function from scratch, upload it to AWS, and test it within our browser. This is the first in a series of videos on building a Serverless API in AWS with Go!
▪ Website Link: brianmorrison.me/blog/your-fi...
🔴 Subscribe today!
/ @brianmmdev
👋 Connect w/me:
▪ Twitter: / brianmmdev
▪ Website: brianmorrison.me
▪ Twitch: / brianmmdev
__________________________________________
🖥 My Rig
▪ CoolerMaster MB511: amzn.to/2AZfPUc
▪ GIGABYTE X570 AORUS Elite Wifi: amzn.to/2AZijlt
▪ Sabrent 1TB Rocket: amzn.to/316zIDy
▪ Corsair Vengeance RGB Pro 64GB: amzn.to/3epbybf
▪ AMD Ryzen 9 3900X: amzn.to/2CxwYov
▪ ASUS ROG STRIX GeForce GTX 1080: amzn.to/3hYuEar
__________________________________________
🎥 Streaming Gear
▪ SteelSeries Arctis 7: amzn.to/3hOUpJX
▪ Elgato Game Capture HD60 Pro: amzn.to/2V8nTc8
▪ Logitech C922x Pro Stream: amzn.to/2V7PKZY
▪ TaoTronics Camera Light: amzn.to/37QI4Ax
▪ InnoGear Microphone Arm: amzn.to/37Ql8Bk
▪ Audio-Technica AT2005USB: amzn.to/3ajIuRh
__________________________________________
⏯ My Coding Series'
▪ Coding NodeJS APIs: • Coding NodeJS APIs
▪ Coding Discord Bots: • Coding Discord Bots
__________________________________________
📚 Other Excellent Learning Resources
▪ freeCodeCamp: www.freecodecamp.org/
Please note that links in this description may or may not be affiliate links, where I make a small commission if used.
Thanks For Watching!

Пікірлер: 32
@diegorocha2186
@diegorocha2186 Жыл бұрын
Just as a note in 7:51 the runtime handler is not the name of the function entry point, but the name of the executable generated by go build command. For example if you run "go build something" the runtime handler must be "something".
@fuexfollets5755
@fuexfollets5755 9 ай бұрын
Your series is easily the best guide for aws lambda dn cognito usage. You talk clearly and detailed. Your tutorials are also very fast which helps a lot.
@jeanjacquesbarros
@jeanjacquesbarros Жыл бұрын
Thank you! I was trying to run my lambda but I gave some errors, this video helped me a lot!
@anhtramnguyen2469
@anhtramnguyen2469 Жыл бұрын
good video, quick to the point. Thanks!
@brianmmdev
@brianmmdev Жыл бұрын
Glad it was helpful!
@sudarsan333
@sudarsan333 10 ай бұрын
Thanks bro..this video help me very much
@hanzladev
@hanzladev 2 жыл бұрын
Great video, keep up the good work ✨🎉
@brianmmdev
@brianmmdev 2 жыл бұрын
Thank you so much!
@roberto_camp
@roberto_camp Жыл бұрын
Good stuff Brian!
@brianmmdev
@brianmmdev Жыл бұрын
Appreciate it!!!
@XfazXtudo
@XfazXtudo Жыл бұрын
Such a great channel ! Thanks for the video Could you make one for AWS gateway proxy with gin ? Couldn't find an updated one
@chuckzhai6408
@chuckzhai6408 2 жыл бұрын
Thanks your work very much. ❤️
@brianmmdev
@brianmmdev 2 жыл бұрын
You're welcome 😊
@KevinArellano
@KevinArellano Жыл бұрын
I followed your tutorial except the AWS console part. I just used Terraform since I very much dislike point and click lol. Great video though!!!
@brianmmdev
@brianmmdev Жыл бұрын
Glad it helped
@adairhz
@adairhz Жыл бұрын
Hey there! When I try to run my program locally, I get the following error: expected AWS Lambda environment variables [_LAMBDA_SERVER_PORT AWS_LAMBDA_RUNTIME_API] are not defined. I find this weird since the AWS Lambda documentation does not mention any env variables with these names, nor mentions this configuration step at any point. I already tried googling for it but I got no answers. Do you know if there's something I'm missing? Thanks in advance!
@brianmmdev
@brianmmdev Жыл бұрын
That is strange... honestly to do local testing, I use AWS SAM which kinda takes care of that logic. You might find some answers here: docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/welcome.html
@keerthanas1877
@keerthanas1877 Жыл бұрын
While Test the file it shows calling the invoke Api action failed with signature expaired
@VijayChintapandu
@VijayChintapandu 4 ай бұрын
Hey I couldn't find the Go in supported languages list. How can I find go in that list. there are Java, Node.js and Python versions. Please help me
@VijayChintapandu
@VijayChintapandu 4 ай бұрын
go it.. it's listed as OS-only runtimes
@sergeyagronov9650
@sergeyagronov9650 Жыл бұрын
the handler name is the file name, not the function name like u mentioned in 8:00
@sherifhmdy
@sherifhmdy Жыл бұрын
exactly it's the binary file name generated from the build command I believe. But anyway thanks a lot @Brian you helped me to create my first lambda function.
@user-ls8lm7bt9s
@user-ls8lm7bt9s Жыл бұрын
How can I pass parameters such as bucket name, path etc
@brianmmdev
@brianmmdev Жыл бұрын
If you're using an S3 event, you'd want to replace the event param with `s3Event events.S3Event`. I do this in my side project, you can see more here: github.com/GuardianForge/guardianforge.net/blob/0f6b41f1bcf28830557510496f8d3ea19939d06e/backend/stack/s3-handlers/create-og-image/main.go#L52C35-L52C57
@thisisreallyme3130
@thisisreallyme3130 Жыл бұрын
@BrianMorrison Lambda "Test" returned "fork/exec /var/task/main: exec format error: PathError null" when I built with v1.17 or v1.20. Log Events said "INIT_START Runtime Version: go:1.v15". OK I understand that, but.. How are you using v1.17 under Lambda in 2022, when in 2023 the steps in the video cause AWS to look for v1.15? Did you also customize something in Lambda (allowing 1.17) which wasn't covered here?
@brianmmdev
@brianmmdev Жыл бұрын
Nothing funny going on that wasn't covered. Maybe it's a regional thing? What region are you trying to deploy to?
@sravyadamera9090
@sravyadamera9090 Жыл бұрын
same with me . Did u find any solution?
@sravyadamera9090
@sravyadamera9090 Жыл бұрын
Let me know if u know solution for this error
@diegorocha2186
@diegorocha2186 Жыл бұрын
This problem is because in 7:51 he says that the handler name should be the name of the function entry point "main", but in reality it is the name of the executable generated after the go build process. For example if you create a go project named "lambda-something" and inside it you run "go build" the executable name is "lambda-something" so that is the name you should put in the runtime handler not main.
@SabbirAhmed-ev4rz
@SabbirAhmed-ev4rz Жыл бұрын
I am facing en error on importing packages
@brianmmdev
@brianmmdev Жыл бұрын
What's the error?
🔴 Building my CLI w/Go for Content Automation #wordpress #golang #notion
1:04:15
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 30 МЛН
Они так быстро убрались!
01:00
Аришнев
Рет қаралды 2,4 МЛН
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 20 МЛН
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 115 МЛН
Use API Gateway with Go Lambda Functions #aws #golang
12:29
Brian Morrison
Рет қаралды 9 М.
Why I Use Golang In 2024
9:21
ThePrimeTime
Рет қаралды 282 М.
Create Your First AWS Lambda Function | AWS Tutorial for Beginners
12:44
Tiny Technical Tutorials
Рет қаралды 135 М.
Deploy FastAPI on AWS Lambda ⚡ Serverless hosting!
22:24
pixegami
Рет қаралды 37 М.
GO without SERVERS? How to Deploy Go to Lambda
15:47
Melkey
Рет қаралды 17 М.
Introduction to AWS Lambda using Golang
24:26
Mathis Van Eetvelde
Рет қаралды 22 М.
Learn Go in 12 Minutes
13:34
Jake Wright
Рет қаралды 944 М.
I made my Lambda go faster - Go AWS Lambda Tutorial
22:39
CreativeJE
Рет қаралды 525
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 30 МЛН