This lab walks you through the steps to create a multi-node cluster of OpenShift 3.11 on an Amazon EC2 Instance. The cluster will be created with 1 master and 2 workers (one each for infra and compute). You will also deploy a sample application on the OpenShift cluster and access it from a remote environment.
Duration: 3 hours
AWS Region: US East (N. Virginia) us-east-1
Launching Lab Environment
Launch the three RHEL Instances
Add Tags to the instances
Note the instances details as per their role
SSH into the EC2 Instances
Log into and configure all the three AWS Instance
Create authentication key pairs for SSH and copy to all nodes
Reset the SSH password authentication on all the three nodes
Verify SSH access using the key configured earlier
Configure Prerequisites on all the three nodes
Prepare for OpenShift installation on the Master node
On the Master node, prepare the htpasswd authentication file
On the Master node, prepare the inventory file
On the Master node, run the ansible playbook
Configure OpenShift
Login to the OpenShift Console and Deploy the Application
Access the Application
Need to have a Red Hat subscription (Red Hat Free-version Developer Subscription or above). Contact your administrator for the subscription. Otherwise for personal use, you can refer to the Appendix-1. Steps provided in this document: Subscription to Red Hat This is important to get access to the Red Hat repositories required for the components, using the above credentials.