{"id":38233,"date":"2016-07-27T12:10:31","date_gmt":"2016-07-27T06:40:31","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=38233"},"modified":"2016-07-27T12:10:31","modified_gmt":"2016-07-27T06:40:31","slug":"cloud-foundry-paas-intro-part2","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/cloud-foundry-paas-intro-part2\/","title":{"rendered":"CloudFoundry PaaS  &#8211; Introduction"},"content":{"rendered":"<p><strong>Cloudfoundry: Open Source Platform as a Service<br \/>\n<\/strong><\/p>\n<p>A platform used for running applications and services. The purpose of cloudfoundry is to change the way apps and services are deployed and run by reducing the cycle time of development to deployment. Cloud Foundry directly takes benefits of cloud-based resources such that apps running on the platform can be unaware of underlying infrastructure.<br \/>\nIt provides an arrangement to predictable and reliable running of cloud-native apps .<\/p>\n<p>Cloud Foundry is an open platform, which allows for a choice of under\u2010lying infrastructure (eg. <em>OpenStack, AWS, Azure , vSphere<\/em>) , polyglot developer languages and frameworks,<br \/>\nand has a great range of application services. Also, Cloud Foundry is open sourced and controlled and governed by a multi-organization foundation ( nearly 60 companies ).<br \/>\nIt is a powerful thing when different technology companies, industries, and business lines collaborate with such strong cohesion and momentum.<\/p>\n<ul>\n<li>Some of Supported Languages<br \/>\n\u2022 Ruby<br \/>\n\u2022 Python<br \/>\n\u2022 PHP<br \/>\n\u2022 NodeJS<br \/>\n\u2022 PHP<br \/>\n\u2022 Erlang<br \/>\n\u2022 Java and JVM-based languages, such as Groovy<br \/>\n\u2022 Perl<br \/>\n\u2022 .NET<br \/>\n\u2022 Haskell<\/li>\n<li>Some of Supported Frameworks<br \/>\n\u2022 Rails<br \/>\n\u2022 Sinatra<br \/>\n\u2022 Rack<br \/>\n\u2022 Java Spring<br \/>\n\u2022 Catalyst<br \/>\n\u2022 Dancer<\/li>\n<li>Some of Supported Services<br \/>\n\u2022 PostgreSQL<br \/>\n\u2022 MySQL<br \/>\n\u2022 redis<br \/>\n\u2022 neo4j<br \/>\n\u2022 RabbitMQ<br \/>\n\u2022 MongoDB<br \/>\n\u2022 vblob<\/li>\n<\/ul>\n<p><em>Cloud Foundry Components<\/em><br \/>\nComponents of Cloud Foundry include a self-service application execution engine, an automation engine for application deployment and life cycle management, and a scriptable command line interface, as well as integration with development tools to ease deployment processes. It has an open architecture that includes a buildpack mechanism for adding frameworks, an application services interface, and a cloud provider interface. Refer diagram below :<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-38235\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/07\/cf_architecture_block.png\" alt=\"cf_architecture_block\" width=\"589\" height=\"391\" \/><\/p>\n<p><em>The Cloud Foundry Installation Process:<\/em><br \/>\nCloud Foundry can be installed as a single developer environment (via BOSH Lite) for experimentation, but is typically deployed into a larger infrastructure cloud via BOSH. Supported platforms include AWS, OpenStack, vSphere, vCloud Director and vCloud Air.<br \/>\nDetails of Installation using Bosh Lite can be found at : <a title=\"Bosh Lite on GitHub\" href=\"https:\/\/github.com\/cloudfoundry\/bosh-lite\/\" target=\"_blank\"><strong><em>BOSH Lite on github.<\/em><\/strong><\/a><\/p>\n<p><em>The Application Life Cycle<\/em><\/p>\n<p>Typically, in most traditional scenarios, the application developer:<br \/>\n\u2022 Develops an application<br \/>\n\u2022 Deploys application services<br \/>\n\u2022 Deploys an application and connects (binds) it to application<\/p>\n<p><em>Application Design for the Cloud<\/em><br \/>\nApplications written in supported application frameworks often run unmodified on Cloud Foundry, if the application design follows a few simple guidelines. Following these guidelines makes an application cloud-friendly, and facilitates deployment to Cloud Foundry and other cloud platforms.<\/p>\n<ul>\n<li>Avoid Writing to the Local File System as Local file system storage is short-lived and instances of the same application do not share a local file system.<\/li>\n<li>Ignore Unnecessary Files When Pushing<\/li>\n<li>Embrace Port Limitations<\/li>\n<li>Use Cookies Accessible across Applications<\/li>\n<li>Run Multiple Instances to Increase Availability<\/li>\n<li>Use Buildpacks<\/li>\n<\/ul>\n<p>For those desiring to achieve velocity and establish a development-feedback cycle\u2014and for those\u00a0 challenged with responding to the technical driving forces relentlessly shaping today\u2019s marketplaces\u2014Cloud Foundry, as an established cloud-native platform, provides the most compelling way to enable the fundamental shift in the way we build and deploy software.<\/p>\n<p><strong>Part 1 : What is PaaS: <a href=\"http:\/\/www.tothenew.com\/blog\/wp-admin\/post.php?action=edit&amp;post=38084\">Platform as a Service (PaaS) \u2013 Introduction<\/a><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cloudfoundry: Open Source Platform as a Service A platform used for running applications and services. The purpose of cloudfoundry is to change the way apps and services are deployed and run by reducing the cycle time of development to deployment. Cloud Foundry directly takes benefits of cloud-based resources such that apps running on the platform [&hellip;]<\/p>\n","protected":false},"author":938,"featured_media":38238,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":1},"categories":[1993,1174,2348,446,1994,1],"tags":[248,1916,3791,1892,1883,4844,4846,1225],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/38233"}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/938"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=38233"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/38233\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media\/38238"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=38233"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=38233"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=38233"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}