Cloud Foundry Bootcamp

Similar documents
Spring and Cloud Foundry: a Marriage Made in Heaven

Design and Architecture. Derek Collison

Cloud Computing Introduction to Cloud Foundry

Cloud Foundry- 开放的应用平台

FUJITSU Cloud Service K5 CF Service Functional Overview

Java in der Cloud Aktuelle Möglichkeiten und Entwicklungen

PaaS Software Based on Cloud Foundry

VMware Cloud Application Platform

Beyond 1001 Dedicated Data Service Instances

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

PaaS Cloud mit Java. Eberhard Wolff, Principal Technologist, SpringSource A division of VMware VMware Inc. All rights reserved

AT&T Flow Designer. Current Environment

IBM Bluemix compute capabilities IBM Corporation

Microservices mit Java, Spring Boot & Spring Cloud. Eberhard Wolff

Is Docker Infrastructure or Platform? & Cloud Foundry intro

Using DC/OS for Continuous Delivery

Cloud + Big Data Putting it all Together

Continuous delivery of Java applications. Marek Kratky Principal Sales Consultant Oracle Cloud Platform. May, 2016

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

JELASTIC PLATFORM-AS-INFRASTRUCTURE

São Paulo. August,

Web and API Apps in Azure

OpenStack Summit Half-Day Track

SUG Breakout Session: OSC OnDemand App Development

IBM Bluemix platform as a service (PaaS)

Disclaimer This presentation may contain product features that are currently under development. This overview of new technology represents no commitme

OpenShift is FanPaaStic. Linqing Lu PaaS Dragon

OPENSTACK BEIJING CONFERENCE. by: Steven Hallett Head of Cloud Infrastructure Engineering and Operations

IBM Planning Analytics Workspace Local Distributed Soufiane Azizi. IBM Planning Analytics

Java Architectures A New Hope. Eberhard Wolff

Azure Highlights. Randy Pagels Sr. Developer Technology Specialist US DX Developer Tools - Central Region

Talend Big Data Sandbox. Big Data Insights Cookbook

Simplified CICD with Jenkins and Git on the ZeroStack Platform

Let s say that hosting a cloudbased application is like car ownership

Use Case: Scalable applications

Cloud Foundry and OpenStack

All - In - One for Hyper- V

Heroku. Rimantas Kybartas

5 days lecture course and hands-on lab $3,295 USD 33 Digital Version

A Glance Over the Serverless Framework

Quick Start ArcGIS Enterprise with Automation. Shannon Kalisky Mark Carlson Nikhil Shampur Cherry Lin

Unifying Events & Logs into the Cloud

CA Agile Central Administrator Guide. CA Agile Central On-Premises

Bitnami Ruby for Huawei Enterprise Cloud

Anand Bhadouria Chief Cloud Technologist. December 10, 2014

Bitnami Node.js for Huawei Enterprise Cloud

IBM Smart Cloud Entry Hosted Trial Guide 3.2

GlassFish : From the clustering to the cloud. Fabien LEROY

Using and Developing with Azure. Joshua Drew

VMWARE HORIZON CLOUD WITH VMWARE IDENTITY MANAGER QUICK START GUIDE WHITE PAPER MARCH 2018

App Service Overview. Rand Pagels Azure Technical Specialist - Application Development US Great Lakes Region

Bitnami JRuby for Huawei Enterprise Cloud

Erlang in the Heroku Cloud

How To Install Rubygems On Windows Xp Mode In Vmware

Deployment to the Cloud

Jenkins: A complete solution. From Continuous Integration to Continuous Delivery For HSBC

Azure Day Application Development. Randy Pagels Sr. Developer Technology Specialist US DX Developer Tools - Central Region

Azure DevOps. Randy Pagels Intelligent Cloud Technical Specialist Great Lakes Region

How to go serverless with AWS Lambda

Using the Computer Programming Environment

Unlocking Azure with Puppet Enterprise. November 29, 2016

Log & Event Manager UPGRADE GUIDE. Version Last Updated: Thursday, May 25, 2017

Be smart. Think open source.

AGENDA Introduction Pivotal Cloud Foundry NSX-V integration with Cloud Foundry New Features in Cloud Foundry Networking NSX-T with Cloud Fou

Install and Configure FindIT Network Manager and FindIT Network Probe on a VMware Virtual Machine

vrealize Operations Management Pack for NSX for vsphere 3.0

Monday, October 31, 11

Rethinking monitoring with Prometheus

Installing and Upgrading Cisco Network Registrar Virtual Appliance

Cisco ACI vcenter Plugin

Windows Azure Overview

Getting Started With Serverless: Key Use Cases & Design Patterns

