4. What you’ll learn
about
- Designing an API with Swagger
- Walkthrough of API and Lambda functions
- Integrating a custom SDK into your app
- Creating another lambda function and configuring it
- Using a CDN to make the frontend faster
- Using a free SSL certificate
5. Swagger as an API
management tool
Swagger is a very popular open source framework for working
with APIs.
Why bother with Swagger?
What is Swagger?
- Generate documentation
- Generate boilerplate code for many frameworks
- API testing
6. “Wait a minute… Swagger? I
thought that LambdaTV was
about serverless on AWS”
7. Why bother with
Swagger when working
with API Gateway?
- API Gateway supports integration for Swagger.
- Can import/Export Swagger configuration.
- More fun to work with Swagger than the admin console.
- Independent of AWS
32. CloudFront
Make the site faster using CloudFront,
Amazon’s CDN
Create a distribution:
Click Get Started under Web delivery method:
33. CloudFront
Configure your first distribution
Enter the Origin Domain Name exactly in this format, not the one suggested in the dropdown:
BUCKET_NAME.s3-website-BUCKET_REGION.amazonaws.com
Choose Yes for Compress Objects Automatically
56. Recap - Frontend that loads very fast for a global
audience
- Frontend delivered securely over https… with a
free SSL certificate on your own domain
- Your backend that’s also "infinitely" scalable.
- Both logic and data tiers are also secured on the
backend.
- Your website is always serving customers with no
server maintenance bullshit whatsoever.
57. If you want the written
guide, incl. links:
https://www.lambdatv.com/Your-second-serverless-multi-tier-web-app-o
n-AWS-part-2