27
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 1 HP Cloud and Intel Bringing Windows into Cloud Foundry Meetup June 15, 2015

NYC Cloud Foundry Meetup - 6/15

Embed Size (px)

Citation preview

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.1

HP Cloud and IntelBringing Windows into Cloud Foundry Meetup

June 15, 2015

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.2

Gert Drapers (@DataDude)

Distinguished Engineer & Engineering Director Helion Cloud Foundry

Alvaro Peon-Sanchez (@alvaropeon)

Sr. Product Manager

Bringing Windows into Cloud Foundry 

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.3

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.4

Why bring

to Cloud Foundry?

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.5

CF First Class Citizen

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.6

.NET Apps in the context of

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.7

Cloud Foundry Windows SupportCluster Components:

Windows DEA (CF v2)

• Windows Server 2012 R2• Process and Resource Isolation using Windows Prison• Build pack for IIS8/.NET

• Supports CLR v2 to 4.5.2• Applications: IIS, ASP.NET, WCF, Web API • Frameworks: MVC2, 3, 4, 5, …, SignalR, …

Cloud Foundry Microsoft SQL Server Service Broker

• GO• Supported Microsoft SQL Server versions & flavors

• Microsoft SQL Server 2012 SP1 Express or full product• Microsoft SQL Server 2014 Express or full product

• Windows Server 2012 R2 Core or better• By default runs on Windows MSSQL node, but can run anywhere

Developer Stack:

Standard Helion CLI

• --stack win2012r2 (--mem 512 >)

Cloud Foundry .NET SDK

• Programmatic access to CF• Full object v2 model coverage

• Supporting: UAA, AOK, Loggregator and Logyard

Cloud Foundry MS Build Tasks

• Deploy (publish), Start/Stop/Restart, Delete apps from MSBuild

Cloud Foundry Explorer for Visual Studio

• Supports all SKUs of 2013 & 2015• Explore Cloud Foundry cluster and manipulate from within Visual Studio• Deploy application from within Visual Studio

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.8

Highlevel Overview

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.9

Cloud Foundry v2 Windows Support

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.10

Containers or Sandboxing?

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.11

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.12

Open sourced

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.13

DEMO

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.14

Give it a try

http://bit.ly/hpdevstart

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.15

Thank you!

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.16

Resources

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.17

Open Source Linkshttps://github.com/cloudfoundry-incubator

● Windows Isolation○ https://github.com/cloudfoundry-incubator/cf-windows-prison

● Windows DEA for Cloud Foundry v2○ https://github.com/cloudfoundry-incubator/cf-windows-extensions

● Windows IIS8 Build Pack○ https://github.com/cloudfoundry-incubator/cf-iis8-buildpack

● Windows Static EXE Build Pack○ https://github.com/cloudfoundry-incubator/cf-exe-buildpack

● Microsoft SQL Server Service Broker○ https://github.com/cloudfoundry-incubator/cf-mssql-broker

● Cloud Foundry .NET SDK○ https://github.com/cloudfoundry-incubator/cf-dotnet-sdk○ https://github.com/cloudfoundry-incubator/cf-dotnet-sdk-samples

● Cloud Foundry MSBuild Tasks○ https://github.com/cloudfoundry-incubator/cf-msbuild-tasks

● Cloud Foundry Visual Studio Extensions○ https://github.com/cloudfoundry-incubator/cf-vs-extension

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.18

Cloud Foundry .NET Developer Stack Binary Distributions ● Cloud Foundry .NET SDK

○ http://www.nuget.org/packages/cf-dotnet-sdk/

● Cloud Foundry MSBuild Tasks

○ http://www.nuget.org/packages/cf-msbuild-tasks/

● Cloud Foundry Visual Studio Extensions (supports VS 2013 & 2015)

○ https://visualstudiogallery.msdn.microsoft.com/4cad4d95-099c-449e-9d90-7d4da5c4a0c0?SRC=Home

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.19

Demo Backup

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.20

Three ways to Deploy your .NET Apps (SLIDE DEMO)

• Visual Studio deployment

• Local or server side build

• Using publish profile or MSBuild tasks directly from within your project file

• “cf push” .NET applications from Mac, Linux or Windows

• Server side build

• MSBuild Deployments

• Local or server side build

• Using publish profile or MSBuild tasks directly from within your project file

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.21

Deploying .NET Application from Visual Studio

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.22

Deploying .NET Application from Visual Studio

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.23

Deploying .NET Application from Visual Studio

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.24

Deploying .NET Application from Visual Studio

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.25

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.26

Deploying .NET Applications using MSBuild

cd c:\workspace\contoso

msbuild ContosoUniversity.sln /p:DeployOnBuild=true /p:PublishProfile=push.cf.pubmxl

© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.27

Deploying .NET applications using “push”

cd ~/workspace/contoso

helion target https://windows-world.helion.io

helion login

helion push --stack win2012r2 --mem 512