How Does It Work?
First let’s look at a sample Spring project. A very simple Hello World app which can be found on the Cloud Foundry GitHub repository is an easy sample app to start with (https://github.com/cloudfoundry-samples/spring-hello-env). To begin, create a new folder and clone the GitHub project (Git > Clone Repository…).
Alternatively, you can start from the sample Spring project from the IDE (File > New > Sample Spring Project).
Then, in the PaaS menu, you can go to Cloud Foundry > Create Application. This is where you configure your deployment options for your application. Start by choosing your Cloud Foundry target by specifying the API endpoint.
You can leave the application type as Autodetect and click the Create button. Enter your Cloud Foundry credentials and your Spring application will start building in the cloud. Since the apps are built on a public Jenkins server, you might have to wait for your turn and this might take a few minutes. Once your application is deployed you can easily manage it from the Application panel (PaaS > Cloud Foundry > Applications) and browse between your different servers.
And that’s it! Check out the demo video to learn more. You can let us know what you think about this new service by Tweeting us at @cloudfoundry.
– The Cloud Foundry Team
Don’t have a Cloud Foundry account yet? Signup for free today