Prerequisites
- A Zerops account
- Basic knowledge of Java
- Java and Maven/Gradle installed locally
Deploy from Recipe
Import the Project
Log in to Zerops GUI and click Import a project.
Deploy Your Own Application
Step 1: Create Spring Boot Application
Create a simple REST API:src/main/java/com/example/demo/DemoApplication.java
Step 2: Add zerops.yaml
zerops.yaml
Step 3: Configure Service
- Using zCLI
- Using GUI
description.yaml
Framework Examples
Spring Boot with Gradle
build.gradle.kts
zerops.yaml
Quarkus Application
zerops.yaml
Adding a Database
description.yaml
application.properties:
JVM Optimization
Troubleshooting
Build fails
Build fails
Ensure Maven/Gradle wrapper is committed:
JAR not found
JAR not found
Check your artifact name:
Next Steps
Runtime Overview
Learn about Java runtime
Scaling
Configure auto-scaling