Spring Boot has great support for most popular Cloud Platform as a Service (PaaS) providers.
Some of the popular ones are as follows:
Amazon Web Services (AWS)
In this section, we will focus on deploying our application to Cloud Foundry.
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...