H2 Database Engine on Ubuntu 24.04

Azure Databases

a compact, pure Java relational database with a browser based SQL console: run queries, design schemas and connect applications over JDBC from one lightweight engine.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

H2 is a fast, embeddable relational database written entirely in Java. This image runs it as a server: a single process exposes a JDBC endpoint for applications and a built in web console for interactive SQL, so you can create tables, run queries, inspect schemas and manage data straight from your browser. It speaks standard SQL, supports transactions and is a popular choice for application backends, integration and test environments, prototypes and teaching, where a small, self contained SQL database that starts in seconds is more convenient than a heavyweight server.

Why the cloudimg image

cloudimg ships H2 hardened by default. Both the JDBC server and the web console bind to loopback only and are never exposed directly to the network; the console is reached solely through an nginx front that enforces HTTP Basic Auth with a password generated uniquely on first boot, and the database itself is created on first boot with its own unique sa password, so no default or blank login ever ships in the image. The base OS is fully patched at build time, every image is paired with a step by step deploy guide, and support is available 24/7.

Common uses

  • Application backend and JDBC data store
  • Integration and test database that starts in seconds
  • Browser based SQL console for prototypes and teaching

See it running

Real screenshots taken while testing this image against its deployment guide.

H2 Database Engine on Ubuntu 24.04 screenshot 1 H2 Database Engine on Ubuntu 24.04 screenshot 2 H2 Database Engine on Ubuntu 24.04 screenshot 3 H2 Database Engine on Ubuntu 24.04 screenshot 4