• No results found

How To Understand The 2013 Cio Agenda For A Cloud Server

N/A
N/A
Protected

Academic year: 2021

Share "How To Understand The 2013 Cio Agenda For A Cloud Server"

Copied!
26
0
0

Loading.... (view fulltext now)

Full text

(1)

cf push: Push your Scala/Play

apps to Cloud Foundry

(2)

Rags (not to Riches) and work for EMC CODE

Middleware and Application programmer

Architect and Evangelist

Part time teaching at UML and writing at InfoQ

Philosophy: It’s better to have an unanswered question than a

unquestioned answer

(3)

Overview and Architecture

Applications and Services

Evolving Data Schemas

Demos

Resources and Summary

Agenda

(4)

Business Expectations Exceed IT

Capabilities

Cloud

IT Technology Eras

Mainframe

Client-Server

The exponential

increase in

business

expectations is

unsustainable for

IT

MILLIONS OF

APPS BILLIONS

OF USERS

ABILITY OF IT TO

DELIVER S/W

BUSINESS

EXPECTATIONS

(5)

PaaS (On Premise & Off Premise)

Traditional IT

Storage

Servers

Networking

O/S

Middleware

Virtualization

Data

Applications

Runtime

Yo

u

M

an

age

O/S

IaaS

Storage

Servers

Networking

Middleware

Virtualization

Data

Applications

Runtime

Yo

u

M

an

age

IaaS

Business  Value,  Agility  &  

Cost  Savings  

PaaS

Storage

Servers

Networking

Middleware

Virtualization

Data

Applications

Runtime

O/S

Cloud

Foundry

+

OpenStack

Yo

u

M

an

age

(6)

• 

Microservices: a radical departure from traditional

monolithic applications

• 

12 Factor Linux applications

• 

In both cases, the enterprise is

forced to “think different.”

(7)

Provision  VM  

Install  Applica;on  Run;me  

Deploy  Applica;on  

Configure  Load  Balancer  

Configure  Service  Connec;vity  

Configure  Firewall  

cf  push  

Configure  SSL  Termina;on  

cf  bind-­‐service  

Application Development – IaaS vs PaaS

(8)

Cloud Foundry

Enterprise Capabilities At A Glance

Application Containerization

Monitoring, Logs

and Performance

as-a-Service

Integrated

Services: Data, Mobile,

Platform

High Availability and

Scaling

Network Isolation

and Security

Groups

Automatic Middleware

Configuration

Simple

Service Binding

Automatic IaaS

Provisioning

Roles and Policy

Management

(9)

Removing Developer and Operator

Constrains

BUILD

APPLICATION

PUSH FIRST

RELEASE

MAINTAIN

APPLICATION

UPDATE

APPLICATIONS

RETIRE

APPLICATIONS

Auto-detect frameworks

Link to PaaS

Self-service deploy

Dynamic routing

CI/CD

Elastic scale

Integrated HA

Autoscaling and APM

Log aggregation

Policy and Auth

A/B versioning

Live upgrades

Self-service

(10)

Gold

Silver

(11)

Cloud Foundry Runtime 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  Collec;on  

Apps  

HA  Proxy  LB  

Elastic Runtime

(12)

BOSH

DB

Blob

Store

Worker

NATS

Health

Monitor

CPI

Director

CLI

Inner

shell

When you deploy Cloud Foundry the

following sequence of steps occur:

1.  Target a BOSH director using CLI

2.  Upload a Stemcell

3.  Get a Release from a repo

4.  Create a deployment manifest

5.  BOSH Deploy Cloud Foundry:

• 

Prepare deployment

• 

Compile packages

• 

Create and bind VMs

• 

Pull in job configurations

• 

Create needed job

(13)

Message Bus

Behind the Scenes - BOSH

IaaS  

DB

BOSH

Director

Blobs

Health

Monitor

Deploy

Worker VMs

Messaging

Target VM

Health Manager

Target VM

Cloud Controller

Target VM

PaaS

Ops

Deployment

•  Packages

