Listing Thumbnail

    Keycloak - Hardened Identity & Access Management (SSO, IAM)

     Info
    Sold by: Lynxroute 
    Deployed on AWS
    Free Trial
    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.

    Overview

    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
    • auditd, SSH hardening, Kernel hardening, IMDSv2 enforced

    Compliance artifacts:

    • SBOM - CycloneDX 1.6 at /etc/lynxroute/sbom.json
    • 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.

    Details

    Delivery method

    Delivery option
    64-bit (x86) Amazon Machine Image (AMI)

    Latest version

    Operating system
    Ubuntu 24.04

    Deployed on AWS
    New

    Introducing multi-product solutions

    You can now purchase comprehensive solutions tailored to use cases and industries.

    Multi-product solutions

    Features and programs

    Financing for AWS Marketplace purchases

    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.
    Financing for AWS Marketplace purchases

    Pricing

    Free trial

    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.

    Keycloak - Hardened Identity & Access Management (SSO, IAM)

     Info
    Pricing is based on actual usage, with charges varying according to how much you consume. Subscriptions have no end date and may be canceled any time.
    Additional AWS infrastructure costs may apply. Use the AWS Pricing Calculator  to estimate your infrastructure costs.

    Usage costs (4)

     Info
    Dimension
    Cost/hour
    m6i.large
    Recommended
    $0.05
    t3.large
    $0.03
    m6i.2xlarge
    $0.05
    m6i.xlarge
    $0.05

    AI Insights

     Info

    Dimensions summary

    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

    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.
    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.
    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.
    Tell us how we can improve this page, or report an issue with this product.

    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.

    Usage information

     Info

    Delivery details

    64-bit (x86) Amazon Machine Image (AMI)

    Amazon Machine Image (AMI)

    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
    • CIS Level 1 hardening applied (ansible-lockdown/UBUNTU24-CIS)
    • CVE-scanned before every release
    • UFW firewall pre-configured (ports 22, 80, 443 only)
    • fail2ban, auditd, AppArmor pre-configured
    • SBOM (CycloneDX 1.6) at /etc/lynxroute/sbom.json
    • CIS Conformance Report (OpenSCAP) at /etc/lynxroute/cis-report.html
    • IMDSv2 enforced

    Additional details

    Usage instructions

    1. Launch instance (m6i.large recommended; t3.large minimum)
    2. Open Security Group - allow TCP 443 and TCP 22 from your IP
    3. SSH: ssh -i key.pem ubuntu@<PUBLIC_IP>
    4. Read the generated login: sudo cat /root/keycloak-credentials.txt
    5. 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.
    6. 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.
    7. 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

    Documentation: https://www.keycloak.org/documentation 

    Resources

    Vendor resources

    Support

    Vendor support

    Visit us online: https://lynxroute.com 

    For Keycloak documentation:

    AWS infrastructure support

    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.

    Similar products

    Customer reviews

    Ratings and reviews

     Info
    0 ratings
    5 star
    4 star
    3 star
    2 star
    1 star
    0%
    0%
    0%
    0%
    0%
    0 reviews
    No customer reviews yet
    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.