Docker Meetup at Docker HQ: Docker Cloud

13
CI/CD with Docker Cloud Overview and Demo Ryan Kennedy [email protected] @pkennedyr Bryan Lee [email protected] @kickingthetv Alberto Megia [email protected] @sr_naranja

Transcript of Docker Meetup at Docker HQ: Docker Cloud

Page 1: Docker Meetup at Docker HQ: Docker Cloud

CI/CD with Docker CloudOverview and Demo

[email protected]

@pkennedyr

[email protected]

@kickingthetv

[email protected]

@sr_naranja

Page 2: Docker Meetup at Docker HQ: Docker Cloud

2

Build, Ship, Run Distributed Applications Anywhere

Containers as a Service• Integrated platform for IT and developers• Commercial technical support provider (Docker, IBM)

Docker Project Sponsor• Primary contributor and maintainer to Docker project• 2B+ Image pulls, 1500+ Contributors, 200,000+

DockerizedApplications

Docker Inc.

Gerber, Anna. “The State of Containers and the Docker Ecosystem: 2015” O’Reilly, September 2015

Docker users running in production

40%

Page 3: Docker Meetup at Docker HQ: Docker Cloud

Docker CaaS OverviewDevelopers IT Operations

BUILDDevelopment Environments

SHIPCreate & Store Images

RUNDeploy, Manage, Scale

3

Page 4: Docker Meetup at Docker HQ: Docker Cloud

Docker CloudA SaaS service, hosted in the cloud by Docker, that enables enterprise teams to build, test, deploy, and manage their dockerized distributed applications in any cloud environment.

Page 5: Docker Meetup at Docker HQ: Docker Cloud

Build & test distributed apps • Autobuild images

• Automated repository tests• Store images in Docker Hub &

external registries• Point and click GUI, CLI and

RESTful API experience • Easily create simple single service or

complex multi-service apps

5

Page 6: Docker Meetup at Docker HQ: Docker Cloud

Deploy & manage anywhere• Infrastructure flexibility for dev and

ops teams

• Securely link to any cloud provider

• Bring your own infrastructure

• One step to provision, install configure and cluster Docker Engines

• Automated redeployment of images

• Point and click to scale & manage your Docker environment

6

Page 7: Docker Meetup at Docker HQ: Docker Cloud

Manage distributed apps anywhere• Intuitive dashboards provide holistic

visibility

• Gain insight with logs and service history

• One click create, start, terminate, deploy and redeploy

• Point and click to change configurations and scale containers

7

Page 8: Docker Meetup at Docker HQ: Docker Cloud

Continuous Integration

• Development practice where members of a team integrate their work frequently, usually each person integrates at least daily - leading to multiple integrations per day.

• Each integration is verified by an automated build (including tests) to detect integration errors as quickly as possible.

• Leads to significantly reduced integration problems (via smaller code changes) and allows a team to develop cohesive software more rapidly

8 http://martinfowler.com/articles/continuousIntegration.html

Page 9: Docker Meetup at Docker HQ: Docker Cloud

Continuous Delivery

• Software development discipline where software is built in such a way that the software can be released to production at any time

• To achieve continuous delivery you need:– extensive automation of all possible parts of the delivery process, usually

using a deployment pipeline– a close, collaborative working relationship between everyone involved in

delivery

9 http://martinfowler.com/bliki/ContinuousDelivery.html

Page 10: Docker Meetup at Docker HQ: Docker Cloud

Benefits of CI/CD

• Reduce Risk– Deploying smaller changes means there's less to go wrong and it's easier to

fix should a problem appear– Smaller changes make it easier to find problems -> Integration becomes

easier• User Feedback (via faster iteration cycles)

– Biggest risk to any software effort is that you end up building something that isn't useful

– Earlier and more frequently you get working software in front of real users, the quicker you get feedback to find out how valuable it really is

10 http://martinfowler.com/bliki/ContinuousDelivery.html

Page 11: Docker Meetup at Docker HQ: Docker Cloud

CI/CD via Docker Cloud

11

Developer

Versioncontrol

1. Development 2. Test 3. Stage / Production

QA / QE

Sysadmin

Autobuilds Auto redeploy

Page 12: Docker Meetup at Docker HQ: Docker Cloud

Demo Time!

Page 13: Docker Meetup at Docker HQ: Docker Cloud

THANK YOU