SlideShare a Scribd company logo
Deploying your Portfolio Site
with AWS Serverless
Dhaval Nagar
12x AWS Certified, AWS Serverless Hero
● 12x AWS, 2x GCP, Kubernetes Dev, Docker Certified
● AWS Serverless Hero - 2020
● AWS Certification Subject Matter Expert
● AWS Community Leader, Surat
● CEO - AppGambit (AWS Consulting Partner)
Agenda
● Introduction to Serverless
● AWS Serverless Services
● Use Case
● Demo
● Serverless @ Whizlab
● Summary
Session Level 100-200
Why Serverless!
● FOCUS on Business Logic
● Cloud provider MANAGES the Infrastructure, Service Availability,
Scalability, and Security
● Pay for what you CONSUME
Imagine Serverless!
https://www.mckinsey.com/business-functions/mckinsey-digital/our-insights/saas-open-source-and-serverless-a-winning-combination-to-build-and-scale-new-businesses
Half of new apps built inside of Amazon this year are
using Lambda!
@ re:Invent 2020, Andy Jassy, ex-CEO, AWS
https://aws.amazon.com/blogs/aws/reinvent-2020-liveblog-andy-jassy-keynote/
AWS Serverless Services
● Compute
○ Lambda, Lambda@Edge
○ Fargate
● Storage
○ S3
○ EFS
● Databases
○ DynamoDB
○ Aurora, RDS Proxy
● Proxy
○ API Gateway
● Integration
○ SQS, SNS
○ EventBridge
○ AppSync
● Authentication
○ Cognito
● Orchestration
○ Step Functions
● Analytics
○ Kinesis
○ Athena
● Developer Tools
○ SAM
○ CloudWatch, X-Ray
○ CodeBuild, CodeDeploy, CodePipeline
○ Cloud9 IDE
AWS Serverless Services
Q / A
Structure of a
Traditional Application
Application Structure
When everything is RUNNING
When something FAILS
When MANY users access
No User Requests
Our Use case - Hosting Portfolio Website
● Web Hosting
● Content Delivery Network
● DNS Registry
● APIs
● Database
● Email Notifications
AWS Services for Our Usecase
● S3 for Web Hosting
● CloudFront for Content Delivery Network
● Route53 for DNS Registry
● API Gateway for APIs
● DynamoDB for Database
● Pinpoint for Email Notifications
http://bit.ly/WhizlabsServerlessSite
Architecture Diagram
Lab Demo
by
Abhishek Maurya
Demo
Serverless at Whizlabs
● Whizlabs Labs Account Tooling
● Other automations
● Deletion code, to delete Created AWS resource by user
● Deletion CRON, to check and delete the remaining AWS resources
● Validation of the Labs
We have 250+ Lambda functions in our environment. These Lambda
functions runs for 10k+ seconds in a day.
Keep Experimenting
● In Serverless environment, everything is Distributed and Asynchronous
● Serverless landscape is evolving rapidly, lot of opportunity to refactor and
optimize
Our understanding of how and when to use Serverless
architectures is still in its infancy. We’re starting to see patterns
of recommended practice occur, and this knowledge will only grow.
Martin Fowler
https://sls.dashbird.io/en/serverless-best-practices
Free Serverless Training Resources
● Whizlabs Free Practice test -
https://www.whizlabs.com/aws-certifications/
● AWS Digital Training -
https://www.aws.training/Details/eLearning?id=42594
● Serverless Framework Free Courses -
https://www.serverless.com/learn/
● AWS Cloud Practitioner -
https://www.udemy.com/course/free-aws-certified-cloud-practitioner/
● Serverless Case Studies -
https://aws.amazon.com/lambda/resources/customer-case-studies/
Additional References
● Containers vs Serverless
https://www.serverless.com/blog/serverless-faas-vs-containers
● 12 Factor Application https://12factor.net/
Where to go from here
● AWS Well-Architected Framework for Serverless Applications
○ https://aws.amazon.com/blogs/aws/new-serverless-lens-in-aws-well-architected-tool/
● AWS Heroes
○ Yan Cui - https://theburningmonk.com/
○ Jeremy Daly - https://jeremydaly.com/
○ James Beswick (Serverless Developer Advocate, AWS)
■ https://aws.amazon.com/blogs/compute/author/jbeswick/
● AWS Blogs for Serverless
○ https://aws.amazon.com/blogs/compute/tag/serverless/
● Serverless Framework
○ https://serverless.com/
○ https://serverlessland.com/
● Serverless Application Model
○ https://aws.amazon.com/serverless/sam/
Q / A
Thank You!
https://linkedin.com/in/dhavaln
Connect With Me

