Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

HP Helion Webinar #2

497 vues

Publié le

HP Helion Webinar #2 - Developing and deploying a web app using Cloud Foundry with Etienne Cointet

HP is one of the founding members of the Cloud Foundry PaaS foundation, the fast becoming de facto standards in Cloud-Native Applications.

http://hphelion.bemyapp.com

Publié dans : Technologie
  • Soyez le premier à commenter

HP Helion Webinar #2

  1. 1. Helion Development Platform 1.2 Why is Cloud Foundry so Powerful ? Etienne COINTET HP Presales @bemyapp @ecointet
  2. 2. Interrupt !
  3. 3. Poll time A Never B On YouTube C Yes, it was great D Could be on stage with your keyboard Have you already seen Cloud Foundry in action?
  4. 4. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. It’s all about application $18 Milliard Transport $5 Milliard Entertainment $35 Milliard Photography $16 Milliard Communication $10 Milliard Travel & Hospitality
  5. 5. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Deploys code every 11 seconds.New Release deployed in 6 months
  6. 6. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. The impact of batch size RISK TIME
  7. 7. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Interrupt !
  8. 8. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Poll time A Never B In a movie C I guess D I met myself, I’m a developer. Have you already met a developer?
  9. 9. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. SERVER DATABASE NETWORK MIDDLEWARE SECURITY CODE (a lot)
  10. 10. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. SERVER DATABASENETWORK MIDDLEWARE CODE (a lot)
  11. 11. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. 1 VM WAIT INSTALL OS MIDDLEWARE DATABASE CONFIG NETWORK COPY CODE TESTS
  12. 12. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Interrupt !
  13. 13. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Poll time A 3 seconds B 3 hours C 3 days D 3 months E 3 years In your company, How long it takes to deploy a Platform?
  14. 14. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. target <cloud> push <my app> bind <services> scale <my app> --instances +10
  15. 15. WhereamI?
  16. 16. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. App Platforme Infrastructure Gmail, Salesforce, Flickr, Google Docs, HP Snapfish… Google AppEngine, Heroku, Cloud Foundry, Helion Development Platform, Apprenda... Amazon EC2, Google CE, OpenStack, vCloud, Joyent, HP Helion Openstack,…
  17. 17. OldFashionVSNewStyle
  18. 18. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. elastic pool databaseapp instance app instance Network load balancer
  19. 19. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. [mysqld] user = foobar port = 3306 basedir = /usr bind-address = 172.58.77.101 key_buffer = 16M thread_stack = 128K thread_cache_size = 8 [nginx] http.include mime.types; default_type: application/octet; log_format: main ‘$remote_addr[]…’ [tomcat] <Connector redirectPort=“8443” emptySessionPath…/> <bean id=“sessionFactory” class=“org.springframework…/> [frontend] dependencies: - mysqlclient - ruby files: - core/app/fe/**/* - core/common/**/* [blah] - blah blah blah elastic pool databaseapp instance app instance Network load balancer
  20. 20. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. target mycloud push myapp –instances 2 –mem 64 create-service mysql –name mydb elastic pool databaseapp instance app instance Network load balancer
  21. 21. CloudFoundry:principles
  22. 22. © 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) BUILDPACK
  23. 23. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  24. 24. CloudFoundry:Architecture
  25. 25. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Infrastructure WEB Consumers Developers CloudController App App Execution Agents (DEA) Pool HealthManager Messaging Routers Services
  26. 26. ACloud-NativeApplication
  27. 27. © 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 code My App Services N instances
  28. 28. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. I have no information about my database I know everything about my database <?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"]); ?>
  29. 29. HowtohostCloudFoundry?
  30. 30. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Compute Storage Network Identity Security WebInterface Database Private cloud Public cloudManaged virtual private cloud Managed private cloud Some people say, Openstack!
  31. 31. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Compute Storage Network Identity Security OPENSTACK Database Private cloud Public cloudManaged virtual private cloud Managed private cloud CloudController App App Execution Agents (DEA) Pool HealthManager Messaging Routers Services App App CLOUD FOUNDRYCODE APPLICATION
  32. 32. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Private cloud Public cloudManaged virtual private cloud Managed private cloud HP Helion OpenStack HP Helion Development Platform Openstack Dev Platform OPENSTACK CLOUD FOUNDRYCODE Develop cloud-native applications Deploy across clouds Deliver highly available and scalable apps
  33. 33. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. IaaS Minutes to code Use console to create/modify host cluster Environment includes applications, runtimes, services and infrastructure resources Developer pushes code to cluster via Eclipse/Visual Studio or CLI 3 layers obviously linked
  34. 34. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Etienne Cointet, 2015, «ThisisrealPaaS. I’madeveloper,Icode,nothingelse.»
  35. 35. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. IfI likeASP.NET,C#,VisualStudio,…
  36. 36. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Interrupt !
  37. 37. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Poll time A Never B Sometimes C Often D Yes I’m. Are you a Microsoft Developer?
  38. 38. © 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
  39. 39. © 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
  40. 40. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
  41. 41. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Interrupt !
  42. 42. © Copyright 2015 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice. Poll time A Yes B Yes C Yes Did you enjoy this Webinar?

×