SlideShare a Scribd company logo
Jeshan G. BABOOA
Your second multi-tier
serverless architecture on AWS
Recap
Previous video:
What you’ll learn about
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
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
“Wait a minute… Swagger? I
thought that LambdaTV was
about serverless on AWS”
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
Walkthrough
Same function and
table
Designing the API
Use the Swagger editor
editor.swagger.io
Swagger editor
Invoke your API
Swagger editor
Generate boilerplate
Swagger Editor: Examples
editor2.swagger.io (old one)
Swagger spec
Basic stuff
Swagger spec
Paths
Swagger spec
Models
Swagger spec
Consider setting type formats
Swagger with API
Gateway
Import on multi-tier
https://console.aws.amazon.com/apigateway
Swagger with API
Gateway
Paste in the editor
Swagger with API Gateway: Import warnings
API Gateway: After importing a Swagger definition
API Gateway
Define your endpoints
Swagger with API
Gateway, revisited
Swagger with API
Gateway, revisited
The docs too
API Gateway
Our lambda
function
API Gateway
Check properties properly
API Gateway: Add a mapping template
API Gateway
Add a mapping template
API Gateway
Add the other mapping templates
API Gateway
Deploy API
CloudFront
Make the site faster using CloudFront,
Amazon’s CDN
Create a distribution:
Click Get Started under Web delivery method:
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
Cloudfront: Finalise creating the distribution
Cloudfront: Finalise creating the distribution
Your site is now ready
"You’re not seriously telling
me to give my users such a
domain to type… are you?"
Cloudfront
Edit the distribution
Cloudfront
Using our own domain
Cloudfront
Enforce HTTPS
Cloudfront
Enforce HTTPS
Configure DNS
Cloudfront
Get a free SSL certificate
Certificate
Manager
Verify your domain
Confirm domain
verification
Certificate Manager: Your certificates
https://console.aws.amazon.com/acm/home?region=us-east-1#/
Cloudfront
Use our certificate
Cloudfront: Status
Our site
On our domain
Our site
With a certificate on our name :)
"Is my site really
faster now?"
https://developers.google.com/speed/pagespeed/insights
PageSpeed tool
Without CDN
PageSpeed tool
With CDN
Automate this
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.
If you want the written
guide, incl. links:
https://www.lambdatv.com/Your-second-serverless-multi-tier-web-app-o
n-AWS-part-2
Thanks!
Jeshan G. Babooa
lambdatv.com

More Related Content

PDF
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
PDF
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
PDF
AWS Community Day Bangkok 2019 - Hello ClaudiaJS
PDF
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
PDF
Serverless WordPress using AWS Services - WordCamp Atlanta 2017
PPTX
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
PDF
Building A Dynamic Website - 31st Jan 2015
PDF
Meeyup aws-loadbalancing-28032015
AWS Community Day Bangkok 2019 - Build a Serverless Web Application in 30 mins
AWS Community Day Bangkok 2019 - Dev Ops Philosophy Increase Productivity
AWS Community Day Bangkok 2019 - Hello ClaudiaJS
AWS Community Day Bangkok 2019 - Building & Deploying AWS Lambda with Serverl...
Serverless WordPress using AWS Services - WordCamp Atlanta 2017
AWS Community Day Bangkok 2019 - DevOps Cost Reduction using Jenkins & AWS Sp...
Building A Dynamic Website - 31st Jan 2015
Meeyup aws-loadbalancing-28032015

What's hot (14)

