Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder...

92
Rise of the Machine Images Immutable Infrastructure @axelfontaine

Transcript of Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder...

Page 1: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Rise of the Machine Images

ImmutableInfrastructure

@axelfontaine

Page 2: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

About Axel Fontaine

• Founder and CEO of Boxfuse

• Over 15 years industry experience

• Continuous Delivery expert

• Regular speaker at tech conferences

• JavaOne RockStar

@axelfontaine

Page 3: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

flywaydb.org

Page 4: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

boxfuse.com

Page 5: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

about

questions

Page 6: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

sometime in the 20th century …

Page 7: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert
Page 8: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

http://en.wikipedia.org/wiki/File:Tdkc60cassette.jpg

Page 9: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert
Page 10: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

+=ONPREM

+

Challenges

Power Network Cooling Phys. Security Phys. Space

OS Install OS Patching App Install App Updates

Procurement Vendor Mgmt Capacity Plan. Financing

Page 11: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

+=ONPREM

+

Challenges

Power Network Cooling Phys. Security Phys. Space

OS Install OS Patching App Install App Updates

Procurement Vendor Mgmt Capacity Plan. Financing

Page 12: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert
Page 13: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

+=ONPREM

+

Challenges

Power Network Cooling Phys. Security Phys. Space

OS Install OS Patching App Install App Updates

Procurement Vendor Mgmt Capacity Plan. Financing

MonthsHours Days or Weeks

Page 14: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

+= +

Challenges

Power Network Cooling Phys. Security Phys. Space

OS Install OS Patching App Install App Updates

Procurement Vendor Mgmt Capacity Plan. Financing

MonthsHours Days or Weeks

COLO

Page 15: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

+= +

Challenges

OS Install OS Patching App Install App Updates

Procurement Vendor Mgmt Capacity Plan. Financing

Hours Days or Weeks

ROOTSERVER

Page 16: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Install OS Patching App Install App Updates

Let’s talk about software

Page 17: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

POLL:which level of automation are you at?

Build Unit Tests Continuous Integration Acceptance Tests Continuous Deployment (Code) Continuous Deployment (Code + DB + Configuration) Infrastructure

Page 18: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Build Test

Page 19: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Build Test

Page 20: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

• One immutable unit• Regenerated after every change• Promoted from Environment to Environment

Classic Mistake: Build per Environment

Page 21: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

Page 22: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

Page 23: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

why aren’t we doing the samefor the layers this is running on ???

Page 24: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert
Page 25: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

Build Test

Page 26: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

Build Test

App

Page 27: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

Any difference is a potential source of errors

Page 28: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

Updates UpdatesUpdates

Sysadmin

Page 29: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

If I had asked my customers what they wanted they would have said a faster horse.

Henry Ford

Page 30: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

Updates UpdatesUpdates

Sysadmin

Page 31: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

Updates UpdatesUpdates

Automated Sysadmin

Page 32: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

fast forward to 2016 …

Page 33: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Every day, AWS adds enough server capacity to power the whole $7B enterprise Amazon.com was in 2004.Weekends included.

Page 34: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Shift to a world of abundance(no more resource scarcity)

Page 35: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

"Advanced Test Reactor" by Argonne National Laboratory -originally posted to Flickr as Advanced Test Reactor core, Idaho National LaboratoryUploaded using F2ComButton. Licensed under CC BY-SA 2.0 via Wikimedia Commons -http://commons.wikimedia.org/wiki/File:Advanced_Test_Reactor.jpg#mediaviewer/File:Advanced_Test_Reactor.jpg

"RIAN archive 341194 Kursk Nuclear Power Plant" by RIA Novosti archive, image #341194 / Sergey Pyatakov / CC-BY-SA 3.0. Licensed under CC BY-SA 3.0 via Wikimedia Commons -http://commons.wikimedia.org/wiki/File:RIAN_archive_341194_Kursk_Nuclear_Power_Plant.jpg#mediaviewer/File:RIAN_archive_341194_Kursk_Nuclear_Power_Plant.jpg

Control Plane Data Plane

Page 36: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Control Plane Data Plane

Page 37: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Automated Provisioning

Cost-driven Architectures

Page 38: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

it is time to rethink the faster horse

Page 39: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

App

OS Kernel

Libraries

Language

App Server

Build Test

Page 40: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

App

OS Kernel

Libraries

Language

App Server

Build Test

UndifferentiatedHeavy lifting

Page 41: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

App

OS Kernel

Libraries

Language

App Server

Build Test

Page 42: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

App

Machine Image

OS Kernel

Libraries

Language

App Server

Build TestMachine

Image

Page 43: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

OS Kernel

Libraries

Language

App Server

App

Machine Image

Machine Image

Machine Image

Page 44: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Machine Image

Machine Image

Machine Image

Updates

Page 45: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

but there is one big problem left …

Page 46: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Machine Image

Network Cable

Page 47: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Machine Image

Network CableMultiple

GB

Page 48: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Running servers in production should be like going backpacking. You take the bare minimum with you. Anything else is going to hurt.

