container days - aws microservice workshop
Post on 23-Jan-2017
67 Views
Preview:
TRANSCRIPT
© 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved.
Tara E. Walker@taraw
AWS Technical Evangelist2016-11-04
Hands-On Workshop: Building Serverless Microservices on AWS
Mackenzie Kosut@mkosut AWS Startup Evangelist
Workshop Manual: http://bit.ly/2fD9MZQ
Restaurant Microservice
GET /restaurants
POST /restaurants
Restaurant Microservice
Approach #1API Gateway
+ Lambda
DynamoDB
Restaurant Microservice
DynamoDB
Lambda
Restaurant Microservice
DynamoDB
Lambda
Restaurant Microservice
API Gateway
AWS Lambdalets you run code
without managing servers
Upload your code(Java, JavaScript,
Python)
Upload your code(Java, JavaScript,
Python)
Set up your code to trigger from other AWS
services, webservice calls, or app activity
Lambda automatically
scales
Upload your code(Java, JavaScript,
Python)
Set up your code to trigger from other AWS
services, webservice calls, or app activity
Lambda automatically
scales
Upload your code(Java, JavaScript,
Python)
Pay for only the compute time
you use(sub-second metering)
Set up your code to trigger from other AWS
services, webservice calls, or app activity
AWS API Gatewayis the easiest way to deploy Microservices
Create a unified API frontend for
multiplemicroservices
Create a unified API frontend for
multiplemicroservices
Authenticate and authorize requests
Create a unified API frontend for
multiplemicroservices
Authenticate and authorize requests
Handles DDoS protection and API throttling
Create a unified API frontend for
multiplemicroservices
…as well as monitoring,
logging, rollbacks,client SDK
generation…
Authenticate and authorize requests
Handles DDoS protection and API throttling
Restaurant Microservice
DynamoDB
Restaurant Microservice
DynamoDB
Lambdato retrieverestaurants
Restaurant Microservice
Lambdato store
restaurants
DynamoDB
Lambdato retrieverestaurants
Restaurant Microservice
API Gateway
POST GET
Lambdato store
restaurants
DynamoDB
Lambdato retrieverestaurants
Restaurant Microservice
API Gateway
POST GET
Web UI
Lambdato store
restaurants
DynamoDB
Lambdato retrieverestaurants
Restaurant Microservice
API Gateway
POST GET
Web UI
Lambdato store
restaurants
Restaurant Microservice
Approach #2ContainersUsing ECS
Restaurant Microservice
EC2EC2 EC2 EC2
Elastic Load Balancer
Restaurant Microservice
EC2EC2 EC2 EC2
Elastic Load Balancer
Restaurant Microservice
EC2EC2 EC2 EC2
Elastic Load Balancer
AmazonEC2 ContainerService (ECS)
to managecontainers
Restaurant Microservice
Approach #3EC2
Restaurant Microservice
EC2
Restaurant Microservice
EC2
Restaurant Microservice
EC2EC2 EC2 EC2
Restaurant Microservice
EC2EC2 EC2 EC2
Elastic Load Balancer
Let’s Build A Microservice!
top related