Configuring Keycloak for Production
Regardless of where you host the cluster, whether on-premises or in the cloud, the configuration options and the steps to start the server in production mode are the same. In this chapter, you will create a pre-production Keycloak cluster to understand all the various aspects and steps involved when configuring it for production.
In the next sections, you will be introduced to each of these aspects and how they fit into a real production deployment of Keycloak. By the end of this chapter, you should be able to apply the same steps and recommendations presented to deploy Keycloak in your own production environment using a high-availability profile, considering different non-functional aspects such as availability, performance, and failover.
For that, we will be covering the following topics:
- Setting the hostname for Keycloak
- Enabling TLS
- Configuring a database
- Enabling clustering
- Configuring a reverse proxy...