SEND EMAILS FROM YOUR AWS LAMBDA FUNCTIONS (full tutorial using AWS SAM and DYNAMODB streams)

  Рет қаралды 9,862

FooBar Serverless

FooBar Serverless

3 жыл бұрын

In this video I show you how you can use a lambda function to send emails using the Amazon Simple Email Service. Also I will show you how to use DynamoDB streams.
★★ README / OPEN ME ★★
⭐ SUBSCRIBE TO THIS CHANNEL: bit.ly/foobar-youtube
⭐SHARE THIS VIDEO: [ • SEND EMAILS FROM YOUR ...
☆☆ ABOUT THIS VIDEO ☆☆
This is the second part of my video where I create a contact form using Amplify and now we want to send emails. In this video, we trigger a AWS Lambda functions using DynamoDB streams. That Lambda function will use the AWS SDK to send an email using Amazon SES. All of the things are done using infra as code and AWS SAM.
Watch the first video: • BUILD A CONTACT FORM W...
Get the code: github.com/mavi888/contact-fo...
#foobar #serverless
☆☆ FOLLOW ME ONLINE ☆☆
🐦Twitter: / mavi888uy
📷Instagram: foobar_codes
📚All my Serverless Courses: marcia.dev/courses/
✍️My blog - marcia.dev
☆☆ MY FAVORITE BOOKS ☆☆
📗Steve Jobs by Isaacson, Walter: amzn.to/2GDQxtY
📗Shoe Dog: A Memoir by the Creator of NIKE by Knight, Phil: amzn.to/2RKy4lJ
📗Sapiens: A Brief History of Humankind by Harari, Yuval Noah: amzn.to/2GHni9J
📘Full-stack serverless by Nader Dabit: amzn.to/3ep2qUV
📘Learn Amazon SageMaker by Julien Simon: amzn.to/37X0q4R
📘Site reliability engineer by Niall Richard Murphy: amzn.to/32gEoqj
📘The Software Craftsman by Mancuso, Sandro: amzn.to/2uOLQuI
📘The Phoenix Project by Kim, Gene: amzn.to/2uNIS9Y
📘Clean Code by Uncle Bob: amzn.to/36LDGAo
📘Refactoring: Improving the Design of Existing Code by Martin Fowler: amzn.to/2RKLsqd
📘Building Microservices by Sam Newman: amzn.to/36GItmJ
☆☆ ABOUT FOOBAR ☆☆
In this channel, you can find mostly coding tutorials related to cloud and serverless.
In addition, I like also talking about architecture, software design, motivation, and leadership.
There is a new video every Tuesday, so stay tuned :)
Recording equipment:
📹Camera: amzn.to/36On0bE
📱Phone: amzn.to/2GDOTsq
🎤 Microphone: amzn.to/36JMWFw
🔭 Tripod: amzn.to/2tifxEb
If you want to create a podcast and host it in the same platform that I do check this link: www.buzzsprout.com/?referrer_...

