Multi-node OpenShift v3.11 Cluster on AWS-RHEL

Lab details

  1. 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.

  2. Duration: 3 hours

  3. AWS Region: US East (N. Virginia) us-east-1

Tasks Details

  1. Launching Lab Environment

  2. Launch the three RHEL Instances

  3. Add Tags to the instances

  4. Note the instances details as per their role

  5. SSH into the EC2 Instances

  6. Log into and configure all the three AWS Instance

  7. Create authentication key pairs for SSH and copy to all nodes

  8. Reset the SSH password authentication on all the three nodes

  9. Verify SSH access using the key configured earlier

  10. Configure Prerequisites on all the three nodes

  11. Prepare for OpenShift installation on the Master node

  12. On the Master node, prepare the htpasswd authentication file

  13. On the Master node, prepare the inventory file

  14. On the Master node, run the ansible playbook

  15. Configure OpenShift

  16. Login to the OpenShift Console and Deploy the Application

  17. Access the Application


  1. 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.