cloud foundry introduction for cf meetup tokyo march 2016
TRANSCRIPT
Tomohiro Ichimura Pivotal Japan
Cloud Foundry Introduction
Tomohiro Ichimura Sr. Solution Architect, Pivotal Japan
Who am I
Tomohiro Ichimura Sr. Solution Architect
Pivotal Japan Cloud Foundry, GemFire, Spring, …
[email protected] @pivotal_jpn
CF Open source momentum
• 53 corporations are contributing members • 158 meetups in 49 countries • 21K members with ~5K joining last month
Submitters
Commits
� ~2200 developers, ~650 Code Submitters, ~400 of them in last year
� 65K commits with ~30K of those in the last year
Source: http://cloud-foundry.meetup.com/ on Jun 12 2015
Infrastructure API: BOSH
Operation Management: Pivotal Cloud Foundry Operations Manager
Platform Runtime + Services: Cloud Foundry Elastic Runtime Cloud Foundry Services
Application Frameworks: Buildpack, Container
Service Discovery
Services
Platform Runtime
Routing
Database
Configuration Container Scheduling
Big Data
Object Storage
Mobile
CI
User Provided Logging & Metrics Messaging
Operations Zero Downtime Deployments Failover & Recovery Scaling
Security Patching Platform Upgrades
Infrastructure OpenStack VMware Amazon
Application Framework
Circuit Breakers 12 Factor Apps RESTful Services Microservices
.NET Spring Boot Node.js Ruby on Rails
Azure
Cloud Foundry Components
Multi-cloud Portability
A single, consistent deployment environment across your public cloud and behind-the-firewall datacenters.
Developer Services
Offer a self-service catalog of databases, analytics and middleware technologies:
• Self service • Production ready • Integrated lifecycle
management • Managed credentials • Role-based access
Cloud natives get better results
12 Software engineers 6 Software engineers
Entire QA team UX & product manager 1
14 Months 6 Months
ACTUALLY REQUIRED ORIGINALLY ALLOCATED
BEFORE AFTER
* Devs may bring a custom buildpack
Runtime layer*
OS image
Application layer
Linux host & kernel
Blue Green deployment
Blue Green deployment
• Canary style • No downtime
Each Layer Upgradable with Zero Downtime
a.domain
Scale Apps (cf scale)
Update Apps (cf push)
a.domain a.domain a-new.domain
Route Instance Blue-Green Development
(cf map-route)
Round Robin
Round Robin
Application Management
Rapid self service provisioning Push button deployed service instance
• Bind to apps through easy to use interface
• Easy accessibility through Marketplace including Spring Cloud Services
• Common access control and audit trails across the breadth of services
MySQL
RabbitMQ
Redis
Pivotal Gemfire for PCF
Session state caching powered by Pivotal Gemfire
Cloudbees Jenkins Enterprise
Spring Cloud Services
SYSTEM > Marketplace
Continuous Integration and Delivery Full application lifecycle management
Commit Code Change
Automate Build &
Test (Unit Test, Static Code Analysis)
Store Binaries & Build
Artifacts
Automated Integration
Testing
Acceptance,Performance
& Load
Zero Downtime Upgrade to Production
Build Pipeline
Operations
Tool Chain
Development Test + UAT + Staging
Production Gitlab Jenkins
Concourse http://concourse.ci
Getting Started with Pivotal Cloud Foundry
http://pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry/introduction
Where do you want to deploy your Apps?
In-house expertise?
PCF Dev (on your laptop)
Yes
No
Multi-tenancy OK?
Pivotal Cloud Foundry
PWS
Cloud Foundry (OSS/Providers)
cf push
PCF Dev Designed to run on a single virtual machine (VM) on your workstation
• Gives application developers the full Cloud Foundry experience in a lightweight, easy to install package.
• Intended for application developers who wish to develop and debug their application locally on a full-featured Cloud Foundry.
• An excellent getting started environment for developers interested in learning and exploring Cloud Foundry.
PCF Dev
PCF DEV (0.13.0)
PCF DEV (oss)
PCF (1.7 coming soon!)
CF
Space required 15 GB 15 GB 100GB+ 50GB+ Memory required 1.5 GB 1.5 GB 50GB+ variable Deployment vagrant up vagrant up Ops Manager bosh deploy Estimated time-to-deploy
10 Minutes 10 Minutes Hour+ Hour+
Out-of-the-Box Services
Redis MySQL RabbitMQ
N/A Redis MySQL RabbitMQ Gemfire
N/A
http://docs.pivotal.io/pcf-dev/index.html https://github.com/pivotal-cf/pcfdev