8000 Help with Clustering using JDBC_PING with Mysql and Keycloak 17 Quarkus on 2 AWS ECS Containers Running EC2 Instances behind ELB Load Balancer · keycloak keycloak · Discussion #23400 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

In case anyone stumbles upon this in the future, the issue was the fact that the AWS Target Group was set as Bridge mode instead of VPC mode, which was preventing each Keycloak instance from having its own IP. Switching everything over to use VPC mode with the target group being IP Address instead of Instance based let the Keycloak Instances communicate with each other and properly cluster. Leaving the target IP Addresses on the target group as blank allows the Load Balancer to assign the IPs. We also had to turn off the public subnets for our VPC and only assign the service to use the private subnets.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaswanson57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
0