Sprekers: Stijn Van den Enden & Stijn Wijndaele (ACA IT-Solutions) DevOps is gericht op het tot stand brengen van een cultuur binnen organisaties waardoor het ontwikkelen, valideren en releasen van software sneller, meer betrouwbaar en frequenter kan verlopen. Om dit te realiseren staan het automatiseren van het 'software delivery process' en de bijhorende infrastructurele veranderingen centraal. Door de opkomst van 'Microservice Architecture' neemt het belang hiervan nog verder toe.
In deze avondconferentie werd, na een korte toelichting over DevOps, nagegaan wat Docker en de Cloud kunnen betekenen voor uw business, en hoe zij als enablers kunnen dienen voor het tot stand brengen van een DevOps-cultuur. Het container-landschap waarvan tools zoals Kubernetes, Docker Swarm, ...een belangrijk onderdeel vormen, wordt toegelicht en er wordt ingegaan op de wijze waarop deze tools aangewend kunnen worden om 'development' en 'operations' efficiënt te laten samenwerken.
7. DevOps
DevOps is gericht op het tot stand brengen van
een cultuur binnen organisaties waardoor het
ontwikkelen, valideren en releasen van software
sneller, meer betrouwbaar en frequenter kan
verlopen
12. Why the Cloud ?
• Elastic Capacity
• Business Agility
• CapEx becomes OpEx
• Enabler for DevOps
13. Business Agility
Add New Dev Environment
Add New Prod Environment
Add New Environment in Japan
Add 1,000 Servers
Remove 1,000 servers
Deploy 2 PB Data warehouse
Shut down 2 PB Data warehouse
IAAS/PAAS:
Infrastructure in Minutes
Old World:
Infrastructure in Weeks
Everything changes with
this kind of agility
+ weeks
Service Request
14. Why the Cloud ?
• Elastic Capacity
• Business Agility
• CapEx becomes OpEx
• Enabler for DevOps
15. Capex becomes Opex
• no initial investments
• no termination fees
• no (real) commitments
• clear pricing model
16. Why the Cloud ?
• Elastic Capacity
• Business Agility
• CapEx becomes OpEx
• Enabler for DevOps
17. Enabler for devops
• Automation - Less repetitive tasks
• Better management tools
• no need to build from scratch - reuse
• Focus on what matters - your business
18. Netflix in 2015
• 69,2 million users
• 42,5 billion streaming hours
• 45GB bandwidth user/month
Source : DMR January 2016
19. Netflix in 2015
• 10x Customers
• 100x Traffic
• 5x Devs
• 2x Cost of IT infrastructure
Source : DMR January 2016
in 2008
21. Tools can enable change
in behavior and
eventually change
culture
‘
[patrick debois]
22. AMI, VMX, OVF, …
Cloud Provider
Continuous Integration
Build, test and integrate applications
Configuration Management
Configure and setup an existing
machine
Orchestration Tools
Provision Infrastructure and services
based on a configuration template
heat
base image
additional packages
application
code-artefact-765
35. docker build -t test/a .
FROM aca—base-ubuntu:1.1
RUN apt-get update
RUN apt-get install -y apache2
RUN touch /opt/a.txt
Let’s build Webserver A!
Our Dockerfile
36. docker build -t test/a .
FROM aca—base-apache:2.1
RUN touch /opt/a.txt
Or even better….
37. docker history test/a
IMAGE CREATED CREATED BY SIZE
4dc359259700 About a minute ago /bin/sh -c touch /opt/a.txt 8 B
9977b78fbad7 About a minute ago /bin/sh -c apt-get install -y apache2 54.17 MB
e83b3bf07b42 2 minutes ago /bin/sh -c apt-get update 20.67 MB
9cd978db300e 3 months ago /bin/sh -c #(nop) ADD precise.tar.xz in / 204.4 MB
6170bb7b0ad1 3 months ago /bin/sh -c #(nop) MAINTAINER Tianon Gravi <ad 0 B
511136ea3c5a 10 months ago 0 B
What is in Webserver A?
38. docker build -t test/b .
Let’s build Webserver B!
FROM aca—base-ubuntu:1.1
RUN apt-get update
RUN apt-get install -y apache2
RUN touch /opt/b.txt
Our Dockerfile
39. docker history test/b
IMAGE CREATED CREATED BY SIZE
c0daf4bw2ed4 5 seconds ago /bin/sh -c touch /opt/b.txt 8 B
9977b78fbad7 About a minute ago /bin/sh -c apt-get install -y apache2 54.17 MB
e83b3bf07b42 2 minutes ago /bin/sh -c apt-get update 20.67 MB
9cd978db300e 3 months ago /bin/sh -c #(nop) ADD precise.tar.xz in / 204.4 MB
6170bb7b0ad1 3 months ago /bin/sh -c #(nop) MAINTAINER Tianon Gravi <ad 0 B
511136ea3c5a 10 months ago 0 B
What is in Webserver B?
43. Containers are here to stay!
The Open Container Initiative (OCI) is
a collaborative project hosted under
the Linux Foundation designed to
establish common standards for
containers.
47. Docker Registry - Private Library
• Tightly control where your images are being stored
• Fully own your images distribution pipeline
• Integrate image storage and distribution
tightly into your in-house development workflow
• Collaborate with your colleagues
48. Docker Hub
• Docker HUB = Docker Registry - As A Service
• Zero Maintenance
• Additional Functionality to increase collaboration
• Alternative Providers : Google / AWS / CoreOS
74. • Set up in seconds, integrates in the AWS stack (ELB, CloudWatch, ECR)
and yes, specific to Amazon WebServices
• Basic capabilities out of the box (no Discovery, …) but extensible
• Ideal for simple containerised workloads
• Opinionated declarative cluster management solution
• Runs on a single machine (in Docker) and on a large datacenter setup
• Rich API for cluster management
• Support for Secrets, Quota, Volumes, …
• Provider agnostic (docker, rkt, amazon, gce, …)
• Abstracts a cluster behind the Docker Remote API
• Networking and scheduling support
• Open plugin points for discovery, networking, …
• Docker only
• Lacks (being out of the box) service load balancing support
• Essentially a resource abstraction
• Scales to +10K nodes
• Job agnostic (more than containers alone)
• Support Kubernetes as one of the many frameworks
79. 2 Container ecosystem is maturing rapidly and cAAS
provides the abstraction sweet spot
1 Cloud services are a true enabler for business agility
3 Leverage Continuous Deployment as
competitive advantage (as long as it lasts)