More Related Content

Whizlabs webinar - Deploying Portfolio Site with AWS Serverless

  • 1. Deploying your Portfolio Site with AWS Serverless Dhaval Nagar 12x AWS Certified, AWS Serverless Hero
  • 2. ● 12x AWS, 2x GCP, Kubernetes Dev, Docker Certified ● AWS Serverless Hero - 2020 ● AWS Certification Subject Matter Expert ● AWS Community Leader, Surat ● CEO - AppGambit (AWS Consulting Partner)
  • 3. Agenda ● Introduction to Serverless ● AWS Serverless Services ● Use Case ● Demo ● Serverless @ Whizlab ● Summary
  • 5. Why Serverless! ● FOCUS on Business Logic ● Cloud provider MANAGES the Infrastructure, Service Availability, Scalability, and Security ● Pay for what you CONSUME
  • 8. Half of new apps built inside of Amazon this year are using Lambda! @ re:Invent 2020, Andy Jassy, ex-CEO, AWS https://aws.amazon.com/blogs/aws/reinvent-2020-liveblog-andy-jassy-keynote/
  • 9. AWS Serverless Services ● Compute ○ Lambda, Lambda@Edge ○ Fargate ● Storage ○ S3 ○ EFS ● Databases ○ DynamoDB ○ Aurora, RDS Proxy ● Proxy ○ API Gateway ● Integration ○ SQS, SNS ○ EventBridge ○ AppSync ● Authentication ○ Cognito ● Orchestration ○ Step Functions ● Analytics ○ Kinesis ○ Athena ● Developer Tools ○ SAM ○ CloudWatch, X-Ray ○ CodeBuild, CodeDeploy, CodePipeline ○ Cloud9 IDE
  • 11. Q / A
  • 16. When MANY users access
  • 18. Our Use case - Hosting Portfolio Website ● Web Hosting ● Content Delivery Network ● DNS Registry ● APIs ● Database ● Email Notifications
  • 19. AWS Services for Our Usecase ● S3 for Web Hosting ● CloudFront for Content Delivery Network ● Route53 for DNS Registry ● API Gateway for APIs ● DynamoDB for Database ● Pinpoint for Email Notifications http://bit.ly/WhizlabsServerlessSite
  • 22. Demo
  • 23. Serverless at Whizlabs ● Whizlabs Labs Account Tooling ● Other automations ● Deletion code, to delete Created AWS resource by user ● Deletion CRON, to check and delete the remaining AWS resources ● Validation of the Labs We have 250+ Lambda functions in our environment. These Lambda functions runs for 10k+ seconds in a day.
  • 24. Keep Experimenting ● In Serverless environment, everything is Distributed and Asynchronous ● Serverless landscape is evolving rapidly, lot of opportunity to refactor and optimize Our understanding of how and when to use Serverless architectures is still in its infancy. We’re starting to see patterns of recommended practice occur, and this knowledge will only grow. Martin Fowler https://sls.dashbird.io/en/serverless-best-practices
  • 25. Free Serverless Training Resources ● Whizlabs Free Practice test - https://www.whizlabs.com/aws-certifications/ ● AWS Digital Training - https://www.aws.training/Details/eLearning?id=42594 ● Serverless Framework Free Courses - https://www.serverless.com/learn/ ● AWS Cloud Practitioner - https://www.udemy.com/course/free-aws-certified-cloud-practitioner/ ● Serverless Case Studies - https://aws.amazon.com/lambda/resources/customer-case-studies/
  • 26. Additional References ● Containers vs Serverless https://www.serverless.com/blog/serverless-faas-vs-containers ● 12 Factor Application https://12factor.net/
  • 27. Where to go from here ● AWS Well-Architected Framework for Serverless Applications ○ https://aws.amazon.com/blogs/aws/new-serverless-lens-in-aws-well-architected-tool/ ● AWS Heroes ○ Yan Cui - https://theburningmonk.com/ ○ Jeremy Daly - https://jeremydaly.com/ ○ James Beswick (Serverless Developer Advocate, AWS) ■ https://aws.amazon.com/blogs/compute/author/jbeswick/ ● AWS Blogs for Serverless ○ https://aws.amazon.com/blogs/compute/tag/serverless/ ● Serverless Framework ○ https://serverless.com/ ○ https://serverlessland.com/ ● Serverless Application Model ○ https://aws.amazon.com/serverless/sam/
  • 28. Q / A