Keycloak High Availability deployment

174 views
Skip to first unread message

Kishore Guduru

unread,
Nov 30, 2023, 2:10:32 AM11/30/23
to Keycloak User
Hi,

Please advise my application deployment in AWS cloud with keycloak.

1. Looking for Keycloak High Availability and Disaster Recovery solution across AWS regions.
2. Is it possible to deploy multiple keycloak instances in on-premises and sync with cloud deployment. How ?

Alexander Schwartz

unread,
Dec 5, 2023, 9:28:25 AM12/5/23
to Kishore Guduru, Keycloak User
Hi Kishore,

The short answer is: there is no official documentation for this: The latencies between regions don't allow synchronous replication. And we don't have a blueprint for a database which supports multi-region support. 

It could still be a starting point and you could contribute your results back to those documents. 

Best,
Alexander

On Tue, Dec 5, 2023 at 3:22 PM Kishore Guduru <kgud...@gmail.com> wrote:
Thank you Alexander for your response.

This document shows the HA is within a single region. Can I implement the HA across regions? My requirement is also to deploy Keycloak on-premises ( multiple) and sync with the cloud. Is it possible and How.

Appreciate if you could guide me on this.

Thanks,
Kishore.

On Mon, Dec 4, 2023 at 10:40 AM Alexander Schwartz <asch...@redhat.com> wrote:
Hi Kishore,

The latest Keycloak 23 release includes documentation on how to setup high-availability. Have a look at the link here to get started: https://github.com/keycloak/keycloak/discussions/25269

The setup we describe there requires a low latency between different Keycloak deployments using Mutli-AZ, and I assume your setup would have a higher latency, so your setup would need to look different if you're looking for different regions.

Best,
Alexander



--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/7174d9e6-3373-49fd-a86d-7d14c9593027n%40googlegroups.com.


--

Alexander Schwartz, RHCE

He/Him

Principal Software Engineer, Keycloak Maintainer

Red Hat - Germany remote

asch...@redhat.com   

Red Hat GmbH, Registered seat: Werner von Siemens Ring 12, D-85630 Grasbrunn, Germany 
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,
Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross


--

Alexander Schwartz, RHCE

He/Him

Principal Software Engineer, Keycloak Maintainer

Red Hat - Germany remote

asch...@redhat.com   

Red Hat GmbH, Registered seat: Werner von Siemens Ring 12, D-85630 Grasbrunn, Germany 
Commercial register: Amtsgericht Muenchen/Munich, HRB 153243,
Managing Directors: Ryan Barnhart, Charles Cachera, Michael O'Neill, Amy Ross

Qamar Fareed

unread,
Dec 6, 2023, 2:23:14 AM12/6/23
to Alexander Schwartz, Kishore Guduru, Keycloak User
Hello Dear all,
I want guidance about koha and Keycloak SSO,
I want to know How to create the ODIC OR SALM In Keycloack,
I also want to use Oauth in koha, Please Advise @all 
Reply all
Reply to author
Forward
0 new messages