sydney cloud foundry meetup - service brokers
TRANSCRIPT
1 © Copyright 2013 Pivotal. All rights reserved. 1 © Copyright 2013 Pivotal. All rights reserved.
Pivotal CF Broker Overview
Cloud Foundry Product Group
2015
2 © Copyright 2013 Pivotal. All rights reserved.
Pivotal CF Architecture
Ops Manager UI
Ops Manager Director Operations Manager
Service
Service Broker
Service Nodes
Service Broker
Service Nodes
Service
App Log Aggregator
Login Server
Dynamic Router
Cloud Controller
UAA
Health Manager
DEA Pool
Messaging (NATS)
Apps
Metrics CollecGon
Apps
HA Proxy LB
Elastic Runtime
3 © Copyright 2013 Pivotal. All rights reserved.
Application Deployment Overview App Ops
① Upload app bits and metadata
push app
Router
② Create and bind services
③ Stage application
④ Deploy application Pivotal CF ElasGc RunGme
Blobstore DB
Cloud Controller Service Broker Node(s)
DEA DEA
DEA DEA
+ app MD
+ =
Service credentials
4 © Copyright 2013 Pivotal. All rights reserved.
Managed Services
5 © Copyright 2013 Pivotal. All rights reserved.
Creating and Binding a Service
Router Cloud Foundry
RunGme (ERS)
DB Service credentials
reserve resources create service (HTTP) create service (HTTP)
bind service (HTTP) bind service (HTTP) obtain connection data
CLI Cloud Controller
Service Broker
Data Service
App Ops
6 © Copyright 2013 Pivotal. All rights reserved.
Managed Services
VCAP_SERVICES environment variable is visible only to members of the org and space containing the service instance
VCAP_SERVICES=" { "p-mysql": [ { "name": "music-db", "label": "p-mysql", "tags": [ "mysql", "relational” ], "plan": "100mb-dev", "credentials": { "hostname": "192.168.1.147", "port": 3306, "name": "", "username": "Tr12ZI4hPu4OPJPY", "password": "fuTWBqpGeyvv0qcf_aceae021_7f27_48db_9844_d7c151f29195ge", "uri": "mysql://Tr12ZI4hPu4OPJPY:[email protected]:3306/ cf_aceae021_7f27_48db_9844_d7c151f29195?reconnect=true” } } ] } "