Keycloak is an Open Source Identity and Access Management solution for modern Applications and Services. This open-source tool will secure your application easily. it supports three different authentication protocols which give you the possibility to cover many applications with different security demands with a single tool. Allows to choose an authentication protocol basing on what you need or what you think will be better for your application and you are not limited by the tool you are using. Keycloak is also an upstream project for Red Hat SSO product so you can be sure that it is a well written and well designed system.
Additionally, Keycloak supports social identity providers like Google or Facebook for the purpose of Social Login. It provides web-based GUI which makes any configurations changes easier.
Easy configurable AMI with pre-installed Keycloak
INSTALLATION VIA AWS MARKETPLACE
Kindly click on the below link to install the server via AWS Marketplace:
User federation, strong authentication, user management, fine-grained authorization, and more.
No need to deal with storing users or authenticating users.
Add authentication to applications and secure services with minimum effort.
Feature to Users to authenticate with Keycloak rather than individual applications.
Enabling login with social networks is easy to add through the admin console.
No code or changes to your application is required.
Built-in support to connect to existing LDAP or Active Directory servers
Enable or disable various features via admin console
Step 1. Connect to SSH
In a terminal window, use the ssh command to connect to the instance. You specify the user name for your instance, and the public DNS name or IPv6 address for your instance, the path and file name of the private key (.pem).
ssh ec2-user@publicIP -i [Path of key pair file]
If it shows access denied message run the following command , then run the above command again to connect via ssh.
chmod 400 [Path of key pair file]
Step 2. Test your Keycloak Installation
If your Keycloak is installed and running, you will have to follow below steps to start using Keycloak
To test your Installation
In a web browser, type the URL of the file that is already created. This URL is the public DNS address of your instance followed by a forward slash and the port 8080.
You should see the following Keycloak login page:
Step 3. Access AWS Instance ID
For an EC2 instance (either a standalone instance or a part of a stack), or a database instance, you can find the ID in a few steps below
In EC2 console, In the navigation pane, select Instances. The Instances page opens.
Click the instance that you want the ID for. The instance details page opens and displays the ID and IP address.
Default Login ID-keyclock-admin and password - <AWS Instance ID>