Пікірлер: 24
@zainafzal7461
@zainafzal7461 3 жыл бұрын
Thanks for this Marcia. Will be using this for my blog
@felipealtamirano9948
@felipealtamirano9948 3 жыл бұрын
Muchas gracias por este video!! muy interesante para quienes nos estamos iniciando en el mundo AWS
@foobar_codes
@foobar_codes 3 жыл бұрын
gracias
@WhiteSiroi
@WhiteSiroi Жыл бұрын
thank you so much, very helpful
@kylebloyd2015
@kylebloyd2015 2 жыл бұрын
Thank you so much
@foobar_codes
@foobar_codes 2 жыл бұрын
Glad it helped!
@muhammadaijaz2487
@muhammadaijaz2487 3 жыл бұрын
Thanks for creating this amazing tutorial and one more thing if you create a tutorial on video streaming with kinesis or any. Thanks
@foobar_codes
@foobar_codes 3 жыл бұрын
Noted!
@ayeshamussarath3506
@ayeshamussarath3506 10 ай бұрын
Hey Marcia, I saw a couple of videos on SES but I really liked your simple version. I am gonna try it out now. Hope it comes all as a cake. Also, I have a specific email format with an image header or banner. How do I incorporate such one?
@remzfernandez5027
@remzfernandez5027 Жыл бұрын
Thanks!
@carlosbat5493
@carlosbat5493 3 жыл бұрын
Hola Marcia, excellent video. I would like to see kind of the same use case but from amplify instead of sam. Something like add a function to amplify that runs like a cron job do some analysis to your data and then send an email. Saludos!
@codingexpedition4625
@codingexpedition4625 3 жыл бұрын
That extension looks super handy. Which vscode extension are you using to view the logs and dynamodb items?
@RajSingh-oi5sx
@RajSingh-oi5sx 2 жыл бұрын
Hello Marcia, Thanks for such a wonderful video. I have setup everything as stated in the video. Data is getting inserted into dynamoDB table but user don't get email. I believe DynamoDBStream is not triggering lambda fn. Update- Please ignore above comment. There were a few errors in the handler.js file which I modified for our use case. Code is running perfectly. Now the issue we are facing- It sends email for every record in DynamoDb table however, we only want an email to be triggered for the latest insert/update. Any suggestions? Thanks.
@geetchoubey1472
@geetchoubey1472 3 жыл бұрын
Hey! Quick question: Does AWS charge us for any read/write units for using DDB streams?
@foobar_codes
@foobar_codes 3 жыл бұрын
You can find information here about pricing aws.amazon.com/dynamodb/pricing/on-demand/
@ngneerin
@ngneerin 3 жыл бұрын
Helllllooooo waaaarlld and welcaaaam too aaanaaadaar epeesod of fooooba
@foobar_codes
@foobar_codes 3 жыл бұрын
you got it perfectly! :)
@b4tch3r
@b4tch3r 3 жыл бұрын
Sounds like me if I need to speak english. With my native accent (german) this can be tough. ;D Last but not least, you share great knowledge and you try to speak english even with an accent. Keep on, you're doing good stuff. Cheers Steven
@foobar_codes
@foobar_codes 3 жыл бұрын
Accents are cool. Everyone has an accent 🌸
@ngneerin
@ngneerin 3 жыл бұрын
It's a good intro. Stands you out. You are remembered very well because of it
@IAMTHEMUSK
@IAMTHEMUSK 3 жыл бұрын
How can I send emails to not verified emails? If my guests users are subscribing to newsletter for example? EDIT : by default aws creates you a sandbox, which allows you to test your system. This sandbox can send emails to emails you will verify yourself, in order to prevent fraud and abuse. Once your system is ready, then you have to contact them to be able to play out of the sandbox. Of course you will be limited at the beginning. Hope this helped.
@maneeshkumarv7764
@maneeshkumarv7764 3 жыл бұрын
how to send mail to capturing emails from the form....who is not verified.. i have prodution access enabled... where do i need to specify to address details that i got from form data..
@IAMTHEMUSK
@IAMTHEMUSK 3 жыл бұрын
@@maneeshkumarv7764 I send mails through lambda. You need to provide ses access to your lambda
@numpyasnum1768
@numpyasnum1768 Жыл бұрын
Let’s assume this was a company’s contact form, so you’re sending an email from the company’s email to the company’s second email, i don’t get it, isn’t that redundant
DECOUPLE THE CONFIGURATION OF YOUR SERVERLESS APP WITH APPCONFIG
18:58
FooBar Serverless
Рет қаралды 6 М.
WHAT IS THE DIFFERENCE? - SQS / SNS / EVENTBRIDGE / KINESIS
20:57
FooBar Serverless
Рет қаралды 14 М.
Schoolboy - Часть 2
00:12
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 9 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 10 МЛН
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Savage Vlogs
Рет қаралды 12 МЛН
SES (Sending Emails)[2024]- AWS CDK using TypeScript
41:51
Faruk Ada
Рет қаралды 29 М.
AWS DynamoDB Streams to Lambda Tutorial in Python | Step by Step Guide
21:53
How to send an email with Amazon SES and Serverless - tutorial
20:02
Complete Coding - Master AWS Serverless
Рет қаралды 26 М.
Develop Lambdas And Debug Them Locally Using SAM
52:03
ProgrammingPercy
Рет қаралды 3,4 М.
Bluetooth connected successfully 💯💯
0:16
Blue ice Comedy
Рет қаралды 2,1 МЛН
Какой ноутбук взять для учёбы? #msi #rtx4090 #laptop #юмор #игровой #apple #shorts
0:18
Что делать если в телефон попала вода?
0:17
Лена Тропоцел
Рет қаралды 3,5 МЛН
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1,1 МЛН