Agile Mëtteg Septembre 2015: Introduction à DevOps

25

Transcript of Agile Mëtteg Septembre 2015: Introduction à DevOps

Page 1: Agile Mëtteg Septembre 2015: Introduction à DevOps
Page 2: Agile Mëtteg Septembre 2015: Introduction à DevOps

24 September 2015

All right reserved

INTRODUCTION TO DEVOPS

Agile Mëtteg free seminar

Page 3: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved6.

AGILE PARTNER IN A FEW WORDS

2015: 50 talents for your projects

Projects location: All over the Greater Region

Client sectors: EU Institution, Public, Finance, Services

2004: Creation of Agile Partner

Page 4: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved6.

WHAT WE CAN DO FOR YOU

Business App Development Agile Project Management

.Net, Java, web, mobile… Scrum Master, Requirements Mgt…

Coaching & TrainingAgile, Lean IT, DevOps…

ConsultingTechnologies, Practices & Tools

Page 5: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Sylvain CHERY Olivier ROBERT

Director, Agile Coach DevOps Consultant

ABOUT US

Page 6: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

What about You ?

How often do you release per year? How confident are you

when you release?

How long does it take you to deploy a code change in Production?

How fast can you fix a bug in Production?

How many different platforms do you manage?

How long does it take you to get user / customer feedback?

Page 7: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Business requirements

DEV QA/Test OPS/PROD Users

Focus of SCRUM

Focus of ITIL

Page 8: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

The reality is often

Page 9: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Embrace the DEVOPS movement

Business requirements

DEV QA/Test OPS/PROD Users

FLOW

FEEDBACK

Make every Release a “non-event”

Page 10: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Culture: processes, people, mindset

Automation: virtualization, cloud, infra as code…

Lean: flow of work, small batches…

Measure: QA, user feedback, monitoring…

Share: information, knowledge, responsibilities, tools…

DEVOPS is…

Page 11: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Business user monitoring

Start your way!

Infrastructure

DEV QA/Test PROD

Business

Ops

Dev

Design & Architecture

Deployment & Release Management

Application Lifecycle Management

Infrastructure Automation

Collaboration

DEVOPS Program

Platform

Page 12: Agile Mëtteg Septembre 2015: Introduction à DevOps

EXAMPLE

Page 13: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Internal application with different developers involved from time to time

In successive time periods a developer may work on multiple customer projects with completely different contexts but with the same workstation

Time is money

Challenges

Page 14: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

An evolutionary solutionA collaborative improvement

Developing on a workstation

Developing on VMs

Developing on provisioned VMs

Developing with containers

Page 15: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Virtual Machines

Page 16: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Containers on top (or not)

Page 17: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Developer workstation

Linux VM

Front Back Els

Mounted FS

Code Code

Data

Native

• VM created with Vagrantand Oracle VirtualBox• Auto provisionning bydocker machine• NoOps setup (script)

• Docker setup

• Tool chain setup

< 1 hour

< 15 mn

Code Repository Registry

Developer

Work Station

• Vagrant• VirtualBox• Docker, Machine,Compose• Ansible• Text editor

Images built by devand opsDocker flow known bydev and ops

Page 18: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Developer environment harmonized, repeatable and destructible

• Managed as code in the common repository

Application environment treated as transient

• Updates, upgrades, patching does not impact server host

• Application stack not locked as “standard”

Workflow

• Autonomy of the developer

• Reduced setup time

• Throw it away when done

Benefits

Page 19: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Deployment pipeline

Devs Testers

Registry

Jenkins Container

ÿ

Ops

QA “throw away” VM

ÿ

Prod

create/provision

Auto deploy (CM) Elastic Beanstalk: backendS3: frontendElasticsearch provider: db

EC2 EC2

deploy/assist

Code Repository

Images

Auto build

Code Versioning Continuous IntegrationImage Versioning Functional Testing Production

TEAM MarketingSales

AWS

Functionaltests

Auto build

Push build trigger

Promote,use, …

Infra

Test

App

Page 20: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

- Dev, Ops, Testers- In sync

- Share tool chain, code, practices and knowledge

- Feedback- From the CI platform

- From testers

- From interactions between parties

- Control- Source code versioning

- Infra code versioning

- Test code versioning

- Container images versioning

Benefits

Page 21: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

- The use and management of application containers is not well-understood, “yet”!

- Docker isolation is not as robust as hypervisor isolation

- Orchestration is a challenge when containers are not handled as standard services

Drawbacks

Page 22: Agile Mëtteg Septembre 2015: Introduction à DevOps

CONCLUSION

Page 23: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Conclusion

Business Objectives

Constraints of the past

New Technologies

Improve incrementally and collaboratively

Page 24: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Join us on http://devops.agilepartner.net/

Page 25: Agile Mëtteg Septembre 2015: Introduction à DevOps

DEVOPS – Agile Mettëg – 24 Sept. 2015 – All right reserved

Sylvain CHERY – Director, Agile Coach

[email protected] ; @sylchery

Olivier ROBERT– DevOps Consultant

[email protected]

Follow us on:Corporate Web Site : http://www.agilepartner.net

Blog: http://blog.agilepartner.net

Facebook Page : http://www.facebook.com/agilepartner

Twitter Account: http://twitter.com/agilepartner

Slideshare: http://www.slideshare.net/agilepartner

LinkedIn: https://www.linkedin.com/company/agile-partner-s.a.

CONTACTS