Introduction
- This article guides you through creating and hosting a Spring Boot application on Square Cloud.
- Before getting started, make sure you have an account on Square Cloud, which can be done through the sign up page. You can use your email to create an account.
- Finally, you need to have an active paid plan with on your account. You can view our plans and purchase one according to your needs here.
Creating Your Project
- First you’ll need to install a JDK and a package manager to help you manage the project like
maven. - You can create a base project on Spring Initializr.
- You need to configure the application.properties to open the webserver on host 0.0.0.0 and port 80. Look the example below:
server.properties
- After this configuration and when the project is ready, build it into a jar file with the command of your build tool.
Uploading the Project to Square Cloud
- You need to find your project jar file and create a zip containing it.
- After preparing your project files, you can now upload them to Square Cloud and host your project.
- Remember to check “Publish on the Web” when you do the upload.
- Upload via Dashboard
- Upload via CLI
Access the Square Cloud Dashboard and upload your project files.


