intro to serverless aws web apps
TRANSCRIPT
![Page 1: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/1.jpg)
“Serverless” AWS Web pps
Serverless computing lets you build highly available and cost-effective applications that scale
automatically - without having to manage servers.
![Page 2: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/2.jpg)
“Serverless” AWS Web pps
Serverless computing lets you build highly available and cost-effective applications that scale
automatically - without having to manage servers.
![Page 3: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/3.jpg)
“Serverless” AWS Web pps
Serverless computing lets you build highly available and cost-effective applications that scale
automatically - without having to manage servers.
![Page 4: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/4.jpg)
“Serverless” AWS Web pps
Serverless computing lets you build highly available and cost-effective applications that scale
automatically - without having to manage servers.
![Page 5: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/5.jpg)
“Serverless” AWS Web pps
Serverless computing lets you build highly available and cost-effective applications that scale
automatically - without having to manage servers.
💯🔥
![Page 6: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/6.jpg)
![Page 7: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/7.jpg)
![Page 8: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/8.jpg)
What’s in a web app?
AWSLambda
AmazonS3
AmazonDynamoDB
AWS Certificate Manager
Amazon API Gateway
AWS Step Functions
AmazonSES
IAM
![Page 9: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/9.jpg)
You don’t need C#/Ruby/Node/etc to serve a web app.
![Page 10: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/10.jpg)
AmazonS3
<html>
</html>
Dev
Static Contentcat lovers
(users)
bucket
![Page 11: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/11.jpg)
1. Push to bucket
bucket
<html>
</html>
Dev
aws s3 sync ./build/ s3://catsrus --region us-east-1 --delete
Sync to Bucket
![Page 12: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/12.jpg)
2. Enable Static Web Server
bucket
<html>
</html>
Dev
AmazonS3
![Page 13: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/13.jpg)
3. Add CDN
bucket
<html>
</html>
Dev
AmazonS3
![Page 14: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/14.jpg)
4. Custom domain
bucket
<html>
</html>
Dev
AmazonS3
![Page 15: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/15.jpg)
You can’t do everything in the browser!
![Page 16: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/16.jpg)
AWSLambda
AmazonDynamoDB
AmazonSES
?
Event-Driven Compute
![Page 17: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/17.jpg)
AWSLambda
Anatomy of a Lambda
![Page 18: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/18.jpg)
What if I need to do a bunch of stuff?
![Page 19: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/19.jpg)
AWSLambda
AWSLambda
AWSLambda
AWSLambda
Amazon API Gateway
AWS Step Functions{
AmazonDynamoDB
![Page 20: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/20.jpg)
AWSLambda
Microservice Coordination with Step Functions
![Page 21: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/21.jpg)
AWSLambda
Amazon API Gateway
AWS Step Functions
AWSLambda
AWSLambda
Microservice Coordination with Step Functions
![Page 22: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/22.jpg)
![Page 23: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/23.jpg)
Executions
![Page 24: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/24.jpg)
Advantages of AWS• Cost
• Spend 0 time on infrastructure
• High availability
• Scalability only limited by your wallet
• Performance
• Loosely coupled microservice-y pieces
• Fun!
![Page 25: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/25.jpg)
Disadvantages of AWS
• Learning curve is steep at first
• If your AWS zone goes down, so do you (I’m looking at you, US-EAST-2 😡)
• Managing all these little pieces can be tricky Frameworks like ServerLess and apex can help with this
![Page 26: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/26.jpg)
Finding Help
• @AWSSupport usually responds in a few hours.
• Amazon docs are, on the whole, very good.
![Page 27: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/27.jpg)
more cool stuff
Amazon Lightsail
Amazon ECS Amazon EC2
Amazon Glacier
AWS CodeCommit
AWS CodeDeploy
AWS CodePipeline
AWS CodeBuild
Amazon CloudWatch
AWSCloudFormation
Amazon CloudWatch
AWSCloudFormation
AmazonSQS
AmazonSNS
AWS IoT Amazon Mechanical Turk
![Page 28: Intro to Serverless AWS Web Apps](https://reader030.vdocuments.net/reader030/viewer/2022021507/58ed49a61a28ab40018b463d/html5/thumbnails/28.jpg)