A Wise Man

Page 49: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

what is really adding business value ???

Page 50: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Machine Image

Network Cable

Page 51: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Editors

Daemons OS Kernel

Libraries

Utilities

Drivers

App

App Server

Package Mgr

Compilers

SSH

Firewall

Compatibility

Man Pages

Language

Log Files

Users

Shells

Machine Image

Network Cable

Page 52: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

App

App Server

Language

Bootable App

Page 53: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

15MB

Page 54: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

MultipleGB

15MB

Page 55: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Network CableBootable

App

Page 56: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

who is this for ???

Page 57: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

OS Kernel

Libraries

Language

App Server

App

12-factor app

Page 58: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

demo

Page 59: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

What are the implications ???

Page 60: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Focus shift

Individual instances become disposable

Instance Service

Page 61: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Treat servers like cattle instead of pets

Page 62: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

for servers is dead!

Page 63: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

high uptime is a liability

The longer an instance is up,the harder it becomes to recreate exactly

(and it will fail eventually!)

Page 64: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

How to solve service discovery ?

Use a stableentry point

with aninternal registry

? ElasticLoad

Balancer

Instance

Instance

Instance

Page 65: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

What about security ?

When was the last time your toaster got hacked?

Page 66: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

What about security ?

Complexity is the Enemy of Security

Page 67: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

What about security ?

• Smallest possible attack surface

• Vastly reduced implications due to low uptime and transient nature of instances

• Very difficult to exploit other systemsbecause essential tooling is missing

Bootable App

Page 68: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

• Bake as much configuration as possible for all environments directly in the Bootable App

• Use environment detection and auto-configuration

what about configuration ???

Page 69: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Bootable App

Key Value

JDBC_URL jdbc:…

ENV prod

what about configuration ???

• Bake as much configuration as possible for all environments directly in the Bootable App

• Use environment detection and auto-configuration

• Pass remaining configuration at startup and expose it as environment variables

Page 70: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Instance

what about the database ???

• Keep all persistent state out of the instance, including the database

• Use one of the many good hosted solutions available like Amazon RDS or Google Cloud SQL

• Use a database migration tool to update the schema on application startup

Page 71: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

what about the logs ???LOG file

LOG file

LOG file

ssh me@myserver1tail -f server.log

ssh me@myserver2tail -f server.log

ssh me@myserver3tail -f server.log

Page 72: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

LOG file

LOG file

LOG file log server

where logs can be• aggregated• stored and backuped• indexed• searched

Page 73: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

what about sessions ???

Keep session in an encrypted and signed cookie

• avoids session timeouts• avoids server clustering & session replication• avoids sticky sessions & server affinity

Instance

Page 74: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

what about rolling out new versions ???

Page 75: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Availability Zone 2

Load Balancer

Logs

Availability Zone 1

AppV1

AppV1

Page 76: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Load Balancer

Logs

Availability Zone 1

AppV1

AppV1

Availability Zone 2

Page 77: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Load Balancer

Logs

Availability Zone 1

AppV1

AppV1

AppV2

AppV2

Availability Zone 2

Page 78: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Load Balancer

Logs

Availability Zone 1

Availability Zone 2

AppV1

AppV1

AppV2

AppV2

Page 79: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

what about containers ???(as in OS-level virtualization)

Page 80: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

understanding modern CPUs

Both Intel and AMD have hardware support for virtualization

• isolation• performance penalty

Page 81: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Image

Hardware

Hypervisor

Image

Hardware

OS+ContainerRuntime

ContainerVM

on prem

your responsibility

Page 82: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Image

Hardware

Hypervisor

Image

Hardware

OS+ContainerRuntime

ContainerVM

cloud

Hypervisor

Page 83: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

cloud

your responsibility

cloud responsibilityinstance

schedulingmachineimages

instances instancevolumes

instancenetworking

containerscheduling

containerimages

containers containervolumes

containernetworking

Page 84: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

1.5 months of t2.nano

Page 85: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

1 hour of t2.nano

Page 86: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

cloud

your responsibility

cloud responsibilityinstance

schedulingmachineimages

instances instancevolumes

instancenetworking

containerscheduling

containerimages

containers containervolumes

containernetworking

Only makes sense if you cannot afford

0.5p/hour granularity

Page 87: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

summary

Page 88: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

• One immutable unit• Regenerated after every change• Promoted from Environment to Environment

Classic Mistake: Build per Environment

Page 89: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Bootable App

• One immutable unit• Regenerated after every change• Promoted from Environment to Environment• Use Minimal Images• Focus on Cost in your architectureClassic Mistake: Build per Environment

Page 90: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

boxfuse.com

Page 91: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

Thanks

Page 92: Immutable Infrastructure · Immutable Infrastructure @axelfontaine. About Axel Fontaine •Founder and CEO of Boxfuse •Over 15 years industry experience •Continuous Delivery expert

AXEL FONTAINE@axelfontaine

boxfuse.com

I'LL BE BACK