hp helion european webinar series ,webinar #3
TRANSCRIPT
![Page 1: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/1.jpg)
Build your Cloud Native Appswith Helion Development Platform.
Etienne COINTET
HP Presales
@ecointet
![Page 2: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/2.jpg)
Interrupt !
![Page 3: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/3.jpg)
Poll time
A No B More or LessC Yes but I was watching TV as well…D Yes, It was great
Have you seen my first Webinar?
![Page 4: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/4.jpg)
![Page 5: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/5.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
SERVER
DATABASE
NETWORK
MIDDLEWARE SE
CUR
ITY
CODE
(a lot)
![Page 6: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/6.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
SERVER DATABASENETWORK MIDDLEWARE
CODE
(a lot)
![Page 7: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/7.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
FAIL 0SUCCESS 0
![Page 8: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/8.jpg)
ROUND
![Page 9: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/9.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CODE TIME!<section id="cta" class="wrapper style3"><h2>My Application is great</h2><ul class="actions"><li><a href="#" class="button big">
<?phpecho « Container Port is: » .getenv("VCAP_APP_PORT");?>
</a></li></ul></section>
VCAP_APP_HOSTVCAP_APPLICATIONVCAP_APP_PORTVCAP_SERVICES…
![Page 10: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/10.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Interrupt !
![Page 11: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/11.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Poll time
A PHP B .NET (C# / ASP / …)C NODE.JSD Ruby / PythonE JAVAF Others
What is your favorite language?
![Page 12: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/12.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Platform
ConsumersNetwork
DNS / LB/ …
Services
Service(s)
WEB
Cloud-Native App
…Instance(s)
BU
ILD
PA
CK
![Page 13: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/13.jpg)
ROUND
![Page 14: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/14.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
I have no information about mydatabase
I know everything about mydatabase
<?php
$link = mysql_connect(“192.168.1.120", “etienne042", “MyPassword");
echo ‘successfully connected!';
?>
<?php
$services = getenv("VCAP_SERVICES");
$services_ json = json_decode($services,true);
$db_config = $services_ json["mysql"][0]["credentials"];
mysql_connect($db_config["hostname"], $db_config["user"], $db_config["password"]);
?>
CODE TIME!
![Page 15: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/15.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Define dependancies(frameworks, libs)
Configuration file
Ask services needed
Build version
(release, debug…)
Release XX.YY
Port listening
Movable
Logs
Unique codeMy App
Services
N instances12factor.net
![Page 16: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/16.jpg)
ROUND
![Page 17: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/17.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
DEA
Auto-detect
![Page 18: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/18.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CODE TIME!
buildpack: https://github.com/cloudfoundry/php-buildpack.git
https://github.com/cloudfoundry/java-buildpackhttps://github.com/cloudfoundry/ruby-buildpackhttps://github.com/cloudfoundry/nodejs-buildpackhttps://github.com/cloudfoundry/php-buildpackhttps://github.com/cloudfoundry/go-buildpackhttps://github.com/cloudfoundry/python-buildpack
![Page 19: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/19.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
![Page 20: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/20.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Interrupt !
![Page 21: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/21.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Poll time
A Never B SometimesC OftenD Yes I’m.
Are you a Microsoft Developer?
![Page 22: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/22.jpg)
ROUND
![Page 23: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/23.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
.NET Support
The OpenStack Word Mark is either a registered trademark/service mark or trademark/service mark of the OpenStack Foundation, in the United States and other countries and is used with the OpenStack Foundation’s permission. We are not affiliated with, endorsed or sponsored by the OpenStack Foundation, or the OpenStack community. Cloud Foundry is a trademark and/or registered trademark of Pivotal Software, Inc. in the United States and/or other countries.
Windows DEA
Router
CloudController
Linux DEA
HealthManager
Services Services
![Page 24: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/24.jpg)
ROUND
![Page 25: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/25.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
CODE TIME!
<connectionStrings><add name="SchoolContext"connectionString=
"Server={ContosoUniversity-db#hostname},{ContosoUniversity-db#port};Database={ContosoUniversity-db#name};User Id={ContosoUniversity-db#username};Password={ContosoUniversity-db#password};MultipleActiveResultSets=true;"
providerName="System.Data.SqlClient" /></connectionStrings>
![Page 26: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/26.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Overview of Cloud Foundry Windows Support
System Components
• Windows Server 2012 R2• Process and Resource Isolation• 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, …
Windows DEA (CF v2)
• GO• Supported Microsoft SQL Server versions & flavors
• Microsoft SQL Server 2012 SP1 Express• Microsoft SQL Server 2014 Express
• Windows Server 2012 R2 Core or better• By default runs on Windows MSSQL node, but can run
anywhere
Cloud Foundry Microsoft SQL Server Service Broker
Developer Tools
• --stack win2012r2
Standard Helion CLI
• Programmatic access to CF• Full object v2 model coverage
• Supporting: UAA, AOK, Loggregator and Logyard
Cloud Foundry .NET SDK
• Deploy (publish), Start/Stop/Restart, Delete apps from MSBuild
Cloud Foundry MS Build Tasks
• Explore Cloud Foundry cluster and manipulate from within Visual Studio
• Deploy application from within Visual Studio
Cloud Foundry Explorer for Visual Studio
![Page 27: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/27.jpg)
ROUND
![Page 28: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/28.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Interrupt !
![Page 29: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/29.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Poll time
A YesB No (actually I didn’t try)C No (I’m not a gamer…)D No
Can you play with the 3D app ?
![Page 30: HP Helion European Webinar Series ,Webinar #3](https://reader030.vdocuments.mx/reader030/viewer/2022020301/58f36db91a28ab1c4b8b4623/html5/thumbnails/30.jpg)
© Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.