Guaranteed Delivery - Delivering Infrastructure and Code Together - Matt Moor

Preview:

DESCRIPTION

 

Citation preview

#atlassian

Matt Moor • Senior Build Engineer • Atlassian • @imprecise_matt

Guaranteed Delivery:Shipping Infrastructure and Code

Together

What?

Continuous Delivery?

Deployable, all the time

Code

Infrastructure

Code + Infrastructure

Why?

Avoid surprises at deployment time

Culture.

Devops

establish a common ground between development and

operations

Devops Means Giving A Shit About Your Job Enough To Not Pass The Buck. Devops Means Giving A Shit About Your Job Enough To Want To Learn All The Parts And Not Just Your Little World. !

Developers Need To Understand Infrastructure. Operations People Need To Understand Code. People Need To Fucking Work With Each Other And Not Just Occupy Space Next To Each Other.

J o h n V i n c e n t ( @ l u s i s )

another tool to help you to get people working together

Mean Time Between Failures (MTBF)

How?

3 Builds

3 Builds2 Shared Artefacts

3 Builds2 Shared Artefacts

1 Deployment

shared artefacts?

automate your infrastructure builds

tests

serverspec

serverspec

configuration management

Puppet

Puppet

virtual machine images

packer

packer

infrastructure build

config management checkout

→ →

VM image

infrastructure build

config management checkout

→ →

VM imageVM image

a build for your code

checkout → build → unit tests →

functional tests

checkout → build → unit tests →

functional tests

checkout → build → unit tests →

functional tests

integration build

download your machine image

start a VM from your machine image

Vagrant

download your code artefact

run your code on the VM

run your functional tests

Deployment

tie it all together

build notifications

code build

code buildinfra build

code buildinfra build →

code buildinfra build → integration build

code buildinfra build → integration build→

code buildinfra build → integration build→

deployment

tips & tricks

Thank you!

Matt Moor • Senior Build Engineer • Atlassian • @imprecise_matt

Questions?

Ask live: bit.ly/ask-atlassian !

Log in with your email you used to register