scaling jenkins for cd with azure-final jenkins for cd with azure.pdfyay! i deployed jenkins and...

26
1 © 2016 CloudBees, Inc. All Rights Reserved How to Scale Jenkins for CD with Microsoft Azure CloudBees Inc Brian Dawson and Tyler Croy @brianvdawson @agentdero Microsoft Thiago Almeida and Oguz Pastirmaci @nzthiago @OguzPastirmaci

Upload: others

Post on 28-Jun-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

1

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

How to Scale Jenkins for CD with Microsoft Azure

CloudBees IncBrian Dawson and Tyler Croy@brianvdawson@agentdero

MicrosoftThiago Almeida and Oguz Pastirmaci@nzthiago @OguzPastirmaci

Page 2: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

2

• CD is what again??

• The State of CD

• BS #!*@! to AS :^)

• Azure Container Service

• This is your Jenkins on Azure

Game plan

Page 3: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

3

• How big is your Development/IT organization?a) 1 – 50 pplb) 50 – 200 pplc) 200 – 500 ppld) Other or ”Do you know anybody hiring?"

• What is your role?a) Developerb) Operationsc) QAd) All of the abovee) Other

Poll (1/2)

3

Page 4: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

4

• By show of hands do you practice?a) Continuous Integrationb) Continuous Deliveryc) DevOpsd) None of the above or GDD (Get ‘er Done Development)

• At what scale (tooling and practice)?a) Single Teamb) Multiple Teamsc) Organization-wide (managed services)d) Cloud-Scale (internal or external PaaS)

Poll (2/2)

4

Page 5: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

5

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

5CD is what again??

Page 6: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

6

Fundamentally it’s about...

6

DeliveringBetter

SoftwareFaster!

Concept-to-Customer

High Quality• Performance• Feature• Function

RapidlyEliminating Waste

Market Innovation

High Value

Page 7: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

7

Continuous delivery (CD) is…

7

• the practice of automatically and continuously building, testing and deploying software to ensure it CAN be released at any time.

• an extension of continuous integration (CI) and enables DevOps

• NOT Continuous Deployment

Page 8: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

8

How Do You Deliver Better Software Faster?

8

Prod

RapidlyRepeatedly

Reliably

ProdDev

Page 9: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

9

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

9The State Of CD

Page 10: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

10

• CD offers significant technical and business benefits– Deliver Faster - ship to production several times per week or per day

– Demonstrably higher quality

– Considerably lower production incidents and near-zero Sev 1’s

– No War Rooms, imagine the harmony

– Measurably happier team members

…and more

The State of Continuous Delivery

Page 11: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

11

• CD is being rapidly adopted across teams and organizations

The State of Continuous Delivery

65% of respondents have started down the path to implementation of continuous delivery with 37% adopting it on some projects, and 28% on all projects.- Perforce “Continuous Delivery: The New Normal for Software Development”

Page 12: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

12

• CD is being rapidly adopted across teams and organizations

The State of Continuous Delivery

65% of respondents have started down the path to implementation of continuous delivery with 37% adopting it on some projects, and 28% on all projects.- Perforce “Continuous Delivery: The New Normal for Software Development”

Page 13: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

13

• Jenkins, CI and CD tooling are often implemented at team level and administered by developers

The State of Continuous Delivery

Yay! I deployed Jenkins and everybody is using it!

Damn! Now I own it!#@!*

Page 14: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

14

• Jenkins, CI and CD have become mission critical

The State of Continuous Delivery

Page 15: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

15

• Jenkins is the leading CD solution

The State of Continuous Delivery

70%JenkinsMost used CI server in the industry

Page 16: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

16

• Developers acting as administrators

• Potential lack of security and/or exposure of IP

• Difficulty in sharing best practices across teams

• Absence of reliable infrastructure to maintain continuity and productivity

• Inability to quickly scale as adoption or demand grows

This results in….

Page 17: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

17

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

17BS #!@#@ to AS :^)

Page 18: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

18

• Able to recognize the benefits across the entire organization

• Enable teams to rapidly on-board and adopt

• Remove team-level administration to increase reliability and productivity, and governance

• Provide cross-team visibility

• Share best practices

Benefits of Scaling Continuous Delivery

Page 19: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

19

Your changes have multiple

opportunities to ship each day

Your changes had few chances of

shipping the next day

Before Scale and After Scale

Page 20: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

20

Elastic cloud platform

Local provisioning or limited access

to cloud environments

Before Scale and After Scale

Page 21: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

21

Teams can provision and repeat prod-like environments

as needed

Inability for teams to rapidly and consistently

provision environments

Before Scale and After Scale

Page 22: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

22

Infrastructure admins that support

team-level independence (RBAC, etc)

Centralized and bottleneck

infrastructure team

Before Scale and After Scale

Page 23: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

23

Visibility and Analytics across org

and knowledge sharing

One person/team responsible for

knowledge

Before Scale and After Scale

Page 24: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

24

High-availability and fault tolerance, downtime is deadly

Downtime, unavailable

infrastructure

Before Scale and After Scale

Page 25: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

© 2

016

Clo

udB

ees,

Inc

. A

ll R

ight

s R

eser

ved

25

Instant provisioning of a CD

infrastructure

Weeks to months to onboard new teams into a CD

environment

Before Scale and After Scale

Page 26: Scaling Jenkins for CD with Azure-final Jenkins for CD with Azure.pdfYay! I deployed Jenkins and everybody is using it! Damn! Now I own it!#@!* 14 • Jenkins, CI and CD have become

26

• Azure and Azure Container Service

• Jenkins in the Cloud