Wednesday, August 5, 2015

Research about deploying application in Pivotal Cloud Foundry

Research Results:
1. Org – Use this to name a cluster of applications that are logically grouped together.
2. Space – Use each space as a separate environment for your application. An Org has multiple spaces, which serves as a convenient way to manage different environments for your applications.
My Cloud Foundry account has an Org called all-apps with a space called staging.
3. Each space role applies only to a particular space.
4. With auto-reconfiguration, Cloud Foundry creates the database or connection factory bean itself, using its own values for properties such as host, port, username and so on. For example, if you have a single javax.sql.DataSource bean in your application context that Cloud Foundry auto-reconfigures and binds to its own database service, Cloud Foundry does not use the username, password and driver URL you originally specified. Instead, it uses its own internal values. This is transparent to the application, which really only cares about having a relational database to which it can write data but does not really care what the specific properties are that created the database. Also note that if you have customized the configuration of a service, such as the pool size or connection properties, Cloud Foundry auto-reconfiguration ignores the customizations.
5. At Cloud Foundry, apps are hosted in spaces, and a space belongs to an org.
6. Every app in Cloud Foundry will have a unique name. Names are made of alphanumeric characters without any space.

Samples:
https://docs.cloudfoundry.org/buildpacks/ruby/sample-ror.html
https://spring.io/guides/gs/sts-cloud-foundry-deployment/

References:
http://pivotallabs.com/deploying-jruby-rails-application-cloud-foundry/
http://docs.pivotal.io/pivotalcf/concepts/roles.html
http://docs.run.pivotal.io/devguide/deploy-apps/environment-variable.html
https://docs.cloudfoundry.org/devguide/deploy-apps/deploy-app.html
https://docs.cloudfoundry.org/buildpacks/java/spring-service-bindings.html#cloud-profiles-java
http://theblasfrompas.blogspot.com/2014/06/pivotal-cloud-foundry-installed-lets.html
http://naturalprogrammer.com/2015/02/06/pivotal-cloud-foundry-spring-boot-web-applications/
http://www.cloudworkshop.org/cloudfoundry/quickstartguide_20150423.pdf
https://blog.appdynamics.com/java/monitoring-apps-on-the-cloud-foundry-paas/
http://www.eclipse.org/community/eclipse_newsletter/2015/april/article3.php
http://support.run.pivotal.io/entries/30758809-not-able-to-push-the-application-









No comments:

Post a Comment