testing deploying microservices
play

TESTING & DEPLOYING MICROSERVICES Sam Newman Flowcon, - PowerPoint PPT Presentation

TESTING & DEPLOYING MICROSERVICES Sam Newman Flowcon, September 2014 1 Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman Focused around a business domain Shipping Returns Customer Service


  1. TESTING & DEPLOYING MICROSERVICES Sam Newman Flowcon, September 2014 1

  2. Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  3. Focused around a business domain Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  4. Focused around a business domain Shipping Returns Technology Agnostic API Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  5. Focused around a business domain Shipping Returns Technology Agnostic API Customer Service Small Invoicing Accounts Inventory @ fl owconsf @samnewman

  6. Independently Releasable @ fl owconsf @samnewman

  7. Testing Deployment @ fl owconsf @samnewman

  8. Service Host @ fl owconsf @samnewman

  9. Service Service Service VS Service Service Host Host @ fl owconsf @samnewman

  10. Service Service Service VS Service Service Host Much Easier To Reason About Host @ fl owconsf @samnewman

  11. Service Service Service VS Service Service Host Much Easier To Reason About Host Easier To Provision @ fl owconsf @samnewman

  12. Service Service Service VS Service Service Host Much Easier To Reason About Host Easier To Provision Fewer Side-e ff ects @ fl owconsf @samnewman

  13. Service Service Service VS Service Service Host Much Easier To Reason About Host Easier To Provision Fewer Side-e ff ects Enforces Interdependence @ fl owconsf @samnewman

  14. Service Service Service VS Service Service Host Much Easier To Reason About Host Easier To Provision Lower host-management overhead Fewer Side-e ff ects Enforces Interdependence @ fl owconsf @samnewman

  15. Service Service Service VS Service Service Host Much Easier To Reason About Host Easier To Provision Lower host-management overhead Fewer Side-e ff ects Cheaper! Enforces Interdependence @ fl owconsf @samnewman

  16. Reducing Host Management Overhead? @ fl owconsf @samnewman

  17. API-driven Host Provisioning @ fl owconsf @samnewman

  18. Virtualisation Platforms @ fl owconsf @samnewman

  19. VMWare Virtualisation Platforms @ fl owconsf @samnewman

  20. AWS VMWare Digital Ocean Virtualisation Platforms @ fl owconsf @samnewman

  21. Step 0: Provision Host @ fl owconsf @samnewman

  22. Step 0: Provision Host Step 1: Con fi gure Host @ fl owconsf @samnewman

  23. Step 0: Provision Host Step 1: Con fi gure Host Step 2: Install Service @ fl owconsf @samnewman

  24. Step 0: Provision Host Step 1: Con fi gure Host Step 2: Install Service @ fl owconsf @samnewman

  25. @ fl owconsf @samnewman

  26. Ansible Puppet Chef @ fl owconsf @samnewman

  27. Ansible Puppet Chef @ fl owconsf @samnewman

  28. AWS Digital Ocean Ansible Puppet OpenStack Chef VMWare @ fl owconsf @samnewman

  29. AWS Digital Ocean Ansible Puppet OpenStack Chef VMWare Vagrant @ fl owconsf @samnewman

  30. Immutable Servers AWS Digital Ocean Ansible Puppet OpenStack Chef VMWare Vagrant @ fl owconsf @samnewman

  31. Immutable Servers AWS Fast Spin-up Digital Ocean Ansible Puppet OpenStack Chef VMWare Vagrant @ fl owconsf @samnewman

  32. Immutable Servers AWS Fast Spin-up Provider Agnostic Digital Ocean Ansible Puppet OpenStack Chef VMWare Vagrant @ fl owconsf @samnewman

  33. Immutable Servers AWS Fast Spin-up Provider Agnostic Digital Ocean Ansible Puppet OpenStack Chef VMWare Feedback Can Su ff er Vagrant @ fl owconsf @samnewman

  34. Immutable Servers AWS Fast Spin-up Provider Agnostic Digital Ocean Ansible Puppet OpenStack Chef VMWare Feedback Can Su ff er Cycle Time Vagrant @ fl owconsf @samnewman

  35. Immutable Servers @ fl owconsf @samnewman

  36. Cost? @ fl owconsf @samnewman

  37. Apps Apps Apps OS OS OS VM VM VM Hypervisor Base OS Machine @ fl owconsf @samnewman

  38. Apps Apps Apps OS OS OS VM VM VM Expensive! Hypervisor Base OS Machine @ fl owconsf @samnewman

  39. @ fl owconsf @samnewman

  40. @ fl owconsf @samnewman

  41. DOCKER @ fl owconsf @samnewman

  42. DOCKER Machine @ fl owconsf @samnewman

  43. DOCKER Base OS Machine @ fl owconsf @samnewman

  44. DOCKER Docker Base OS Machine @ fl owconsf @samnewman

  45. DOCKER Apps Docker Base OS Machine @ fl owconsf @samnewman

  46. DOCKER Apps Apps Docker Base OS Machine @ fl owconsf @samnewman

  47. DOCKER Apps Apps Apps Docker Base OS Machine @ fl owconsf @samnewman

  48. DOCKER Docker Image Registry Apps Apps Apps Docker Base OS Machine @ fl owconsf @samnewman

  49. DOCKER Docker Image Registry Apps Apps Apps Docker Base OS Machine @ fl owconsf @samnewman

  50. DOCKER Docker Image Registry Apps Apps Apps Docker Base OS Machine @ fl owconsf @samnewman

  51. @ fl owconsf @samnewman

  52. @ fl owconsf @samnewman

  53. Semi-permanent Servers @ fl owconsf @samnewman

  54. Semi-permanent Servers Image-based Deployments @ fl owconsf @samnewman

  55. Semi-permanent Servers Image-based Deployments Docker @ fl owconsf @samnewman

  56. Testing @ fl owconsf @samnewman

  57. The Monolith DB @ fl owconsf @samnewman

  58. The Monolith DB @ fl owconsf @samnewman

  59. The Monolith DB @ fl owconsf @samnewman

  60. The Monolith DB @ fl owconsf @samnewman

  61. Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  62. Shipping Returns Customer Service Invoicing Accounts Inventory Inventory @ fl owconsf @samnewman

  63. Shipping Returns Customer Service Invoicing Accounts Inventory Inventory @ fl owconsf @samnewman

  64. Accounts Inventory Mountebank http://www.mbtest.org @ fl owconsf @samnewman

  65. Accounts � Inventory Stub Mountebank http://www.mbtest.org @ fl owconsf @samnewman

  66. Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  67. Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  68. Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  69. Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  70. Shipping Returns Customer Service Invoicing Accounts Inventory @ fl owconsf @samnewman

  71. @ fl owconsf @samnewman

  72. Browsers @ fl owconsf @samnewman

  73. Timing Browsers @ fl owconsf @samnewman

  74. Provisioning of Environments Timing Browsers @ fl owconsf @samnewman

  75. Networks Provisioning of Environments Timing Browsers @ fl owconsf @samnewman

  76. Deployment Networks Provisioning of Environments Timing Browsers @ fl owconsf @samnewman

  77. Deployment Networks Provisioning of Environments Timing Browsers Diagnosis @ fl owconsf @samnewman

  78. CONSUMER-DRIVEN CONTRACTS Shipping Inventory @ fl owconsf @samnewman

  79. CONSUMER-DRIVEN CONTRACTS Shipping Inventory Expectations @ fl owconsf @samnewman

  80. CONSUMER-DRIVEN CONTRACTS Shipping Inventory Expectations @ fl owconsf @samnewman

  81. CONSUMER-DRIVEN CONTRACTS Shipping Inventory Expectations Prod @ fl owconsf @samnewman

  82. CONSUMER-DRIVEN CONTRACTS Shipping Inventory Expectations Prod @ fl owconsf @samnewman

  83. @ fl owconsf @samnewman

  84. https://github.com/realestate-com-au/pact @ fl owconsf @samnewman

  85. No Integration Tests? @ fl owconsf @samnewman

  86. Journeys @ fl owconsf @samnewman

  87. Testing @ fl owconsf @samnewman

  88. Testing S/M Tests Large Tests Build @ fl owconsf @samnewman

  89. Testing S/M Tests Large Tests Build @ fl owconsf @samnewman

  90. Testing S/M Tests Large Tests Production Build @ fl owconsf @samnewman

  91. Monitoring & Testing Alerting S/M Tests Large Tests Production Build @ fl owconsf @samnewman

  92. Monitoring & Testing Alerting S/M Tests Large Tests Production Build Testers @ fl owconsf @samnewman

  93. Monitoring & Testing Alerting S/M Tests Large Tests Production Build Testers Operations @ fl owconsf @samnewman

  94. Testing Monitoring & Alerting @ fl owconsf @samnewman

  95. Prod Prod Prod Prod @ fl owconsf @samnewman

  96. Prod Prod QA Prod Prod @ fl owconsf @samnewman

  97. Monitoring & Testing Alerting @ fl owconsf @samnewman

  98. Monitoring & Testing Alerting @ fl owconsf @samnewman

  99. Monitoring & Testing Alerting @ fl owconsf @samnewman

  100. Monitoring & Testing Alerting @ fl owconsf @samnewman

Recommend


More recommend