Successfully reported this slideshow.

Container Days - AWS Microservice Workshop

1

Share

Upcoming SlideShare
Aws microservice keynote
Aws microservice keynote
Loading in …3
×
1 of 36
1 of 36

Container Days - AWS Microservice Workshop

1

Share

Download to read offline

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

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

More Related Content

Related Books

Free with a 14 day trial from Scribd

See all

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!

Editor's Notes

  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • “Simplest way to build powerful, dynamic apps in the cloud”
  • “Simplest way to build powerful, dynamic apps in the cloud”
  • “Simplest way to build powerful, dynamic apps in the cloud”
  • “Simplest way to build powerful, dynamic apps in the cloud”
  • “Simplest way to build powerful, dynamic apps in the cloud”
  • “Simplest way to build powerful, dynamic apps in the cloud”
  • Abstracts the implementation so that you can switch from Lambda to EC2 or Combine multiple backends. Similarly you can use mapping templates to unify different versions of your APIs
    Network protection is something we do very well and requires hyperscale, you won’t be able to auto-scale to meet an attack, let us do it
    Centralize authorization decisions in a policy and remove the concern from the code in your backend, fewer bugs
  • Abstracts the implementation so that you can switch from Lambda to EC2 or Combine multiple backends. Similarly you can use mapping templates to unify different versions of your APIs
    Network protection is something we do very well and requires hyperscale, you won’t be able to auto-scale to meet an attack, let us do it
    Centralize authorization decisions in a policy and remove the concern from the code in your backend, fewer bugs
  • Abstracts the implementation so that you can switch from Lambda to EC2 or Combine multiple backends. Similarly you can use mapping templates to unify different versions of your APIs
    Network protection is something we do very well and requires hyperscale, you won’t be able to auto-scale to meet an attack, let us do it
    Centralize authorization decisions in a policy and remove the concern from the code in your backend, fewer bugs
  • Abstracts the implementation so that you can switch from Lambda to EC2 or Combine multiple backends. Similarly you can use mapping templates to unify different versions of your APIs
    Network protection is something we do very well and requires hyperscale, you won’t be able to auto-scale to meet an attack, let us do it
    Centralize authorization decisions in a policy and remove the concern from the code in your backend, fewer bugs
  • Demo: Build a Microservice using Lambda and API gateway
    Emphasize the versioning aspect of Microservices
    Test the service using Postman
    Export out the Swagger definition
    Use Swagger tool to generate documentation
    Show that you can generate client libraries
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Demo: Build a Microservice using Lambda and API gateway
    Emphasize the versioning aspect of Microservices
    Test the service using Postman
    Export out the Swagger definition
    Use Swagger tool to generate documentation
    Show that you can generate client libraries
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • Go Serverless
  • So with those two core principles as foundation, let’s build a Microservice
  • ×