docker @ novacoast - docker santa barbara meetup #1
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
1
n
docker & Devops @ novacoast
n
Novacoast, Inc.Who we are…
2
‣4 Internal ops engineers ‣75 Field Engineers ‣25 Developers ‣40 Sales / Admin
‣ Internal User Base 140+
n
Pre-devops & Docker
3
‣Manual changes directly to servers
‣Each server is unique
‣Difficult to recreate a server
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
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
Version control
8n
‣GIT, SVN, BZR, HG
‣ Issue tracking
‣Activity feeds
‣Protected Branches / Forking
‣Pull Requests / Code Reviews
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.
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
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
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
n 20
Demo Time!!!
https://github.com/Novacoast/dockermeetup1