the developer experience
TRANSCRIPT
Pivotal Cloud Platform Deep Dive
Pivotal Cloud Platform Deep DivePart 1: The Developer ExperienceAdib [email protected]
Copyright 2014 Pivotal. All rights reserved.
The Developer ExperienceTarget CenturyLink Cloud EndpointPush My AppBind My App to Backing ServicesPlus.. well look at a few other capabilitiesScaleView Logs and EventsFailover
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
This is not how you do Cloud Native
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
This is.
https://www.youtube.com/watch?v=SSxI9eonBVs
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Provisioning Your Account for Today
http://activate.pcf.centurylinkcloud.com
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Create user account
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Create user account
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Download and Install Cloud Foundry CLI tool for your platform.
* Request an alternate approach if you cannot install software on your workstation.
https://github.com/cloudfoundry/cli/releases
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Confirm you can login and target your cf tool to the Cloud Foundry endpoint well be using throughout the rest of the session
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Welcome to Cloud Foundry!
Pivotal CF
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
The Developer ExperienceTarget CenturyLink Cloud PCF InstancePush My AppBind My App to Backing ServicesScale My AppMonitor My Apps LogsMonitor My Apps HealthMonitor My Apps Performance11
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
https://github.com/Pivotal-Field-Engineering/PCF-demo Login to the CLI Clone the app Push the app Verify app is running
Application push
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
https://github.com/Pivotal-Field-Engineering/PCF-demo
Clone or Download
Login to the CLI Clone the app Push the app Verify app is running
Application push
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
need to change instructions to just download (from Century Link not Git)
Alternative - https://github.com/Pivotal-Field-Engineering/PCF-demo
Download
Login to the CLI Clone the app Push the app Verify app is running
Application push
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
need to change instructions to just download (from Century Link not Git)
cf push Login to the CLI Clone the app Push the app Verify app is running
Application push
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Try push.if you get an hostname conflict fix the manifest.
Login to the CLI Clone the app Push the app Verify app is running
Application pushNavigate to the App Manager
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
The Developer ExperienceTarget My Cloud Foundry ProviderPush My AppBind My App to Backing ServicesScale My AppMonitor My Apps LogsMonitor My Apps Health19
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Click on "Marketplace"
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Choose RabbitMQ for PCF
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Select the free plan
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Name it myrabbitmq and bind it to the app
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Click here
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
confirm box text is consistent
Service creation and bind
Create Service Bind service Restart App Verify
Heat Map gets activated as orders come
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Create Service Bind service Restart App Verify
Service creation and bind
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
$Service creation and bind Create Service Bind service Restart App Verify
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
The Magic is in Spring Cloud Connectorshttp://cloud.spring.io/spring-cloud-connectors
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Cloud FoundryConnectorHerokuConnectorCoreSpring ServiceConnector
SpringCloudConnectorsModules
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
From VCAP_SERVICES to Connection Bean
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
From VCAP_SERVICES to Connection Bean (XML)
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
The Developer ExperienceTarget My Cloud Foundry ProviderPush My AppBind My App to Backing ServicesScale My AppMonitor My Apps LogsMonitor My Apps Health35
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
36
Scale instances Verify
Scale my App
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Scale my App
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
39
Scale instances Verify
Scale my App
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
40
Scale instances Verify
Scale my App
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
41
Scale instances Verify
Scale my App
Refresh page and see IP and Index changing
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
42
Scale instances Verify
Scale my App
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
The Developer ExperienceTarget My Cloud Foundry ProviderPush My AppBind My App to Backing ServicesScale My AppMonitor My Apps LogsMonitor My Apps Health43
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance cf logs $
Logs, Events and Health Management
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Logs, Events and Health Management
cf logs cf events Kill app Verify fail-over Recover failed instance
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Logs and Health Management
cf logs Kill app Verify fail-over Recover failed instance
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Logs and Health Management
cf logs Kill app Verify fail-over Recover failed instance
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Click me!
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Click me!
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Logs, Events and Health Management
cf logs cf events Kill app Verify fail-over Recover failed instance
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
but App is still up !!!
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Refresh page and see IP and Index changing
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Few seconds and all instances are back again.No intervention needed.
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
cf logs cf events Kill app Verify fail-over Recover failed instance Logs, Events and Health Management
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
The Developer ExperienceTarget My Cloud Foundry ProviderPush My AppBind My App to Backing ServicesScale My AppMonitor My Apps LogsMonitor My Apps Health58
Copyright 2014 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Service creation and bind
Create Service Bind service Restart App Verify
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
Coming Up12:30 pm - 1:15 pm - Networking Lunch1:15 pm - 2:45 pm - Session 2 - Architecture & The Operator Experience2:45 pm - 3:00 pm - Break3:00 pm - 4:00 pm - Session 3 - Enabling Continuous Delivery
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.
THANK YOU!See you after the break!
Copyright 2015 Pivotal. All rights reserved.
Copyright 2014 Pivotal. All rights reserved.