Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Immutable Servers & Image Bakery

Immutable Servers & Image Bakery

Immutable Servers/Infrastructure and Deploying Apps with Bakery Model

Mehmet Ali Aydın

April 19, 2017
Tweet

More Decks by Mehmet Ali Aydın

Other Decks in Technology

Transcript

  1. DevOps & Microservices Consultancy We consult you move towards Containerization,

    Automated Provisioning, Deployment/Release Automation, Test Automation, Performance Tuning and moving to Cloud …
  2. Server Operations Server B Server B Server C Server C

    Server C Server E Server E Server E Server F Server F Server A Server A Server A Server D Server D Server B Server D Server F
  3. Maintenance Time of one Machine • Get informed with alarms:

    ~ 2 minutes • Investigate error logs and find the problem: ~ 5 minutes • Solve the problem: 3 minutes • Total Time: ~ 10 minutes Maintenance Time of 10 Machines • 7 + (3 x n) minutes • Total Time: ~ 37 minutes Maintenance Time
  4. Replacement Time of one Machine • Get informed with alarms:

    ~ 2 minutes • Initialization of a new machine: ~ 2 minutes • Application boot up and health checks: ~ 1 minute • Total time: ~ 5 minutes Replacement Time of 10 Machine • 3 + 2 minutes • Total time: ~ 5 minutes Replacement Time
  5. SLA level of 99.99 % uptime/availability gives following periods of

    potential downtime/unavailability: • Monthly: 4m 23.0s • Yearly: 52m 35.7s SLA level of 99.999 % uptime/availability gives following periods of potential downtime/unavailability: • Monthly: 26.3s • Yearly: 5m 15.6s High Availability & Uptime
  6. • Server #1 : $> node --version $> v6.9.0 •

    Server #2 : $> node --version $> v6.9.2 • Server #3 : $> node --version $> v6.9.4 Snowflake Servers
  7. Rolling Updates Image Repository Baked Image v2 App Instance v1

    App Instance v1 App Instance v2 App Instance v2 App Instance v1 App Instance v2 App Instance v2 App Instance v1