This is a preview lesson from my cohort-based workshop, "Production-Ready Serverless". If you liked this, then please check out the full curriculum at productionreadyserverless.com. You can get 15% OFF with the code "TH-cam15" during checkout. Hope to see you there!
You can still implement auth within the service itself that is being hosted by Lambda. Please also note that CloudFront can also be expensive at scale.
Yes, but implementing auth inside the function itself is highly inefficient - you need to implement your own caching layer (and pay for that) and you still end up pay for unauthorized requests (compared to API Gateway where unauthorized requests are not charged, and you can use WAF to block requests with missing Authorization headers, etc.) I should have probably mentioned those in the video, well spotted :-)
This is a preview lesson from my cohort-based workshop, "Production-Ready Serverless". If you liked this, then please check out the full curriculum at productionreadyserverless.com.
You can get 15% OFF with the code "TH-cam15" during checkout.
Hope to see you there!
Thanks for the video. Loved your indepth analysis on it...
awesome content, thanks for the post.
Thank you, glad you liked it!
You can still implement auth within the service itself that is being hosted by Lambda. Please also note that CloudFront can also be expensive at scale.
Yes, but implementing auth inside the function itself is highly inefficient - you need to implement your own caching layer (and pay for that) and you still end up pay for unauthorized requests (compared to API Gateway where unauthorized requests are not charged, and you can use WAF to block requests with missing Authorization headers, etc.) I should have probably mentioned those in the video, well spotted :-)
Thx