•  Blobs

•  Source

•  Jobs

•  Manifest

(14)
(15)

Stage an

Application

Ro

ute

r  

Blobstore

DB

DEA

Detect

Compile

Upload

No

Yes

System

Buildpacks

+ =

Cloud

Controller

App

Ops

Pivotal  CF  

Elas;c  Run;me  

(16)

Application Deployment Overview

App

Ops

Upload app

bits and

metadata

push app

Ro

ute

r  

Create and bind services

Stage application

Deploy application

Cloud  Foundry  

Blobstore

DB

Cloud

Controller

Service

Broker

Node(s)

DEA

DEA

DEA

DEA

+ app MD

+ =

Service

credentials

(17)

Creating and Binding a

Service

Ro

ute

r  

Cloud  Foundry  

Run;me  (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

Service

Data

App

Ops

(18)

DEA  

Apps  

Service  Broker  

Service  Nodes  

Cloud  Controller  

create

bind

Service Brokers generate

connection details and credentials

for managed services

CC encrypts and stores

credentials in CCDB

Credentials are exposed to bound

applications via

VCAP_SERVICES environment

connect

(19)

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": "cf_aceae021_7f27_48db_9844_d7c151f29195",

"username": "Tr12ZI4hPu4OPJPY",

"password": "fuTWBqpGeyvv0qge",

"uri": "mysql://Tr12ZI4hPu4OPJPY:[email protected]:3306/

cf_aceae021_7f27_48db_9844_d7c151f29195?reconnect=true”

}

}

]

} "

Managed Services

(20)
(21)

• 

Scripts written in plain old SQL

• 

Evolutions to default database at conf/evolutions/

default(1.sql, 2.sql, …)!

# --- !Ups!

CREATE TABLE User (!

);!

# --- !Downs!

DROP TABLE User;!

(22)
(23)
(24)

Ÿ 

Sign up for the CF and BOSH

mailing lists

.

Ÿ 

Install Cloud Foundry on OpenStack (

blog out soon

)

Ÿ 

Learn how to write

12-factor

applications.

Ÿ 

Free workshop and

roadshows

. CFAD!

Ÿ 

Register for the next

Cloud Foundry Summit

(May)

Ÿ 

Try out Pivotal Web Services (

http://run.pivotal.io

)

(25)

https://ace.ng.bluemix.net/

http://www.hpcloud.com/products-services/

application-paas

http://www.anynines.com/

https://run.pivotal.io/

Resources

(26)

References

Related documents

On-Prem to Cloud Chip/CPU OS/VM Data App Services Cloud APIs Private, Public, Hybrid SaaS, PaaS, IaaS Security Connected.. Extended Enterprise

VMs are replicated VM VM VM Server Standby hypervisor ReadyDATA 5200 Server VM VM VM Server VM VM VM VM Microsoft) (VMware, Citrix, Hypervisor management (VMware, Citrix,

9 Review requests for and provide waiver on SLCM compliance Yes - Business Requirements - Security Plan - Design artifacts - Plan artifacts - Technical Design artifacts

Service and Filling Instructions for ABC Stored Pressure Type Fire Extinguishers1. Figure 1: Dismantled 6kg Powder Cartridge Operated

Management REST API Block Storage Block Storage Network Endpoints VM VM’ s Network Endpoints VM Network Endpoints VM CloudSystem Advanced Controller (Pulsar) Cloud OS

“Cloud” services VM VM VM VM VM VM Hypervisor – disaggregation Physical Server VM Hypervisor – aggregation Ser ver Ser ver Ser ver Ser ver Ser ver Virtual Server.. EDC Verticals

Performance concepts for the cloud and VM environments Oracle VM Server for x86: optimizing CPU, Memory, I/O. Oracle VM Server for SPARC: optimizing CPU, Memory, I/O

PaaS Storage -as-a- service DB-as-a- service SaaS Cloud billing IaaS VM hosting On- demand scaling MSP Dedicated hosting DC outsourcing Traditional IT Cloud computing