sydney cloud foundry meetup - service brokers

6
1 © Copyright 2013 Pivotal. All rights reserved. 1 © Copyright 2013 Pivotal. All rights reserved. Pivotal CF Broker Overview Cloud Foundry Product Group 2015

Upload: lawrence-crowther

Post on 16-Aug-2015

39 views

Category:

Technology


1 download

TRANSCRIPT

Page 1: Sydney cloud foundry meetup - Service  Brokers

1 © Copyright 2013 Pivotal. All rights reserved. 1 © Copyright 2013 Pivotal. All rights reserved.

Pivotal CF Broker Overview

Cloud Foundry Product Group

2015

Page 2: Sydney cloud foundry meetup - Service  Brokers

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

Page 3: Sydney cloud foundry meetup - Service  Brokers

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

Page 4: Sydney cloud foundry meetup - Service  Brokers

4 © Copyright 2013 Pivotal. All rights reserved.

Managed Services

Page 5: Sydney cloud foundry meetup - Service  Brokers

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

Page 6: Sydney cloud foundry meetup - Service  Brokers

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” } } ] } "