12
East Midtown Partnership 2018 ANNUAL REPORT to the Community The local paper for the Upper East Side

How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization
Page 2: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

How to Adapt Cloud Foundry

to Organizations’ Contexts ?

BOF introduction, Guillaume Berche

Page 3: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Intro • About Orange

• Disclaimer

• About me

• Contact me: @gberche or guillaume.berche [at] orange.com

3

Page 4: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Session overview

• Sharing from Orange of specific

requirements

• Ways Orange is adapting CF to its reqs

• Potential future useful CF extension hooks

4

Page 5: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Impact mapping introduction

Credits: Gojko Adzic http://impactmapping.org/ 5

Page 6: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Orange Paas impact map

https://www.mindmup.com/#m:h1gberche-orange/adapting-cf-to-org-

reqs:master:/Adapting%20CF%20to%20organizations.mup

http://goo.gl/LfjBDC

https://github.com/gberche-orange/adapting-cf-to-org-reqs

6

> who > how > what

Page 7: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> objectives

7

Page 8: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Actors overview

8

Page 9: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> actors

9

Page 10: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-dev > test toys/tools

10

Page 11: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-dev > test toys/tools > provide CF instance

11

Page 12: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-dev

12

Page 13: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-dev

13

Page 14: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

My CF set up (is going great),

My production-ready paas is maturing

(fast)

14

Page 15: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-dev

15

Page 16: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Credit: http://en.wikipedia.org/wiki/Diffusion_of_innovations 16

Page 17: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-dev > develop app on CF

17

Page 18: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> actors

18

Page 19: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-ops

19

Page 20: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-ops > operate custom app

20

Page 21: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Limitations/obstacles:

• organisation slow to change:

– lacking dedicated-ops,

– project vs product,

– outsourced software

– slow to accept transition « from centralized governance

to decentralized autonomy »

• legacy apps take time to transform

21

Page 22: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

• centralized governance to decentralized

autonomy... with transparency

• Provide common baseline

• Involve current experts in paas automation

– services is still the limiting factor

How can I help the « vast majority »

?

22

Page 23: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

ElPaaso Overview

23

Page 24: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

ElPaaso data model

24

application user user user

processing service

release release release architecture

release release environment

{ data, comm, mgt} service

ElPaaso CF

environment space + space_roles

processing-service app + syslog_drain service + buildpack params

data service service instance

comm service route, esb service instance (arb param)

mgt service app env var

CF model ElPaaso model

with org-specific

meta-data

Pluggeable,

versionned

projection

Page 25: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-ops > operate custom app

25

Page 26: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-ops > operate custom app > user standard operation model

26

Page 27: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-ops > operate custom app > user standard operation model

27

Page 28: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-ops > operate custom app > user standard operation model

28

Page 29: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> app-ops > operate custom app

29

Page 30: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

• centralized governance to decentralized

autonomy... with transparency

• Provide common baseline

• Involve existing shared infrastructure experts

in paas automation

– services is still the limiting factor

How can I help the « vast majority » ?

30

Page 31: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> actors

31

Page 32: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

> off-stage actors

32

Page 33: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Alternatives for adapting cf to orgs reqs

• Use existing CF extension/customization

mechanisms

34

Page 34: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Overview of existing customization mechanisms

• uaa backend: (ldap/saml)

• org (name)

• space (name)

• service brokers – static endpoints (instead of cups): smtp, splunk

– driving org systems (e.g. orange DBaaS)

– upcoming arbitrary params (e.g. api subscription)

• default buildpacks configuration – (through env vars, app bits hooks, forks)

• custom buildpack (e.g. jonas)

• custom syslog drains – intermediates that insert additional data

• custom services – bosh releases

– bosh docker service broker

– mesos

35

• persistent fs bridge – fuse + riakcs

– aop interception.

• app security groups

• cli plugins

• notification service

• [custom stacks]

• [custom stemcells]

Page 35: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Alternatives for adapting cf to orgs reqs

• Use existing CF extension/customization

mechanisms

• Fork and extend CF

– insert additional components

– replace some components

• Add-on to CF

36

Page 36: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Potential future useful CF extension hooks

• meta-data attached to some entities (app, space, service) – production

– ops entity

– app code name

– ops on call contacts/ids

– app version

– cost-center

• intercept some CC API verbs (router service or CC webhooks) – fine grain access control

– transformations

– extensions, new verbs

37

Page 37: How to Adapt Cloud Foundry · My CF set up (is going great), My production-ready paas is maturing (fast) 14 ... Alternatives for adapting cf to orgs reqs • Use existing CF extension/customization

Lets share our reqs and experience

Meet tomorrow at 10.40 am for a

related BOF

How have you adapted CF ?

Any remaining challenges to share?

Thank you.

38