The Cloud Foundry Java buildpack has excellent support for Spring Boot. We can deploy standalone applications based on JARs as well as the traditional Java EE WAR applications.
Cloud Foundry provides a Maven plugin to deploy applications:
<build> <plugins> <plugin> <groupId>org.cloudfoundry</groupId> <artifactId>cf-maven-plugin</artifactId> <version>1.1.2</version> </plugin> </plugins></build>
Before we can deploy our application, we need to configure the application with a target and a space to deploy the application to.
The following are the steps involved:
- We need to create a pivotal Cloud Foundry account at ;https://account.run.pivotal.io/sign-up.
- Once we have an account, we can log in at https://run.pivotal.io to create ...