intro to serverless aws web apps

Post on 12-Apr-2017

39 Views

Category:

Engineering

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

“Serverless” AWS Web pps

Serverless computing lets you build highly available and cost-effective applications that scale

automatically - without having to manage servers.

“Serverless” AWS Web pps

Serverless computing lets you build highly available and cost-effective applications that scale

automatically - without having to manage servers.

“Serverless” AWS Web pps

Serverless computing lets you build highly available and cost-effective applications that scale

automatically - without having to manage servers.

“Serverless” AWS Web pps

Serverless computing lets you build highly available and cost-effective applications that scale

automatically - without having to manage servers.

“Serverless” AWS Web pps

Serverless computing lets you build highly available and cost-effective applications that scale

automatically - without having to manage servers.

💯🔥

What’s in a web app?

AWSLambda

AmazonS3

AmazonDynamoDB

AWS Certificate Manager

Amazon API Gateway

AWS Step Functions

AmazonSES

IAM

You don’t need C#/Ruby/Node/etc to serve a web app.

AmazonS3

<html>

</html>

Dev

Static Contentcat lovers

(users)

bucket

1. Push to bucket

bucket

<html>

</html>

Dev

aws s3 sync ./build/ s3://catsrus --region us-east-1 --delete

Sync to Bucket

2. Enable Static Web Server

bucket

<html>

</html>

Dev

AmazonS3

3. Add CDN

bucket

<html>

</html>

Dev

AmazonS3

4. Custom domain

bucket

<html>

</html>

Dev

AmazonS3

You can’t do everything in the browser!

AWSLambda

AmazonDynamoDB

AmazonSES

?

Event-Driven Compute

AWSLambda

Anatomy of a Lambda

What if I need to do a bunch of stuff?

AWSLambda

AWSLambda

AWSLambda

AWSLambda

Amazon API Gateway

AWS Step Functions{

AmazonDynamoDB

AWSLambda

Microservice Coordination with Step Functions

AWSLambda

Amazon API Gateway

AWS Step Functions

AWSLambda

AWSLambda

Microservice Coordination with Step Functions

Executions

Advantages of AWS• Cost

• Spend 0 time on infrastructure

• High availability

• Scalability only limited by your wallet

• Performance

• Loosely coupled microservice-y pieces

• Fun!

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

Finding Help

• @AWSSupport usually responds in a few hours.

• Amazon docs are, on the whole, very good.

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

eriehack.io

top related