Skip to content
Keycloak Single Sign-On Server product logo
  • AWSAvailable on Amazon Web Services
  • Azure· soonComing soon on Microsoft Azure
  • GCP· nextGoogle Cloud is next on the roadmap
Available

Keycloak Single Sign-On Server

Keycloak 26.8.1 in production mode with PostgreSQL 16, nginx and Webmin on Ubuntu 24.04 LTS. Add sign-in, single sign-on, user management and two-factor authentication to your web and mobile applications through OpenID Connect, OAuth 2.0 and SAML, connect LDAP or Active Directory, and secure APIs with tokens, without building login yourself. The server address and certificate follow the instance's public IP, and a domain name you set is left alone.

Version
v26.8.1
Operating system
Ubuntu 24.04 LTS
Architecture
x86_64
Support
Email support

What's installed

Every package and version on the image. Nothing else is installed.

  • Keycloak 26.8.1
  • OpenJDK 21
  • PostgreSQL 16.15
  • nginx 1.24.0
  • Webmin 2.670

LicensingOpen source (Apache-2.0), no licence key required

Deploy anywhere

Keycloak Single Sign-On Server on AWS.

Google Cloud is next on the roadmap. One clean-room build, one first-boot credential model, one patch cadence — identical on every cloud you run. Every identifier below is the real one; copy it and launch.

  1. AWS

    Amazon Web Services

    AMI · v26.8.1

    Available
    AWS AMI ID

    Shown for your region on the AWS Marketplace launch page once you subscribe.

    Released
    Root volume
    gp3 · 20 GiB
    Instance types
    • t3a.medium
    • t3.medium
    • t3a.large
    • m6a.large
    Regions34 regions· show all
    • us-east-1
    • af-south-1
    • ap-east-1
    • ap-east-2
    • ap-northeast-1
    • ap-northeast-2
    • ap-northeast-3
    • ap-south-1
    • ap-south-2
    • ap-southeast-1
    • ap-southeast-2
    • ap-southeast-3
    • ap-southeast-4
    • ap-southeast-5
    • ap-southeast-6
    • ap-southeast-7
    • ca-central-1
    • ca-west-1
    • eu-central-1
    • eu-central-2
    • eu-north-1
    • eu-south-1
    • eu-south-2
    • eu-west-1
    • eu-west-2
    • eu-west-3
    • il-central-1
    • me-central-1
    • me-south-1
    • mx-central-1
    • sa-east-1
    • us-east-2
    • us-west-1
    • us-west-2

    5-day free trial, then from $0.04/hr software charge (larger instance sizes cost more) plus your own EC2 costs, billed by AWS.

    Subscriptions are open to AWS India (AISPL) accounts. Outside India? Ask us for a private build.

Getting started

From launch to signed in, step by step.

  1. Subscribe on AWS Marketplace and launch in your region with TCP 22, 80, 443 and 8000 open; wait about three minutes for first boot.

  2. Open https://<instance-public-ip>/admin/, accept the one-time self-signed certificate warning and sign in with username admin and your EC2 Instance ID, lowercase exactly as the console shows it (for example i-0123456789abcdef0). Sign-in from outside the server must use HTTPS.

  3. Applications use the same address, for example https://<instance-public-ip>/realms/<your-realm>/.well-known/openid-configuration.

  4. Webmin is on port 8000 with the same username and password. SSH as ubuntu with your key pair. Change passwords with sudo bash /home/ubuntu/iscripts/pass_keycloak.sh or pass_webmin.sh; check the server with sudo bash /home/ubuntu/iscripts/keycloak_status.sh.

  5. For production, point your own domain at the instance and replace the self-signed certificate with a trusted one.

Security posture

What this image does and does not ship with, one fact per line.

  • Clean-room build on Canonical's official Ubuntu 24.04 LTS image: every component comes from its own official source, and nothing is copied from any third-party image.

  • Keycloak is the official release tarball, run in production mode.

  • No credentials or keys ship in the image: on first boot every instance creates its own administrator, realm signing keys, database password and HTTPS certificate, and sets its own Webmin password, from EC2 instance metadata (IMDSv2).

  • Keycloak and PostgreSQL listen only on the server itself behind nginx, no cluster port is opened, and sign-in from outside requires HTTPS.

  • SSH is key-only, and build-time SSH keys, host keys, machine ID, shell history and logs were removed before imaging.

  • The bundled password tools enforce at least 10 characters with upper- and lower-case letters, a number and a symbol.

  • Replace the self-signed certificate with a trusted one before production use, and restrict ports 22 and 8000 to trusted IP ranges in your security group.