PDF
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
PDF
Ruby on Rails and AWS Elastic Beanstalk
PDF
A real-life account of moving 100% to a public cloud
PDF
How to copy multiple files from local to aws s3 bucket using aws cli
PDF
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...
PDF
Storing, Managing, and Deploying Docker Container Images with Amazon ECR
PPTX
Serverless
PDF
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
PDF
Continuous delivery in AWS
PPTX
Mtbc cloud ehr
PDF
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
PDF
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
PPTX
White rabbit game cloud deployment architecture
PDF
IDI 2020 - Containers Meet Serverless
Scaling your web app horizontally and vertically (ahmedabad amazon aws cloud...
Ruby on Rails and AWS Elastic Beanstalk
A real-life account of moving 100% to a public cloud
How to copy multiple files from local to aws s3 bucket using aws cli
Using Amazon CloudWatch Events, AWS Lambda and Spark Streaming to Process EC...
Storing, Managing, and Deploying Docker Container Images with Amazon ECR
Serverless
"AWS Fargate: Containerization meets Serverless" at AWS User Group Cologne 20...
Continuous delivery in AWS
Mtbc cloud ehr
Ruby Conference Belarus 2019 Apr Jets Ruby Serverless Framework
ContainerDay 2020 - Using Docker as a frontend for Amazon ECS and AWS Fargate
White rabbit game cloud deployment architecture
IDI 2020 - Containers Meet Serverless
Ad

Similar to Your Second multi-tier Serverless Architecture on AWS (20)

PDF
AWS re:Invent 2020 Serverless Recap
PDF
Girish Bhatia: 2024 CommunityDay AWS Lambda develop locally with SAM, Docker ...
PDF
Serverless Development To Production Pipeline
PDF
McrUmbMeetup 22 May 14: Umbraco and Amazon
PDF
Integrating Jira Software Cloud With the AWS Code Suite
PDF
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
PDF
"Automating AWS Infrastructure with PowerShell", Martin Beeby, AWS Dev Day Ky...
PDF
An introduction to serverless architectures (February 2017)
PDF
Shipping to Server and Cloud with Docker
PDF
Serverless Framework Workshop - Tyler Hendrickson, Chicago/burbs
PPTX
Azure Static Web Apps
PDF
IaC on AWS Cloud
PDF
CI CD using AWS Developer Tools Online Workshop
PDF
From Docker Straight to AWS
PDF
Infrastructure as Code on AWS
PDF
AWS S3 Static Website Hosting and CICD Pipeline using GitHub.pdf
PDF
AWS Serverless Workshop
PDF
Serverless Day Zero: How to Serveless [July 2019]
PPTX
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
PPTX
AWS re:Invent 2020 Serverless Recap
Girish Bhatia: 2024 CommunityDay AWS Lambda develop locally with SAM, Docker ...
Serverless Development To Production Pipeline
McrUmbMeetup 22 May 14: Umbraco and Amazon
Integrating Jira Software Cloud With the AWS Code Suite
AWS Cloud Development Kit (CDK)를 이용한 코드 기반 인프라 개발 및 배포 - 공찬호(리얼리티매직) :: AWS C...
"Automating AWS Infrastructure with PowerShell", Martin Beeby, AWS Dev Day Ky...
An introduction to serverless architectures (February 2017)
Shipping to Server and Cloud with Docker
Serverless Framework Workshop - Tyler Hendrickson, Chicago/burbs
Azure Static Web Apps
IaC on AWS Cloud
CI CD using AWS Developer Tools Online Workshop
From Docker Straight to AWS
Infrastructure as Code on AWS
AWS S3 Static Website Hosting and CICD Pipeline using GitHub.pdf
AWS Serverless Workshop
Serverless Day Zero: How to Serveless [July 2019]
End-to-End CI/CD at scale with Infrastructure-as-Code on AWS
Ad

Recently uploaded (20)

PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Approach and Philosophy of On baking technology
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
Teaching material agriculture food technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
A Presentation on Artificial Intelligence
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
DOCX
The AUB Centre for AI in Media Proposal.docx
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Review of recent advances in non-invasive hemoglobin estimation
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Approach and Philosophy of On baking technology
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Network Security Unit 5.pdf for BCA BBA.
Dropbox Q2 2025 Financial Results & Investor Presentation
Teaching material agriculture food technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
The Rise and Fall of 3GPP – Time for a Sabbatical?
A Presentation on Artificial Intelligence
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
The AUB Centre for AI in Media Proposal.docx
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Chapter 3 Spatial Domain Image Processing.pdf

Your Second multi-tier Serverless Architecture on AWS