Java Hosting
Wodby hosts Java applications on Kubernetes and maintains the Java stack they run on. Start on Wodby Cloud, where Wodby runs the cluster, or use a cluster in your own cloud account or on your own server.
The stack, the dashboard, and the deployment steps are the same on all three, and an environment can be moved to another cluster later.
A maintained Java stack
Wodby maintains the images and the default configuration of the services in the stack. New versions arrive as stack updates that you apply yourself or automate.
Nothing to set up on Wodby Cloud
Wodby creates and operates the cluster. You need no cloud account and no server, and a free demo cluster lets you try it first.
Or a cluster that stays yours
Connect a cloud account for managed Kubernetes, or a server on which Wodby installs Kubernetes. The infrastructure and its bill stay with you.
In production
How Wodby runs Java in production
A Java application on Wodby runs as one app service that starts your jar directly. The JVM sizes itself from the container, and PostgreSQL, Valkey, mail, and Gotenberg are optional services you select when the application uses them.
More heap means a higher memory limit
The JVM takes a fixed share of the container's memory limit as its heap. To give the application more heap, raise the memory limit of the app service; a fixed heap flag is not needed.
PostgreSQL backups are SQL dumps
The optional PostgreSQL service writes to a data volume of its own. Wodby backs up the environment's database as a gzipped SQL dump, and an import replaces the contents of that volume.
Separate database values for JDBC
The database link gives the app service the host, database name, user, and password as separate values, next to a generic database URL. That URL is not in JDBC form, so the JDBC URL is put together from the separate values.
The service version is the Java version
The Java version your application runs on is the version of the app service. A managed database can take the place of the PostgreSQL container when you prefer one.
Mail is captured until you add delivery
Mailpit captures every message the application sends and delivers none, and its public domain sits behind basic auth by default. For real delivery you enable OpenSMTPD, point the mail link at it, and attach an SMTP provider.
Read the Java stack guide for setup steps, settings, and limits.
Moving an existing Java application?
Ask your coding agent to read the repository, match the application to maintained Wodby services, and list what has to change. Review the plan before anything is created or moved.
Managed Java hosting on Wodby Cloud
On Wodby Cloud, Wodby creates a Kubernetes cluster for you and operates it: the nodes, Kubernetes upgrades, and the cluster’s networking and storage.
You choose the machine size and how far the cluster may grow. Billing is hourly, for the nodes you run, a cluster fee, and persistent storage.
Why start with Wodby Cloud
- No cloud account, cluster, or server to prepare before the first deployment.
- A free, temporary demo cluster to try Wodby first.
- Each cluster scales between the minimum and maximum node count you set.
- Kubernetes and cluster infrastructure upgrades are done by Wodby.
Read more about Wodby Cloud or review Wodby Cloud pricing.
What comes with Java hosting
Each app can have several environments, such as production, staging, and dev, and they can run on different clusters. Pull requests can get temporary preview environments.
Included on every hosting option
- The Java stack, maintained by Wodby.
- CI/CD with deployment history and rollback to an earlier build.
- Domains and routing with automatic HTTPS.
- Backups and imports of databases and files.
- Automatic updates of stack services and cluster infrastructure.
Java hosting on your own infrastructure
Managed Kubernetes in your cloud account
Connect a cloud account and Wodby creates the cluster in it and keeps its infrastructure current. The cluster, its region, and its bill stay with you.
Kubernetes on your own server
Connect a dedicated server or VM and Wodby installs Kubernetes on it and keeps it up to date. One server can hold many Java applications and environments, and more servers can join as worker nodes.
Read more on the self-hosted Kubernetes page.
Which option to start with
Start on Wodby Cloud if you have no cluster and want the app running today. Use your own server if you already rent one, or if hosting cost matters more to you than node autoscaling and surviving the loss of a server. Use managed Kubernetes if the app has to live in your own cloud account.
The choice is not final. An environment can be moved to another cluster together with its supported persistent data.
Related pages
- See how a release reaches production on the Deploy Java page.
- See the services of the Java stack.
- Compare cloud providers on the Kubernetes providers page.
- Check Wodby Cloud pricing.
Managed hosting
Host Java on Wodby Cloud
Create an account, start a cluster, and deploy the Java stack. A demo cluster is free to try.
Connect the services your apps already use
An integration links Wodby to an account you already have, such as your Git provider, a storage bucket for backups, or an API your app calls.
- Connected once
- Set up a service once and reuse it across your apps.
- Out of your code
- Credentials stay out of your repositories and are managed in one place.
- Per environment
- Override any value for each environment.
Spring Boot has a stack of its own
The Java stack runs any application that builds into a runnable jar, such as one on Quarkus, Micronaut, or Javalin, or one without a framework.
For a Spring Boot application, use the separate Spring Boot stack. It also sets Spring Boot’s own connection settings from the linked services.
Next step
Want to see what the Java stack includes first?
The stack page lists the services in the stack and links to the stack’s guide in the documentation.
What our customers say
From teams that run their applications on Wodby.
We moved our Drupal hosting to use Wodby and changed our development workflow to use Docker at the same time. Now we can concentrate on Drupal development and we're not losing time configuring servers etc. When a site needs additional resources or hosting in a different region we can be way more responsive as deploying a new instance takes no time at all.
Tony MillerEighty Options
Wodby’s innovative infrastructure helped us to increase the speed and simplify our app deployment, while also leaving us the freedom of handling our hosting and not locking us on a specific pattern. We are now much more robust for future growth and will be able to innovate faster.
Martin Normann LundRamsalt Lab
Frequently Asked Questions
Have questions? We've got answers. If you don't see your question here, feel free to reach out.
Get started
Start deploying apps with Wodby
Choose Wodby Cloud, managed Kubernetes, or your own server, then deploy stacks with CI/CD, backups, SSL, integrations, and environment management in the same platform.
- Run the same stack workflow on Wodby Cloud, managed Kubernetes, or your own server
- Deploy app environments for production, staging, previews, and development
- Use Wodby CI or your existing pipeline with the Wodby CLI
- Keep backups, certificates, integrations, and access control in the platform
Start for free
- 10 app services
- 30 minutes of integrated CI
- 5 GB of private registry
- Stacks & integrations
- Technical domains with SSL