25
THE BEST INFRASTRUCTURE IS THE ONE THAT DOESN’T EXIST BUILDING SERVERLESS APPS

2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

Embed Size (px)

Citation preview

Page 1: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

THE BEST INFRASTRUCTURE IS THE ONE THAT DOESN’T EXIST

BUILDING SERVERLESS APPS

Page 2: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

Jeff NunnSolutions Architect

Amazon Web Services

@jbnunn

Page 3: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 4: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 5: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 6: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 7: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

“What does serverless even mean?”- Everyone’s Mom

Page 8: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 9: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 10: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

Amazon API Gateway

AWSLambda

The peanut butter and jelly of serverless architecture:

Page 11: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

Amazon API Gateway

• Fully managed API management service• Accepts and processes up to hundreds of

thousands of concurrent API calls• Direct integration to AWS or 3P services• Traffic management• Authorization and access controls• Swagger import/export

Your front door for applications to access data and business logic

Page 12: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

• Automatically scales • Execute code in response to triggers• Run parallel/threaded processes• Subsecond vs hourly billing• Java, Node.js, Python support

Run code without provisioning or managing servers

AWSLambda

Page 13: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

Amazon API Gateway

AWSLambda

The peanut butter and jelly of serverless architecture:

Page 14: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

Amazon API Gateway

AWSLambda

The peanut butter, banana, fresh white bread, and jelly of serverless architecture:

AmazonDynamoDB

AmazonS3

Page 15: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

• Virtually limitless throughput and storage• Single-digit millisecond latency• Automatic and synchronous data replication

across three facilities in a Region• Document data model, key value model,

Titan integration, Elasticsearch/Logstash integration

Fast and flexible NoSQL database

AmazonDynamoDB

Page 16: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

• 11 9’s of durability• Scale on demand• Built-in versioning and encryption• Static web hosting• Object lifecycle management

Secure, durable, and highly scalable cloud storage

AmazonS3

Page 17: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

Amazon API Gateway

AWSLambda

AmazonDynamoDB

AWSLambda

AmazonSES

AmazonS3

Page 18: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

[ DEMO ]

Page 19: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

• You don’t have to replace everything

CONSIDERATIONS

• Just because you do serverless doesn’t mean you can’t do DevOps

Page 20: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 21: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

• You don’t have to replace everything

CONSIDERATIONS

• Just because you do serverless doesn’t mean you can’t do DevOps

• Watch out for sprawl

Page 22: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps
Page 23: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

• Run/test AWS Lambda functions locally, or remotely• Auto-deploys, versions & aliases your Lambda functions• Auto-deploys your REST API to AWS API Gateway• Auto-deploys your Lambda events• Support for multiple stages• Environment variable support• Interactive CLI dashboard to easily select and

deploy functions and endpoints• Optimize your Lambda functions for faster response times• Support for API Gateway custom authorizers• 100% Extensible - Extend or modify the Framework

and its operations via Plugins• Powerful classes and methods for easy plugin development• AWS best practices and optimizations built in• A fantastic and welcoming community!

Page 24: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

"No server is easier to manage than no server”- Werner Vogles, CTO, Amazon.com

Page 25: 2016 - The Best Infrastructure is the One That Doesn't Exist: Building Serverless Apps

ResourcesAmazon API Gateway

https://aws.amazon.com/api-gateway/

AWS Lambdahttps://aws.amazon.com/lambda/

Serverless.com Githubhttps://github.com/serverless/serverless

Reach out!@jbnunn