Requirements
- Java 17+ installed locally
- Maven or Gradle configured
- Account on Vertra Cloud
Project Structure
Configuration
pom.xml
application.properties
vertracloud.config
Deploy
- Dashboard
- CLI
- VS Code
- Compress the project into a
.zip(folders likenode_modules,venvandtargetare removed automatically) or push it to GitHub. - In the dashboard, click New Project and upload the
.zipor paste the repository URL. - In Build, check the runtime (Java), the main file and the memory. Start and build commands are under Advanced settings.
- Add your environment variables in Environment.
- In Network, turn on web publishing so the app gets a
*.vertraweb.appaddress (512 MB of memory or more). The app must listen on port 80. - Review and deploy. Follow the output in the Logs tab.
Available Versions
Notes
- Automatic compilation: Maven compiles the project inside the container during deployment
- Compilation time: May take 5-10 minutes depending on size
- Recommended memory: 1GB for Spring Boot in production (compilation + runtime)
- Environment variables: Configure via dashboard for database credentials
- Logs: Available in real-time in dashboard terminal
- JVM tuning: JVM is automatically configured for the container
- Listen on
0.0.0.0on port$PORT