devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo...

38
devops with docker @beshippable

Upload: others

Post on 19-Jul-2020

25 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

devops with docker@beshippable

Page 2: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

avi cavale co-founder & ceo @avinci || [email protected]

continuous app delivery pipelines

Page 3: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

the most frequently asked question during an outage

Page 4: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

the most frequently asked question during an outage

what changed?

Page 5: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

the immediate next question is….

Page 6: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

the immediate next question is….

who made the change?

Page 7: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

both questions are bad for your business

Page 8: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

both questions are bad for your business

slowing down

Page 9: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

both questions are bad for your business

courtesy : dilbert comics

slowing down finger pointing

Page 10: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

change is the root cause of almost all outages, but…

Page 11: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

change is the root cause of almost all outages, but…

“business requires change”

Page 12: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

“need to embrace change”

dev$app$A$

dev$app$B$

dev ops

Page 13: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

“need to embrace change”

dev$app$A$

dev$app$B$

dev ops

devops: a CULTURE of embracing change

Page 14: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

we embraced it tightly

Page 15: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

change complete

traditional

application delivery pipeline

Page 16: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

change complete

development

traditional

application delivery pipeline

Page 17: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

change complete

development unit testing

traditional

application delivery pipeline

Page 18: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

change complete

development unit testing functional testing

traditional

application delivery pipeline

Page 19: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

change complete

development unit testing functional testing deployment

traditional

application delivery pipeline

Page 20: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

change complete

development unit testing functional testing deployment running

traditional

application delivery pipeline

Page 21: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

development unit testing functional testing deployment running

devops culture embraced

change complete

application delivery pipeline

Page 22: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

development unit testing functional testing deployment running

devops culture embraced

change complete

15-20% improvement

application delivery pipeline

Page 23: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

development unit testing functional testing deployment running

devops culture embraced

change complete

15-20% improvement

org silo friction1

application delivery pipeline

Page 24: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

development unit testing functional testing deployment running

devops culture embraced

change complete

15-20% improvement

org silo friction1

tool chain vertically optimized2

application delivery pipeline

Page 25: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

time

change required

development unit testing functional testing deployment running

devops culture embraced

change complete

15-20% improvement

org silo friction1

tool chain vertically optimized2

deployable image built last3

application delivery pipeline

Page 26: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

20% better is not a REVOLUTION!

courtesy : V for Vendetta

Page 27: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

courtesy : V for Vendetta

why not build deployable image first?

Page 28: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

devops is culture, so to make it a

FACT

Page 29: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

devops is culture, so to make it a

application delivery pipelines

FAC

rictionless

gile

ontinuous

ransparentT

Page 30: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

Transparencyif you want to do just 1 thing this year

every action

• starts in a chat room

• tracked as a github issue

• ends in a chat room

Page 31: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

Transparencyif you want to do just 1 thing this year

business req

support

prod errors

every action

• starts in a chat room

• tracked as a github issue

• ends in a chat room

Page 32: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

Continuous

• continuous integration for every pull-request

• 1 step docker build image for every merge to `master`

• 1 step auto deploy & continuous functional testing

• deployment to prod is just changing an ENV var

Page 33: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

Agile• no SSH!

• bug fixes, new changes, ops scripts all go the same way

• always deployable `master` • no feature branching

• feature flags • in-code branching

• small frequent changes • beta program

Page 34: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

Frictionless

r10r11r12api

r19r20r21fe

container fab

dev

beta

prod

r12 apir21 fe

r11 apir20 fe

r10 apir20 fe

i234

i179

i444

i534

i191

i744

app delivery pipelines

Page 35: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

ship images 40-60 times a day

noticeable FACTs

15 devs in 5 timezones

2hrs mean time to resolve bugs

Page 36: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

where are we going from here?

micro-services baby!

throughput creates merge hell

rapid changes on 1 repo creates

images chaos

Page 37: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

email me [email protected]

signup for our beta program

45,000 devs on Shippable

25,000 build containers/week

Page 38: devops with docker...2015/04/14  · devops with docker @beshippable avi cavale co-founder & ceo @avinci || avi@shippable.com continuous app delivery pipelines the most frequently

thank you very much

questions?

@beshippable