Oracle Cloud Developing for Oracle Application Container Cloud Service

Running MarkLogic in Containers (Both Docker and Kubernetes)

vrealize Operations Management Pack for NSX for vsphere 3.5.0

Extreme Java Productivity with Spring Roo and Spring 3.0

The Unified CVP upgrade process has been described in this chapter in the following sections:

Examining Public Cloud Platforms

Netwrix Auditor. Virtual Appliance and Cloud Deployment Guide. Version: /25/2017

Cloud Foundry The Cloud Native Platform

Edge Foundational Training

Implementing the Twelve-Factor App Methodology for Developing Cloud- Native Applications

Cisco ACI Simulator VM Installation Guide

Cloud platforms. T Mobile Systems Programming

We are assuming you have node installed!

Xen and CloudStack. Ewan Mellor. Director, Engineering, Open-source Cloud Platforms Citrix Systems

BlueMix Hands-On Workshop Lab A - Building and Deploying BlueMix Applications

McMaster Service-Based ehealth Integration Environment (MACSeie) Installation Guide July 24, 2009

Containers, Serverless and Functions in a nutshell. Eugene Fedorenko

ovirt and Docker Integration

VMware IOInsight. v1.1.1 User Guide

Develop and test your Mobile App faster on AWS

Copyright 2016 Pivotal. All rights reserved. Cloud Native Design. Includes 12 Factor Apps

Virtuozzo 7. Quick Start Guide

At Course Completion Prepares you as per certification requirements for AWS Developer Associate.

Using the Bluemix CLI IBM Corporation

Deploying and Using ArcGIS Enterprise in the Cloud. Bill Major

Personal Statement. Skillset I MongoDB / Cassandra / Redis / CouchDB. My name is Dale-Kurt Murray. I'm a Solutiof

Fluentd. Open Source Data Collector. Eduardo Jan 23, 2016 Scale14x, Pasadena!

Server Monitoring. AppDynamics Pro Documentation. Version 4.1.x. Page 1

Transcription:

Cloud Foundry Bootcamp GOTO 2012 Josh Long Spring Developer Advocate josh.long@springsource.com 2012 VMware, Inc. All rights reserved

Josh Long Spring Developer Advocate josh.long@springsource.com About Josh Long 2

About Josh Long Contributor To: Spring Integration Spring Batch Spring Hadoop Activiti Workflow Engine 3

getting started with Cloud Foundry... 4

Register http://cloudfoundry.com/signup Use promo code CFOpenTour2012 5

Welcome email 6

Ways to use Cloud Foundry 7

Ways to use Cloud Foundry 7

Ways to use Cloud Foundry 7

Ways to use Cloud Foundry 7

Ways to use Cloud Foundry 7

Ways to use Cloud Foundry 7

Installing vmc on Windows 8

Installing vmc on Windows Install the vmc gem 8

Installing vmc on Mac OSX Use Ruby Version Manager http://beginrescueend.com/ $ bash -s stable <<(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) $ rvm install 1.9.2 $ rvm use 1.9.2 $ gem install vmc 9

what does Cloud Foundry offer? 10

Cloud Foundry: Choice of Runtimes 11

Frameworks and Runtimes Supported Out of the Box Java (.WAR files, on Tomcat. Spring s an ideal choice here, of course..) Scala (Lift, Play!) Ruby (Rails, Sinatra, etc.) Node.js Ecosystem Partners.NET (Uhuru, Tier3) Python (Stackato) PHP (AppFog) Haskell (1) Erlang (2) 1) http://www.cakesolutions.net/teamblogs/2011/11/25/haskell-happstack-on-cloudfoundry/ 2) https://github.com/cloudfoundry/vcap/pull/20

Cloud Foundry: Choice of Clouds 13

Main Risk: Lock In Welcome to the hotel california Such a lovely place Such a lovely face Plenty of room at the hotel california Any time of year, you can find it here Last thing I remember, I was Running for the door I had to find the passage back To the place I was before relax, said the night man, We are programmed to receive. You can checkout any time you like, But you can never leave! -the Eagles 14

Open Source Advantage 15

Open Source Advantage

Cloud Foundry: Clouds AppFog.com community lead for PHP PaaS for PHP Joyent community lead for Node.js ActiveState community lead for Python, Perl Providers of Stackato private PaaS 17

Micro Cloud Foundry (beta) 18

Cloud Foundry.org 19

Cloud Foundry: Services 20

Cloud Foundry: Services Take Advantage of Services they cost nothing to setup they deliver value They Encourage Better Architectures Need a fast read-write cache? Redis is ready to go! Need to store long-tail documents? Give MongoDB a try Need to decouple what applications do from when they do it? Use messaging and RabbitMQ 21

