deployment options
play

Deployment options Vlad Ionescu BDevOps vladionescu.me Plan - PowerPoint PPT Presentation

Deployment options Vlad Ionescu BDevOps vladionescu.me Plan Deployment options Scripts Configuration management Immutable infrastructure Containers Serverless Blatant generalisations Q


  1. Deployment options Vlad Ionescu BDevOps vladionescu.me

  2. Plan • Deployment options • ↑ ↑ ↩ ↑ ↑ ↩ • Scripts • Configuration management • Immutable infrastructure • Containers • Serverless • Blatant generalisations • Q & A vladionescu.me

  3. vladionescu.me/ slides vladionescu.me

  4. Vlad Ionescu • DevOps consultant • Observability • Serverless vladionescu.me

  5. Deployment options vladionescu.me

  6. "app" vladionescu.me

  7. Deployment options vladionescu.me

  8. ↑ ↑ ↩ ↑ ↑ ↩ vladionescu.me

  9. ↑ ↑ ↩ ↑ ↑ ↩ EC2 AWS cloud vladionescu.me

  10. vladionescu.me

  11. vladionescu.me

  12. ↑ vladionescu.me

  13. ↑ vladionescu.me

  14. ↩ vladionescu.me

  15. ↑ vladionescu.me

  16. ↑ vladionescu.me

  17. ↩ vladionescu.me

  18. ↑ ↑ ↩ ↑ ↑ ↩ • Highly available • Fast vladionescu.me

  19. EC2 EC2 EC2 AWS cloud vladionescu.me

  20. Scripts vladionescu.me

  21. Scripts • Very varied • Capistrano for Ruby • Fabric for Python • Shipit, grunt, gulp for Javascript • MS Deploy for .NET vladionescu.me

  22. Scripts vladionescu.me

  23. Scripts • Deployments to multiple servers • Easier • DevOps !!! vladionescu.me

  24. EC2 EC2 EC2 AWS cloud vladionescu.me

  25. i-abc-1 i-abc-2 i-abc-3 AWS cloud vladionescu.me

  26. i-abc-1 i-abc-2 i-abc-3 AWS cloud vladionescu.me

  27. i-abc-1 i-abc-4 i-abc-3 AWS cloud vladionescu.me

  28. i-abc-1 i-abc-4 i-abc-3 AWS cloud vladionescu.me

  29. Configuration management vladionescu.me

  30. Configuration management • Ansible • Puppet • Chef • Salt vladionescu.me

  31. Configuration management vladionescu.me

  32. Worker Worker Supervisor Worker AWS cloud vladionescu.me

  33. Worker Worker Supervisor Worker Auto Scaling group AWS cloud vladionescu.me

  34. Configuration management • Solves snowflake problem • Did not really catch on • Auto Scaling groups • Slow vladionescu.me

  35. Configuration management • Solves snowflake problem vladionescu.me

  36. The real options vladionescu.me

  37. Immutable infrastructure vladionescu.me

  38. Immutable vladionescu.me

  39. Amazon Machine Image vladionescu.me

  40. vladionescu.me

  41. Packer vladionescu.me

  42. Infrastructure vladionescu.me

  43. EC2 EC2 EC2 AWS cloud vladionescu.me

  44. Route53 Worker RDS ElasticCache Worker S3 CloudFront Worker Auto Scaling group CloudWatch IAM AWS cloud vladionescu.me

  45. Terraform vladionescu.me

  46. Terraform vladionescu.me

  47. Terraform vladionescu.me

  48. Packer + Terraform vladionescu.me

  49. Packer + Terraform • Packer creates an AMI • Terraform deploys that AMI vladionescu.me

  50. Packer + Terraform vladionescu.me

  51. Packer + Terraform • Reliable deploys • Safe deploys • Infrastructure as code vladionescu.me

  52. Packer + Terraform • No concept of deploys • Spinnaker sometimes an option • Slow deploys • AMI hell • Scheduling woes vladionescu.me

  53. Containers vladionescu.me

  54. Container orchestration system vladionescu.me

  55. Kubernetes vladionescu.me

  56. Container orchestration • Docker Swarm • Hasicorp Nomad • Apache Mesos • Kubernetes vladionescu.me

  57. Kubernetes vladionescu.me

  58. Kubernetes Master Worker Master Worker Master Worker AWS cloud vladionescu.me

  59. Kubernetes Master Worker Master Worker Master Worker AWS cloud vladionescu.me

  60. Master c-m k-proxy api c-c-m kubelet sched Master vladionescu.me

  61. Node kubelet k-proxy Node vladionescu.me

  62. Kubernetes c-m k-proxy api c-c-m kubelet sched kubelet k-proxy Master Node kubelet k-proxy Node c-m k-proxy api c-c-m kubelet sched kubelet k-proxy Master Node c-m k-proxy api c-c-m kubelet sched kubelet k-proxy Master Node vladionescu.me

  63. Tooling vladionescu.me

  64. Kubernetes • Complex • Expensive • Opinionated vladionescu.me

  65. Serverless vladionescu.me

  66. Serverless • AWS Lambda • Apache OpenWhisk • Google Cloud Functions • Fission • Microsoft Azure Cloud • OpenFaaS Functions • Nuclio • Huawei Function • Kubeless • Cloudflare Workers vladionescu.me

  67. AWS Lambda vladionescu.me

  68. AWS Lambda vladionescu.me

  69. $0.00001667 / GB-SECOND vladionescu.me

  70. AWS Lambda AWS cloud vladionescu.me

  71. Serverless app vladionescu.me

  72. Serverless vladionescu.me

  73. Serverless Framework vladionescu.me

  74. Serverless vladionescu.me

  75. CloudEvents vladionescu.me

  76. Serverless vladionescu.me

  77. Blatant generalisations vladionescu.me

  78. Cross-cloud? vladionescu.me

  79. Cross-cloud? Kubernetes vladionescu.me

  80. Deploy rarely? vladionescu.me

  81. Deploy rarely? Terraform + Packer vladionescu.me

  82. Easy local dev setup? vladionescu.me

  83. Easy local dev setup? Terraform + Packer vladionescu.me

  84. Cost is an issue? vladionescu.me

  85. Cost is an issue? Kubernetes vladionescu.me

  86. Extra features? vladionescu.me

  87. Extra features? Kubernetes vladionescu.me

  88. Cost is an issue and a startup? vladionescu.me

  89. Cost is an issue and a startup? Serverless vladionescu.me

  90. Bleeding edge, event driven, latency insensitive? vladionescu.me

  91. Bleeding edge, event driven, latency insensitive? Serverless vladionescu.me

  92. Disclaimers vladionescu.me

  93. Disclaimers Heroku, AWS Elastic Beanstalk and other PaaS skipped Perfectly valid choices vladionescu.me

  94. Disclaimers People cost vs AWS bill vladionescu.me

  95. Disclaimers DevOps vladionescu.me

  96. Resources vladionescu.me

  97. Resources • Better SSH: mosh • Pretty code slides: carbon vladionescu.me

  98. Resources • Capistrano • Fabric • Shipit • MS Deploy vladionescu.me

  99. Resources • Create, Change, and Orchestrate AWS Infrastructure with Terraform - a nice introduction • Terraform at Scale - a more in-depth introduction • Evolving Your Infrastructure with Terraform - best practices and relevant pitfalls vladionescu.me

  100. Resources • Terraform • Blue green example from Boston DevOps Meetup 2016-03-23 • Blue green example • Rob Morgan's Terraform Rolling Deployemnt Demo • Atlantis • Packer • Packer WinRM vladionescu.me

Recommend


More recommend