Тёмный

Your First AWS Lambda Function with Go 

Brian Morrison
Подписаться 4,7 тыс.
Просмотров 17 тыс.
50% 1

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....
🔴 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.freecodeca...
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!

Наука

Опубликовано:

 

28 мар 2022

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 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.
@anhtramnguyen2469
@anhtramnguyen2469 Год назад
good video, quick to the point. Thanks!
@brianmmdev
@brianmmdev Год назад
Glad it was helpful!
@jeanjacquesbarros
@jeanjacquesbarros Год назад
Thank you! I was trying to run my lambda but I gave some errors, this video helped me a lot!
@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
@roberto_camp
@roberto_camp Год назад
Good stuff Brian!
@brianmmdev
@brianmmdev Год назад
Appreciate it!!!
@sudarsan333
@sudarsan333 10 месяцев назад
Thanks bro..this video help me very much
@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
@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.
@hanzladev
@hanzladev 2 года назад
Great video, keep up the good work ✨🎉
@brianmmdev
@brianmmdev 2 года назад
Thank you so much!
@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
@keerthanas1877
@keerthanas1877 Год назад
While Test the file it shows calling the invoke Api action failed with signature expaired
@chuckzhai6408
@chuckzhai6408 2 года назад
Thanks your work very much. ❤️
@brianmmdev
@brianmmdev 2 года назад
You're welcome 😊
@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
@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.
@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
@SabbirAhmed-ev4rz
@SabbirAhmed-ev4rz Год назад
I am facing en error on importing packages
@brianmmdev
@brianmmdev Год назад
What's the error?
Далее
GO without SERVERS? How to Deploy Go to Lambda
15:47
Просмотров 17 тыс.
This Will Make Everyone Understand Golang Interfaces
21:03
Why I Use Golang In 2024
9:21
Просмотров 288 тыс.
The One BIG Reason to Learn Google's Go Language
17:55
Просмотров 157 тыс.
Learn Go in 12 Minutes
13:34
Просмотров 944 тыс.