Accessing Your Services Debugging and accessing the data locally Caldecott --> Service tunneling. Access your Cloud Foundry service as if it was local. 22

Demo: logging in, asking questions, & deploying from the CLI 23

Demo: Using the tunnel to talk to your services 24

Demo: developing with Eclipse & STS 25

Application Deployment Flow VMC Cloud Controller DEA DEA Application Router Router 26

Application Deployment Flow vmc push VMC Cloud Controller DEA DEA Application Router Router 26

Application Deployment Flow vmc push VMC Cloud Controller DEA DEA Application Framework detection Router Router 26

Application Deployment Flow vmc push create app VMC Cloud Controller DEA DEA Application Framework detection Router Router 26

Application Deployment Flow vmc push create app VMC Cloud Controller DEA DEA Application Framework detection Framework specific staging plugin Creates Droplet Router Router 26

Application Deployment Flow find DEA for app vmc push create app VMC Cloud Controller DEA DEA Application Framework detection Framework specific staging plugin Creates Droplet Router Router 26

Application Deployment Flow find DEA for app vmc push create app I m available VMC Cloud Controller DEA DEA Application Framework detection Framework specific staging plugin Creates Droplet Router Router 26

Application Deployment Flow find DEA for app vmc push create app I m available VMC Cloud Controller deploy droplet DEA DEA Application Framework detection Framework specific staging plugin Creates Droplet Router Router 26

Application Deployment Flow find DEA for app vmc push VMC create app Cloud Controller I m available deploy droplet DEA DEA start Application Framework detection Framework specific staging plugin Creates Droplet Router Router 26

Application Deployment Flow find DEA for app vmc push VMC create app Cloud Controller I m available deploy droplet DEA DEA start Application Framework detection Framework specific staging plugin update routes Creates Droplet Router Router 26

About the staging plugin Framework specific Creates a zip file = black box Contains everything necessary for DEA to run the application Two scripts: start.sh, stop.sh 27

Staging plugin for the Spring framework Adds CloudAutoStagingBeanFactoryPostProcessor bean: Modifies bean definitions Implements auto-reconfiguration Defines CloudApplicationContextInitializer in web.xml Activates cloud profile Defines PropertySource for CloudEnvironment properties 28

Request handling flow HTTP Request HTTP Request HTTP Request Load Balancer Load Balancer Router Router Application DEA 29

Request handling flow HTTP Request HTTP Request HTTP Request Load Balancer Load Balancer Router Router Application DEA 29

Self Healing Infrastructure If an application instance crashes DEA detects unexpected exit => DEA broadcasts message Routers remove instance from routing Health manager notifies Cloud Controller Cloud Controller re-launches instance If an DEA VM crashes Application instances become unavailable Health Manager notices the missing instances and notifies the Cloud Controller Cloud Controller requests application instances to be started Existing DEA will reply and start the applications

But where are the VMs?!? Cloud Foundry has a layered architecture Cloud Controller, DEA, layer = processes VM management layer Benefits: decoupling, simplicity,. CloudFoundry.com creates vsphere VMs running different Cloud Foundry components

What is in Micro Cloud Foundry? App Instances Services Open source Platform as a Service project 10.04 A cloud packaged as a VMware Virtual Machine Use as a developer sandbox Use the services from Junit integration tests Deploy your application for functional testing Remote debugging from STS 32

Pre-requisites for using Micro Cloud Foundry Minimum 1 GB Minimum 8 GB Internet Connectivity RAM Disk (w/dhcp is ideal) VMC STS Command line GUI 33

Register and login to CloudFoundry.com 34

Select a domain name *.cloudfoundry.me => IP address of your machine where Micro Cloud Foundry is running 35

Remember the configuration token 36

Download, unzip and open micro.vmx 37

Configure Micro Cloud Foundry 38

Configure Micro Cloud Foundry Pick password 38

Configure Micro Cloud Foundry Pick password Enter token 38

Logging into Micro Cloud Foundry 39

Logging into Micro Cloud Foundry $ vmc target api.cer-micro1.cloudfoundry.me Successfully targeted to [http://api.cer-micro1.cloudfoundry.me] 39

Logging into Micro Cloud Foundry $ vmc target api.cer-micro1.cloudfoundry.me Successfully targeted to [http://api.cer-micro1.cloudfoundry.me] $ vmc register Email: crichardson@vmware.com Password: ******** Verify Password: ******** Creating New User: OK Attempting login to [http://api.cer-micro1.cloudfoundry.me] Successfully logged into [http://api.cer-micro1.cloudfoundry.me] 39

Josh Long josh.long@springsource.com twitter: @starbuxman Questions?