How to Migrate my Java Application to Platform.sh

Goal

This tutorial will cover how to migrate your Java application to Platform.sh.

Preparation

This tutorial assumes you have

  • A working Java 8 or higher application
  • A text editor of your choice.

Problems

The Java Application is ready, and now the team wants to migrate to Platform.sh and enjoy the benefits of cloud computing naturally.

Steps

  1. Understand how Platform.sh works
  2. Create a new Platform.sh projects
  3. Create the route file to define the route, the service file to identify any services such a database that your application needs and the application file to determine how your application will be containerized and build.
  4. Define the Java version that you want to use.
  5. You can integrate to existing Github, Gitlab, or just use the remote repository that Platform.sh will provide to you.

Furthermore, we also have those guides to help you to migrate with your Spring or Jakarta EE application:

References