page:recipes:inventory manager:spring boot:relational workspace

Host inventory manager with Spring Boot: relational workspace data

Summary

Deploy a inventory manager built with Spring Boot on Ample using the relational records pattern. Compute runs the app in an isolated microVM behind a public HTTPS URL, a managed PostgreSQL 16 database is auto-provisioned and injected as DATABASE_URL. Verified on Spring Boot: a workspace-scoped table, an explicit state machine (draft to review to published) that rejects invalid transitions, and a cross-workspace read that returns nothing (transitions=true isolation=true). Not separately tested: your record schema, states and access rules; treat the inventory manager-specific behavior as your application code.

Resource Requirements

Infrastructure Requirements

Framework

Spring Boot

Workload

Inventory manager

Release Status

Published

Support Status

Verified

Execution Status

Ready

Prerequisites

  1. A Spring Boot project that builds and starts with the documented commands (./mvnw -q -DskipTests package or the Gradle wrapper) producing one application jar, then java -jar on the jvm-21 template (Temurin JDK 21) with server.port read from PORT.
  2. A PostgreSQL driver reading DATABASE_URL at runtime (auto-provisioned when omitted, or supplied with --env).
  3. An Ample account token with servers:write, databases:read.

Workflow Steps

Success Checks

Limitations

Cost Estimate

Next Actions

Examples