Continuous
Delivery
Challenges in a
Private Datacenter
Alex Zbarcea
- CD Chief Engineer @SWIFT
- Apache Committer
(alexz@apache.org, in/azbarcea, @azbarcea)
Slide 2
Slide 2 text
ABOUT THIS
PRESENTATION
Continuous
Delivery
Slide 3
Slide 3 text
“
organizations which design
systems ... are constrained to
produce designs which are
copies of the communication
structures of these organizations
- M. Conway
Slide 4
Slide 4 text
test
dev
devops
CC
git
nexus
build (CI) Dev Test QA Prod
nexus
pulp
katello
env
env
env
env
env
env
env
env
predictibility
automation
promotion
artifacts
CD blueprint
.
.
.
.
.
.
.
.
.
Slide 5
Slide 5 text
Successful Practices for
Continuous Delivery
- by Nathen Harvey
- Manual process
- Legacy systems and tools
- Organizational silos
- Infrequent large release
- Regulatory burdens
- ‘‘
- Automate
- Infrastructure as Code
- Increase collaboration
- CD of infrastructure and apps.
- Compliance at velocity
rhel
tomcat
java
app
Another
Distro
One package manager
- automated patches
Reuse
Isolated app.
One hierarchy
security
Conf. Mngt.
Slide 14
Slide 14 text
Demo
Slide 15
Slide 15 text
development
... software development and release processes
Slide 16
Slide 16 text
Challenges
Development
- feature branches
- Continuous Integration
- Continuous Release
- Everybody needs to
understand the Pipeline
Slide 17
Slide 17 text
distribution
... the process of making a product or service available for use or
consumption by a consumer or business user
Slide 18
Slide 18 text
Summary
Challenges
- inventory of INs and OUTs
- limited set of artefact types
- artefact warehouse management
- containerize everything
Slide 19
Slide 19 text
Challenges on
Versioning and
Packaging and
Docker Images
- Use OS (distro) package manager
- Enforce semver
- know your upstream versions:
docker-v1.11.2-1ubuntu2.1
-v
- Jail your apps
- Use data containers
- Use compositions (docker/rancher)
- Define your release trust model
- individuals
- each commit a release
Slide 20
Slide 20 text
beaurocracy
… the administrative system governing any large institution
Slide 21
Slide 21 text
Generated
Versioned
Deliverable
Shared
Searchable
{ }
…
Starts and ends with
Documentation and Reports
operations
… the administrative system governing any large institution
Slide 24
Slide 24 text
Operations
Challenges
- FAIL is good. Trust the upgrade
button
- complexity gets bigger
- generates: lack of trust
- difficult to investigate
- .git/social becomes a core system
- focus is on scaling
- deployments as a non-event