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.

Flexibility and scalability of costs in serverless infrastructures

94 views

Published on

Autoscaling groups and serveless based infrastructures to manage costs and budgets

Published in: Software
  • Be the first to comment

  • Be the first to like this

Flexibility and scalability of costs in serverless infrastructures

  1. 1. Flexibility and Scalability of costs in serverless infrastructures APIConf 2017 - Turin @_CloudConf_ - #apiconf2017
  2. 2. Walter Dal Mut github.com/wdalmut twitter.com/walterdalmut
  3. 3. corley.it
  4. 4. About costs...
  5. 5. Directly from Genova
  6. 6. My rst CQRS infrastructure in early 2010(late2009)
  7. 7. Mainly because of di erent Command/Query speeds
  8. 8. Cost reduction thanks to autoscaling groups
  9. 9. Fixed hardware (virtual machine) provisioning
  10. 10. E ective resources consumption
  11. 11. Resources consumption VS xed provisioning
  12. 12. Thanks to Autoscaling Group
  13. 13. Without autoscaling group With autoscaling group We save 732 $ per month so 8784 $ per year! 60 t2.small instances 100% = 1098$ per month 10 t2.small instances 100% = 183$ per month 50 t2.small instances 6 hours per day = 183$ per month
  14. 14. Autoscaling groups with t2.small grows by steps of 0.03$ per hour
  15. 15. Autoscaling groups with t2.micro grows by steps of 0.02$ per hour
  16. 16. What if i can pay per single request? 0 requests means 0 $ 1 requests means 0,000000208$ 1M requests means 0,208$ 60M of requests per month = 12,48 $
  17. 17. So i can pay only for my real needs!
  18. 18. With serverless we have bills based on the actual amount of resources consumed by an application
  19. 19. On AWS we can join API Gateway + Lambda to work with a Serverless infrastructure
  20. 20. Thanks for listening

×