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.

Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)

715 views

Published on

Presentation gave by Nicolas Grenié (@picsoung) at APIdays Nordic in Tampere, Finland in 2016

He covered the principles of serverless infrastructure, explaining the pros and cons about it and the different platforms.
He also gave an overview of the Serverless (serverless.com) framework.

Published in: Technology
  • Hi there! Get Your Professional Job-Winning Resume Here - Check our website! http://bit.ly/resumpro
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)

  1. 1. Build and manage Serverless API Nicolas Grenié Hacker in Residence at 3scale @picsoung APIdays Nordic 19th May 2016 Tampere, Finland
  2. 2. @picsoung
  3. 3. 3scale.net/jobs
  4. 4. 700+ clients worldwide billions of API calls per month
  5. 5. There is hope hype
  6. 6. http://www.commitstrip.com/en/2013/03/11/de-lestimation-de-la-charge/by CommitStrip
  7. 7. common questions you usually ask yourself
  8. 8. on prem vs cloud
  9. 9. how much storage
  10. 10. how much database
  11. 11. how much server power
  12. 12. Welcome to serverless era
  13. 13. no servers no deployments on servers no software to install
  14. 14. build once scale later
  15. 15. event driven functions
  16. 16. action reaction
  17. 17. serverless is 2016 PaaS
  18. 18. actors Google
 CLOUD FUNCTIONS ALPHA
  19. 19. frameworks
  20. 20. 101
  21. 21. pay per use logs with CloudWatch node, python, Java auto-scale AWS Lambda
  22. 22. community project AWS Lambda node and python handle roles minify code
  23. 23. $ sls project create
  24. 24. project structure s-project.json // project and author data s-resources-cf.json // CloudFormation template for all stages/regions admin.env // AWS Profiles - gitignored _meta // meta data that holds stage/regions config and // variables - gitignored |__resources // final CF templates for each stage/region |__s-resources-cf-dev-useast1.json |__variables // variables specific to stages and regions |__s-variables-common.json |__s-variables-dev.json |__s-variables-dev-useast1.json
  25. 25. $sls function create
  26. 26. project structure s-project.json // project and author data s-resources-cf.json // CloudFormation template for all stages/regions admin.env // AWS Profiles - gitignored _meta // meta data that holds stage/regions config and // variables - gitignored |__resources // final CF templates for each stage/region |__s-resources-cf-dev-useast1.json |__variables // variables specific to stages and regions |__s-variables-common.json |__s-variables-dev.json |__s-variables-dev-useast1.json restAPI // folder to group your project functions |__greetings // your first function |__event.json // sample event for testing function locally |__handler.js // your function handler file |__s-function.json // data for your lambda function, endpoints and event sources
  27. 27. $ sls function run
  28. 28. $ sls dash deploy
  29. 29. Manage the API
  30. 30. Manage the API simple API key no self-service no throttling by key no segmentation
  31. 31. 3scale API management
  32. 32. 3scale API management reduce latency not in the code deploy with cloudformation throttling by key support more auth protocol
  33. 33. Try it http://bit.ly/API-workshop
  34. 34. Takeaways serverless = agility cost effective lot of platforms/tools serverless API need to be managed
  35. 35. Build and manage Serverless API Nicolas Grenié Hacker in Residence at 3scale @picsoung APIdays Nordic 19th May 2016 Tampere, Finland

×