Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Container Days - AWS Microservice Workshop

241 views

Published on

Hands-on Workshop presentation to create #Serverless #Microservices with Amazon Web Services using #AWS Lambda, API Gateway, and DynamoDB

Published in: Technology
  • Be the first to comment

Container Days - AWS Microservice Workshop

  1. 1. © 2016, Amazon Web Services, Inc. or its Affiliates. All rights reserved. Tara E. Walker @taraw AWS Technical Evangelist 2016-11-04 Hands-On Workshop: Building Serverless Microservices on AWS Mackenzie Kosut @mkosut AWS Startup Evangelist
  2. 2. Workshop Manual: http://bit.ly/2fD9MZQ
  3. 3. Restaurant Microservice GET /restaurants POST /restaurants
  4. 4. Restaurant Microservice Approach #1 API Gateway + Lambda
  5. 5. DynamoDB Restaurant Microservice
  6. 6. DynamoDB Lambda Restaurant Microservice
  7. 7. DynamoDB Lambda Restaurant Microservice API Gateway
  8. 8. AWS Lambda lets you run code without managing servers
  9. 9. Upload your code (Java, JavaScript, Python)
  10. 10. Upload your code (Java, JavaScript, Python) Set up your code to trigger from other AWS services, webservice calls, or app activity
  11. 11. Lambda automatically scales Upload your code (Java, JavaScript, Python) Set up your code to trigger from other AWS services, webservice calls, or app activity
  12. 12. 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
  13. 13. AWS API Gateway is the easiest way to deploy Microservices
  14. 14. Create a unified API frontend for multiple microservices
  15. 15. Create a unified API frontend for multiple microservices Authenticate and authorize requests
  16. 16. Create a unified API frontend for multiple microservices Authenticate and authorize requests Handles DDoS protection and API throttling
  17. 17. Create a unified API frontend for multiple microservices …as well as monitoring, logging, rollbacks, client SDK generation… Authenticate and authorize requests Handles DDoS protection and API throttling
  18. 18. Restaurant Microservice
  19. 19. DynamoDB Restaurant Microservice
  20. 20. DynamoDB Lambda to retrieve restaurants Restaurant Microservice Lambda to store restaurants
  21. 21. DynamoDB Lambda to retrieve restaurants Restaurant Microservice API Gateway POST GET Lambda to store restaurants
  22. 22. DynamoDB Lambda to retrieve restaurants Restaurant Microservice API Gateway POST GET Web UI Lambda to store restaurants
  23. 23. DynamoDB Lambda to retrieve restaurants Restaurant Microservice API Gateway POST GET Web UI Lambda to store restaurants
  24. 24. Restaurant Microservice Approach #2 Containers Using ECS
  25. 25. Restaurant Microservice EC2EC2 EC2 EC2 Elastic Load Balancer
  26. 26. Restaurant Microservice EC2EC2 EC2 EC2 Elastic Load Balancer
  27. 27. Restaurant Microservice EC2EC2 EC2 EC2 Elastic Load Balancer Amazon EC2 Container Service (ECS) to manage containers
  28. 28. Restaurant Microservice Approach #3 EC2
  29. 29. Restaurant Microservice EC2
  30. 30. Restaurant Microservice EC2
  31. 31. Restaurant Microservice EC2EC2 EC2 EC2
  32. 32. Restaurant Microservice EC2EC2 EC2 EC2 Elastic Load Balancer
  33. 33. Let’s Build A Microservice!

×