This product has charges associated with it for hardening, security configuration, and support.
Keycloak is an open-source identity and access management server (Java/Quarkus) providing single sign-on, OpenID Connect, OAuth 2.0, SAML 2.0, user federation, and social login. This Lynxroute build is hardened and ready out of the box: production mode on a bundled local PostgreSQL, a random admin password generated at first boot, an nginx TLS perimeter on port 443, Keycloak's HTTP, management and database ports bound to localhost, UFW firewall pre-configured, and a CIS Level 1 hardened Ubuntu 24.04 LTS base.
Apache-2.0 license - fully auditable, no vendor lock-in.
This is a repackaged software product wherein additional charges apply for hardening, security configuration, and support.
WHAT IS KEYCLOAK
Keycloak is an open-source identity and access management (IAM) server built on Java and Quarkus. It gives applications single sign-on and standards-based authentication and authorization through OpenID Connect, OAuth 2.0, and SAML 2.0, plus realm-based multi-tenancy, role-based access control, user federation against LDAP and Active Directory, identity brokering, social login, fine-grained authorization, and a full admin and account console. Applications integrate through the per-realm OIDC discovery document and standard token endpoints, so any compliant OIDC or SAML client works without vendor SDKs. Keycloak requires a production relational database; this image bundles a local PostgreSQL instance and rotates its password at first launch. Apache-2.0 license, no vendor lock-in - the same codebase as the Red Hat build of Keycloak, with no open-core feature gating.
WHAT THIS AMI ADDS
Security hardening:
Production mode (kc.sh build, then start --optimized) against a bundled local PostgreSQL - the embedded H2 database, which upstream supports for development only, is not used
Random admin password generated at first launch and written to /root/keycloak-credentials.txt (root-only); no password is baked into the image
PostgreSQL password also generated per instance at first launch
nginx TLS perimeter on port 443 (self-signed certificate; Certbot pre-installed so a CA-signed certificate is one command away)
Keycloak HTTP (8080), management and health (9000), and PostgreSQL (5432) all bound to 127.0.0.1 only
UFW firewall pre-configured (ports 22, 80 and 443 only; 80 redirects to HTTPS)
fail2ban, auditd, AppArmor pre-configured
CVE scan - every image is scanned for vulnerabilities before release
OS hardening (CIS Level 1):
CIS Ubuntu 24.04 LTS Level 1 benchmark applied via ansible-lockdown
CIS Conformance Report at /etc/lynxroute/cis-report.html
CIS Tailored Profile at /usr/share/doc/lynxroute/CIS_TAILORED_PROFILE.md
Highlights
Keycloak security baked in: production mode on a bundled local PostgreSQL, a random admin password generated at first launch and stored root-only, an nginx TLS perimeter on port 443 with Certbot pre-installed, and Keycloak's HTTP (8080), management (9000) and PostgreSQL (5432) ports all bound to 127.0.0.1. UFW pre-configured for ports 22, 80 and 443 only.
CIS Level 1 hardened Ubuntu 24.04 LTS: auditd, fail2ban, AppArmor, SSH key-only, IMDSv2 enforced. CVE-scanned before every release. SBOM (CycloneDX) and CIS Conformance Report included.
Standards-based single sign-on: OpenID Connect, OAuth 2.0, SAML 2.0, realms, role-based access control, user federation (LDAP/Active Directory), identity brokering, and social login for any compliant client. Apache-2.0 license - fully auditable, no vendor lock-in.
AWS Marketplace now accepts line of credit payments through the PNC Vendor Finance program. This program is available to select AWS customers in the US, excluding NV, NC, ND, TN, & VT.
Try this product free for 5 days according to the free trial terms set by the vendor. Usage-based pricing is in effect for usage beyond the free trial terms. Your free trial gets automatically converted to a paid subscription when the trial ends, but may be canceled any time before that.
You pay by the hour for the EC2 instance size you choose to run this hardened Keycloak image. Four instance sizes are available: t3.large, m6i.large, m6i.xlarge, and m6i.2xlarge. Each represents a different compute and memory allocation, so pricing scales with the capacity you select. The larger m6i sizes give more resources for heavier workloads, while t3.large and m6i.large suit lighter needs. All sizes deliver the same hardened image; you pick based on how much compute you need. Billing runs on usage, so you only pay for the hours you run.
Top-of-mind questions for buyers
What compute and memory do these instance sizes map to for billing?
Each dimension bills per hour for one running EC2 instance of that size. t3.large is a burstable general-purpose type, while m6i.large, m6i.xlarge, and m6i.2xlarge are general-purpose types with increasing vCPU and memory. The size you launch determines your hourly software rate.
Am I charged when the instance is stopped or paused?
The software rate meters running instance-hours. A fully stopped instance does not accrue software charges. Stopped instances may still incur underlying AWS storage fees for attached volumes, but those are separate AWS charges, not the hourly software rate for this image.
What is bundled inside the image regardless of which instance size I run?
Every size runs the same hardened Ubuntu 24.04 LTS base with CIS Level 1 benchmarks applied. Each deployed instance includes a software bill of materials, a CIS Conformance Report, unique credentials generated at first boot, firewall, and intrusion-prevention tooling. Instance size changes only compute and memory, not the bundled contents.
lynxroute.com
Helpful?
Vendor refund policy
We do not offer refunds for this product. AWS infrastructure charges (EC2, EBS, data transfer) are billed separately by AWS and are not refundable by us.
How can we make this page better?
Tell us how we can improve this page, or report an issue with this product.
Give us feedbackReport a problem with this product or seller
Legal
Vendor terms and conditions
Upon subscribing to this product, you must acknowledge and agree to the terms and conditions outlined in the vendor's End User License Agreement (EULA).
Content disclaimer
Vendors are responsible for their product descriptions and other product content. AWS does not warrant that vendors' product descriptions or other product content are accurate, complete, reliable, current, or error-free.
An AMI is a virtual image that provides the information required to launch an instance. Amazon EC2 (Elastic Compute Cloud) instances are virtual servers on which you can run your applications and workloads, offering varying combinations of CPU, memory, storage, and networking resources. You can launch as many instances from as many different AMIs as you need.
Version release notes
Keycloak 26.7.1 on Ubuntu 24.04 LTS - open-source identity and access management (OIDC, OAuth 2.0, SAML 2.0, single sign-on)
Production mode (start --optimized) on a bundled local PostgreSQL; the admin password and the database password are generated uniquely per instance at first launch
nginx TLS perimeter on port 443; Keycloak HTTP, management/health and PostgreSQL bound to localhost
Certbot pre-installed - enable a CA-signed HTTPS certificate with one command: sudo certbot --nginx -d yourdomain.com
Open Security Group - allow TCP 443 and TCP 22 from your IP
SSH: ssh -i key.pem ubuntu@<PUBLIC_IP>
Read the generated login: sudo cat /root/keycloak-credentials.txt
Open https://<PUBLIC_IP>/admin/ in your browser - accept the self-signed certificate warning. First launch takes about 1-2 minutes while the database schema is prepared and the JVM warms up; until Keycloak is ready the page shows a loading screen that refreshes itself.
Sign in as "admin" with the password from step 4, then create your own administrator under the master realm and remove or change the generated bootstrap account.
Create your first realm, register your applications as clients, and add users under that realm.
Keycloak runs in production mode (start --optimized) against a bundled local PostgreSQL - no external database is required, and the embedded H2 database (upstream supports it for development only) is not used. Keycloak's HTTP listener, its management and health port, and PostgreSQL are bound to 127.0.0.1; nginx terminates TLS on port 443 and reverse-proxies to Keycloak. The admin console, the account console, and the OIDC/OAuth2/SAML token endpoints are all served over HTTPS on port 443. Each realm publishes an OIDC discovery document under the path /realms/REALM/.well-known/openid-configuration on the same host, where REALM is the realm name (the built-in realm is named master).
The admin password and the PostgreSQL password are generated uniquely per instance at first launch and saved to /root/keycloak-credentials.txt. Restrict Security Group port 443 to your own IP until you have signed in and created your own administrator.
For production, replace the self-signed certificate and the IP-based hostname with your own domain:
sudo certbot --nginx -d yourdomain.com
sudo sed -i 's|^hostname=.*|hostname=https://yourdomain.com|' /opt/keycloak/conf/keycloak.conf
sudo systemctl restart keycloak
AWS Support is a one-on-one, fast-response support channel that is staffed 24x7x365 with experienced and technical support engineers. The service helps customers of all sizes and technical abilities to successfully utilize the products and features provided by Amazon Web Services.
This is a repackaged software product wherein additional charges apply for seller maintenance.
Deploy a ready-to-run Keycloak 26.7.0 identity and access management server on Ubuntu 24.04 LTS minimal. Pre-installed as a systemd service with key-only SSH, auto-generated admin credentials, and an HTTPS admin console for SAML/OIDC authentication, MFA, user federation, and single sign-on.
Keycloak Identity Platform on AWS is an AWS-based service helping organizations design, deploy, and operate a centralized, high-availability Keycloak identity layer for digital services.
This product has charges associated with it for seller support. Keycloak is an open-source identity and access management (IAM) solution designed to secure applications and services. Developed by Red Hat, Keycloak simplifies user authentication, authorization, and user management, offering a centralized platform for handling identity-related tasks. It supports various authentication methods, including social logins, single sign-on (SSO), and multi-factor authentication, making it a versatile solution for securing web applications, mobile apps, and APIs.
This is a repackaged open source software product wherein additional charges apply for patching the operating system and the maintenance provided by Kurian. This AMI has Keycloak installed as a service with PostgreSQL as the backend database.
Choose AMI for the target OS and version.
Launch a private Keycloak identity and access management server on AWS with automated first boot, generated administrator credentials, HTTPS access, PostgreSQL, and built in backup and restore helpers. This product has a fee associated with the provision and deployment of the application and AMI support.
Be the first to review this product. We've partnered with PeerSpot to gather customer feedback. You can share your experience by writing or recording a review, or scheduling a call with a PeerSpot analyst.