Advertisement
Advertisement

More Related Content

Slideshows for you(20)

Similar to You wouldn't build a toast, would you(20)

Advertisement
Advertisement

You wouldn't build a toast, would you

  1. You wouldn't build your own toaster would you? Yan Cui @theburningmonk
  2. “ for about five seconds, the toaster toasted, but then unfortunately, the element kind of melted itself ”
  3. £3.94 9 months + £1187.54
  4. £3.94 9 months + £1187.54
  5. £3.94 9 months + £1187.54 OVER BUDGET
  6. £3.94 9 months + £1187.54 OVER BUDGET OVER TIME
  7. £3.94 9 months + £1187.54 OVER BUDGET OVER TIME UNUSABLE
  8. if you depend on a working toaster to survive, what would you do?
  9. £3.94 A. buy one
  10. £3.94 9 months + £1187.54 A. buy one B. build your own
  11. X is a multi-national conglomerate
  12. compute platform on
  13. 18 months team of 8 2 versions compute platform on
  14. no documentation
  15. no documentation unstable
  16. OVER BUDGET OVER TIME UNUSABLE
  17. why???
  18. Y is a small startup
  19. We sell socks, but we’re also building our own Kubernetes cluster! Cool, right?
  20. “in startups, and perhaps in life in general, time is the most scarce resource.” - Yevgeniy Brikman, co-founder of Gruntwork http://bit.ly/2OyvxLq
  21. if your business depend on the ability to execute code to meet customer needs, what would you do?
  22. Yan Cui http://theburningmonk.com @theburningmonk AWS user for 10 years
  23. http://bit.ly/yubl-serverless
  24. Yan Cui http://theburningmonk.com @theburningmonk Developer Advocate @
  25. Yan Cui http://theburningmonk.com @theburningmonk Independent Consultant
  26. What do you mean by ‘serverless’?
  27. “Serverless”
  28. Gojko Adzic It is serverless the same way WiFi is wireless. http://bit.ly/2yQgwwb
  29. Serverless means… don’t pay for it if no-one uses it don’t need to worry about scaling don’t need to provision and manage servers
  30. “Function-as-a-Service” AWS Lambda Azure Functions Google Cloud Functions Auth0 Webtask Spotinst Functions Kubeless IBM Cloud Functions
  31. AWS Lambda
  32. AWS Lambda API Gateway IOT SNS Kinesis CloudWatch
  33. IaaS Function Application Runtime Container OS Virtualization Hardware CaaS Function Application Runtime Container OS Virtualization Hardware PaaS Function Application Runtime Container OS Virtualization Hardware FaaS Function Application Runtime Container OS Virtualization Hardware User User (scalable unit) Provider
  34. IaaS Function Application Runtime Container OS Virtualization Hardware CaaS Function Application Runtime Container OS Virtualization Hardware PaaS Function Application Runtime Container OS Virtualization Hardware FaaS Function Application Runtime Container OS Virtualization Hardware User User (scalable unit) Provider
  35. Serverless FaaS other services… Database Storage BI
  36. Simon Wardley Serverless will fundamentally change how we build business around technology and how you code.
  37. Why serverless?
  38. more Scalable (and scales faster!)
  39. Cheaper (don’t pay for idle servers)
  40. Resilience (built-in redundancy and multi-AZ)
  41. Secure
  42. idea production choose language + framework master language + framework figure out deployment configure AMI configure ELB configure autoscaling capacity planning over-provision for launch are we doing microservices? configure CI/CD
  43. idea production choose language + framework master language + framework figure out deployment configure AMI configure ELB configure autoscaling capacity planning over-provision for launch are we doing microservices? configure CI/CD
  44. idea production greater Velocity from idea to product
  45. minimise undifferentiated heavy-lifting
  46. less ops responsibility on your shoulders
  47. idea production greater Velocity from idea to product
  48. What about containers?
  49. important, but invisible subsystem
  50. https://read.acloud.guru/acg-faas-and-furious-b9574b6675c5
  51. serverless is NOT the goal!
  52. build products customers love to use
  53. test ideas against the market quickly
  54. iterate on s
  55. deliver frequently, deliver quickly
  56. own less technology, focus on creating Business Values
  57. own less technology, focus on creating Business Values (serverless is just a good fit for this mindset)
  58. serverless technologies are still maturing
  59. https://www.youtube.com/watch?v=pptsgV4bKv8
  60. https://bit.ly/production-ready-serverless
  61. http://bit.ly/2C9LwIM
  62. “you have no control over infrastructure” “good luck when Amazon decides to raise the price of Lambda!” “Lambda can’t scale” “you will be locked into AWS”
  63. “you have no control over infrastructure” “good luck when Amazon decides to raise the price of Lambda!” “Lambda can’t scale” “you will be locked into AWS”
  64. AWS announced 67 price reductions in the last 5 years, and 0 price hikes
  65. “you have no control over infrastructure” “good luck when Amazon decides to raise the price of Lambda!” “Lambda can’t scale” “you will be locked into AWS”
  66. “you have no control over infrastructure” “good luck when Amazon decides to raise the price of Lambda!” “Lambda can’t scale” “you will be locked into AWS”
  67. 1,000 concurrent executions (soft limit) 500 increase per minute (hard-ish limit)
  68. 1,000 concurrent executions (soft limit) 500 increase per minute (hard-ish limit) AUTO-APPROVED RAISE TO 3000
  69. 1,000 concurrent executions (soft limit) 500 increase per minute (hard-ish limit)
  70. containers are reused
  71. 80 MILLION MONTHLY USERS
  72. Control Responsibility
  73. Controlling your own infrastructure comes with Responsibilities
  74. to take on these responsibilities you need to have the relevant skills sets in the organization Controlling your own infrastructure comes with Responsibilities
  75. to take on these responsibilities you need to have the relevant skills sets in the organization Controlling your own infrastructure comes with Responsibilities ENGINEERS
  76. to take on these responsibilities you need to have the relevant skills sets in the organization Controlling your own infrastructure comes with Responsibilities ENGINEERS ADMIN
  77. to take on these responsibilities you need to have the relevant skills sets in the organization Controlling your own infrastructure comes with Responsibilities ENGINEERS ADMIN RECRUITMENT
  78. to take on these responsibilities you need to have the relevant skills sets in the organization Controlling your own infrastructure comes with Responsibilities ENGINEERS ADMIN RECRUITMENT MARKET
  79. what are you paying for?
  80. guard against the temptation to look for control for control sake
  81. AWS Lambda, Azure Functions, Google Cloud Functions Your custom, container-based, general purpose compute platform
  82. Lock-in risk Reward
  83. “VENDOR LOCK-IN IS THE ROOT OF ALL EVIL”
  84. use our private cloud instead, it’s totally not a lock-in because containers!
  85. to take on these responsibilities you need to have the relevant skills sets in the organization Controlling your own infrastructure comes with Responsibilities ENGINEERS ADMIN RECRUITMENT MARKET
  86. risk is just one side of the coin
  87. extracting maximum value from your cloud provider minimising undifferentiated heavy-lifting faster time-to-market reward
  88. vendor lock-in is a problem that is all bark but no bite
  89. own less technology, focus on creating Business Values
  90. “DATABASE LOCK-IN IS THE ROOT OF ALL EVIL”
  91. ORM
  92. a load of unnecessary complexity that didn’t end up making DB migrations any easier, and forced you to the least common denominator of feature sets and stop you from taking advantage of your DB in the first place…
  93. nooooooooooo, wish I hadn’t used an ORM!!
  94. The true danger with lock-in, especially with serverless, is the potential for data lock-in. Data has gravity. It accumulates. Data is economically disincentivized to leave, by way of platform pricing. This is the single biggest threat to vendor choice.
  95. is vendor lock-in a risk? YES
  96. is the return worth the risk? ABSOLUTELY!
  97. there are no silver bullets
  98. understand the trade-offs
  99. control comes with its own baggages
  100. but sometimes the benefits outweigh the baggages
Advertisement