Sie sind auf Seite 1von 38

The Next Level Of Agile: DevOps and CD

2015‫רבוטקואוקטובר‬
?Who Am I

Sandrine Kalk
DevOps CI/CD Unit Business Manager
V-Ness
Sandrine.kalk@ness.com
Dev & Ops Typically conversation

• Put the current release • What are the


live, NOW! dependencies?
• It works on my machine • No machines available…
• We need this Yesterday • Which DB?
• You are using the wrong • High Availability?
version • Scalability?
Dev Vs. Ops
Make the balance between Dev & Ops
Keep it simple

• Reduce risk of Release


• Make small changes and Test it every cycle
• Small changes can make the different for Ops & Dev
DEVOPS = Development + Operation

https://www.flickr.com/photos/32490173
?What is DevOps

CAMS

• Culture
• Automation
• Measurements
• Sharing
What This will Bring you?

• Faster Time to Market


• Quality of Code/Release
• Integration Often
• Deploy Often
• Automated
• Every one is happy
Culture - Build One Team

One Team different Skills


• Development
• CI CD
• Testing
• Infrastructure
• Monitoring

One Goal = Help the business


Culture – Enable Communication
Culture – Build Trust

• Experiments
• Measure of success
• Measure of failure
• Trust Between People
• Automate

https://www.flickr.com/photos/dobs/10726756606
Culture – Play Together

• More Ideas
• Sharing Responsibility
• More Fun

https://www.flickr.com/photos/hgrules/2264498384
Automation - Principles of
Continuous Delivery

Principle #1 Principle #3

Every build is a potential release Automate wherever possible

Principle #2 Principle #4

Eliminate manual bottlenecks Have automated tests you can trust


Automation – Automate all the things

• Reproducible Build
• Build on a Prod-Like environment
• No more “Works on my machine”
• Test
• Testing reduces risks
• Make you more confident
• Deploy
• Deploy to Dev
• Deploy to QA
• Deploy to Pre-Prod
• Prod
Automation – Continuous Deployment
Automation – Continuous Integration

• Build each “Commit” – check the integration code


• Static Code Analysis
• Perform set of Tests – Unit Test ,Automation Tests ,
Regression, TDD and compatibility Test
• Nightly and Weekly
• Packaging
• Delivery
• Deploy
Automation – Continuous Deployment

• Deployment Automation/Continuous Delivery


• Distributing the components of the releasable package
into target environment (Dev, Test, Prod)
• Provisioning
• Create and readying the target Env. And middleware
required by your application.
• Automated Testing
• Verify:
– Functional
– None functional
• Feedback

TESTS = DEPLOYMENT HEALTH


Automation – Continuous Deployment

Test&Staging

Env
nodes

Code Tests
Automati Env
Issue SCM CI Config Binary Repo
on Master Env
Runbooks Env Specs nodes

Deployment
Packages
Automation

Env
nodes

Production
Automation – IAC

Infrastructure As A Code

• Put Infra under version control


• History , Melodize your infra
• Deploy monitoring , backups and apps
• IT IS NOT SCRIPTING !
• Think Puppet, Chef, Ansible, Udeploy….
Automation - FEEDBACK
Automation – High Availability
Automation – Scalability
Measurements
Measurements - Metrics

• Easy to Create new Metrics


• Build Dashboards
• Learn from logs
• Learn from *
Measurements - Monitoring

• Monitor Every Platform – Dev, QA, Prod, see troubles early


• Run Time:
• OS
– Disk, CPU, I/O, Memory
• Middleware
– Queues
– API calls
– Connections
• Application
– Response time
– Users
– Objects
– Usage
Measurements - Monitoring
Measurements – Measure Everything

• Deployments
• Commits
• Tickets
• Bugs
Measurements – Read Metrics

• Get Business Keys


• Share dashboard with dev ops mgmt.
• Find metrics that matter
• Learn from metrics
Sharing
Finally – Zero Bug Approach
Implementation example

Install & config


Full ALM Solution - CI
DevOps CI/CD and ALM
!Thank You

Das könnte Ihnen auch gefallen