Top Banner
1
36
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Continuous Delivery with Cloud Foundry

1

Page 2: Continuous Delivery with Cloud Foundry

Continuous Delivery with Cloud Foundry

2

Page 3: Continuous Delivery with Cloud Foundry

CloudCredoLondon

3

Page 4: Continuous Delivery with Cloud Foundry

4

realness ->

tim

e ->

Deployment Pipeline

4

Page 5: Continuous Delivery with Cloud Foundry

Refresher:Why are we doing this?

5

Page 6: Continuous Delivery with Cloud Foundry

6

⟳6

Page 7: Continuous Delivery with Cloud Foundry

Cloud Foundry

7

Page 8: Continuous Delivery with Cloud Foundry

Consistent Interface for Deployment

$ cf push

8

8

Page 9: Continuous Delivery with Cloud Foundry

Avoid making breaking changes that delay feedback

9

9

Page 10: Continuous Delivery with Cloud Foundry

cloudfoundry.com »

10

Feedback

10

Page 11: Continuous Delivery with Cloud Foundry

decomposed the application into services »

11

Feedback

11

Page 12: Continuous Delivery with Cloud Foundry

custom release »

12

Feedback

12

Page 13: Continuous Delivery with Cloud Foundry

multiple platforms, multi-region »

13

Feedback

13

Page 14: Continuous Delivery with Cloud Foundry

600,000transactions in 7 hours

14

Feedback

14

Page 15: Continuous Delivery with Cloud Foundry

500user journeys every second

15

Feedback

15

Page 16: Continuous Delivery with Cloud Foundry

10,000call center operators

16

Feedback

16

Page 17: Continuous Delivery with Cloud Foundry

♥beat17

Feedback

17

Page 18: Continuous Delivery with Cloud Foundry

Production-like Environment

18

Page 19: Continuous Delivery with Cloud Foundry

Build and scale new environments repeatably

19

Environments

19

Page 20: Continuous Delivery with Cloud Foundry

Perform load testing within your pipeline

20

Environments

20

Page 21: Continuous Delivery with Cloud Foundry

Externalizing Configuration

21

Environments

21

Page 22: Continuous Delivery with Cloud Foundry

12factor.net

22

Environments

22

Page 23: Continuous Delivery with Cloud Foundry

Reproducible Environments

23

Environments

23

Page 24: Continuous Delivery with Cloud Foundry

BOSH

24

Environments

24

Page 25: Continuous Delivery with Cloud Foundry

Artifact Repositories

25

Environments

25

Page 26: Continuous Delivery with Cloud Foundry

Blue / Green Deployments

26

Environments

26

Page 27: Continuous Delivery with Cloud Foundry

Things to watch out for

27

Page 28: Continuous Delivery with Cloud Foundry

Manual application changes

28

Gotchas

28

Page 29: Continuous Delivery with Cloud Foundry

Branching Deployments

29

Gotchas

29

Page 30: Continuous Delivery with Cloud Foundry

Adding infrastructure code to the pipeline

30

Page 31: Continuous Delivery with Cloud Foundry

31

Application Code

Infrastructure Code

Base OS

Your service

31

Page 32: Continuous Delivery with Cloud Foundry

✔ Validation of BOSH Manifests

32

Infrastructure code

32

Page 33: Continuous Delivery with Cloud Foundry

⇑ Automate upload of BOSH releases

33

Infrastructure code

33

Page 34: Continuous Delivery with Cloud Foundry

⇓ Automate updates from upstream releases, binaries

34

Infrastructure code

34

Page 35: Continuous Delivery with Cloud Foundry

Key Takeaways

• Cloud Foundry makes building continuous delivery pipelines much easier.

• Cloud Foundry makes it easy to Do the Right Thing.

• PaaS abstraction allows you to grow from small-scale to large scale and maintain a steady heartbeat of delivery.

35

35