docker @ novacoast - docker santa barbara meetup #1

21
1 n docker & Devops @ novacoast

Upload: novacoast-ops

Post on 18-Jun-2015

1.722 views

Category:

Technology


3 download

DESCRIPTION

Sam Boynton and Ryan Trauntvein from Novacoast, Inc. discuss and demo how Novacoast operations adopted DevOps methodologies utilizing Docker and related technologies. Check out the Github repo for the demo container and Dockerfile: https://github.com/Novacoast/dockermeetup1 https://www.novacoast.com/

TRANSCRIPT

Page 1: Docker @ Novacoast - Docker Santa Barbara Meetup #1

1

n

docker & Devops @ novacoast

Page 2: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n

Novacoast, Inc.Who we are…

2

‣4 Internal ops engineers ‣75 Field Engineers ‣25 Developers ‣40 Sales / Admin

‣ Internal User Base 140+

Page 3: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n

Pre-devops & Docker

3

‣Manual changes directly to servers

‣Each server is unique

‣Difficult to recreate a server

Page 4: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n

From a Novacoast Ops Team Perspective

Pre-Devops

‣Code is given to the Developer

‣Developer builds solution on “Dev server”

‣Developer hands off code to Operations

‣Due on Production by X time

‣ Likely deployed manually

‣ Something is broken in Production

‣Needs to be fixed in Production. Now.

4

Page 5: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n

devops

5

‣ Getting changes to users quickly, reliably, and securely.

‣ Many releases per day or hour.

‣ More confidence due to automated testing

‣ Portability

‣ Reproducibility

‣ (Too) many tools to choose from

Communication, collaboration and integration

Page 6: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 6

Dev ops

Page 7: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 7

Dev ops

Page 8: Docker @ Novacoast - Docker Santa Barbara Meetup #1

Version control

8n

‣GIT, SVN, BZR, HG

‣ Issue tracking

‣Activity feeds

‣Protected Branches / Forking

‣Pull Requests / Code Reviews

Page 9: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 9

Dev ops

Page 10: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 10

Dev ops

Page 11: Docker @ Novacoast - Docker Santa Barbara Meetup #1

Everyone’s favorite / why we are here

Docker!!

11n

‣ A platform for devs and ops to build, ship, and run application images.

‣ Version control for an app and its whole environment

‣ Test containers local deploy globally with confidence.

Page 12: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 12

Dev ops

Page 13: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 13

Dev ops

Page 14: Docker @ Novacoast - Docker Santa Barbara Meetup #1

Stop bad code in its tracks

Automated Testing

14n

‣ Jenkins, Travis, Codeship, CircleCI

‣ Merge / Pull request integration

‣ Run tests on code

‣ Feedback dictates next steps

Page 15: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 15

Dev ops

Page 16: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 16

Dev ops

Page 17: Docker @ Novacoast - Docker Santa Barbara Meetup #1

and The Docker Hub

Docker registry

17n

‣ Docker image version control

‣ Push & Pull Images

‣ Image Tags

‣ Self Hosted (Private): github.com/docker/docker-registry

‣ Private 3rd Party

‣ Public / Private Official + Trusted Builds: hub.docker.com

Page 18: Docker @ Novacoast - Docker Santa Barbara Meetup #1

using the Docker Hub

Docker registry trusted build

18n

‣ Built on Docker’s servers

‣ Linked to Github or Bitbucket repository

‣ Dockerfile & Code audit visibility

‣ Per branch builds

‣ docker pull

‣ Web hooks

‣ Private repos for sale

Page 19: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 19

Dev ops

Page 20: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n 20

Demo Time!!!

https://github.com/Novacoast/dockermeetup1

Page 21: Docker @ Novacoast - Docker Santa Barbara Meetup #1

n

QUESTIONS????

21

docker.com/tryit/