This tutorial will demonstrate how to install Red Hat OpenShift into Amazon Web Services (AWS). Red Hat OpenShift is a powerful and versatile platform for building, deploying, and scaling applications. It provides a complete container application platform that enables developers to build and deploy applications quickly and efficiently. By the end of this tutorial, you will have a fully functional enterprise OpenShift cluster running in AWS that you can use to deploy and scale your applications.
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ls
README.md openshift-client-mac.tar.gz
install-dir openshift-install
kubectl secret
oc
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
You can move kubelet and oc binaries under your local machine path if you want or simply pre-append ./
to the start of the command in the directory where the programs are stored.
aleccham@ALECCHAM-M-6D7G openshift-install-mac % cat secret
{"auths":{"cloud.openshift.com":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K29jbV9hY2Nlc3NfNzY3ZWZjMDcxN2U1NDljMWFjZTY3N2JjZjI1MDgzYjU6OEFWSzc2TExNWk03QkNVMVpKMDgxNk5IUDBRVUxSOFE3NU1HMjYwWkxSTElYRE9WTUhHSkxPWkQ1RFNHMkdKRQ==","email":"aleccham@cisco.com"},"quay.io":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K29jbV9hY2Nlc3NfNzY3ZWZjMDcxN2U1NDljMWFjZTY3N2JjZjI1MDgzYjU6OEFWSzc2TExNWk03QkNVMVpKMDgxNk5IUDBRVUxSOFE3NU1HMjYwWkxSTElYRE9WTUhHSkxPWkQ1RFNHMkdKRQ==","email":"aleccham@cisco.com"},"registry.connect.redhat.com":{"auth":"fHVoYy0xZ0tXWnRjcnRZc1htZVd1a2RlNXUxUWhWa2o6ZXlKaGJHY2lPaUpTVXpVeE1pSjkuZXlKemRXSWlPaUkwTTJZME9HSmhOV1poTldNMFlqY3pZakl6TWpJMk5tSXlPVGc1TURnelpTSjkuUjZ2SlBsQVhkd2FwR0ROT0RPeXBZSXRjMXlaeUtoeDdiWTcwamk3SExINXAyNWlZTjRBMXB3OUJzVGtZRHRNNFFsV1lkdlZQR1RVREdKOEtwVWN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GtZRHRNNFFsV1lkdlZQR1RVREdKOEtwVWNFTWQxVUNibnR3eXpRZUI0TFY3eExyNHRSNDZZMlNfLTl3RUU0SHJFWUVtU1h1UnpVQVhVUlF1cGpLN1VDdW9uTmVJME1LY2thUTlGMDkwUTQxQzVMbVkyMnIzbE9CQ0F2U21NNkRuQldHTS13WEtGQVBPTTQtcmVlckRHMDdVVWxMekpUYVJNaWZBNkRwcDBiWFBDVHpDLWtnU0NDQTlzS25TR0VZc0ZFX3dlZW5LVnpCTHMtTi10ekpRNHFkVWZTM2FjSXVtVkZNeUhPd3hoaUc0WUtmTXpCa19jWWYtMm4xb0F2TU5tQ0FLaVR4a05scUp1MUw4ZDFxVjYydjAwLXhCcEktV1V2T2JDM1BzbndMankzdjl3UkZGaTJKRzN5dmZlU1pwa1VrY1l0dFhuSVNVenhrZWctQlVRUlZqdWdtLWhJbC1LUVRGSkM1QkRSb0hYTHNUNFlHM21QQkF2OGVsSkZqZU1sNGFkeThGczRISkRyQkZkNWVCRmw2Mi1HVXdXcWlCbUhHZTduU0c4RG9Ha0FlZHhLVXVDWFJWVURHMEtoV045c1pMZUFxd0xHeHQyWTdTQ09QLTZWc1haX2ZWRXVuZDd4WC1pSEpRTjhvOGxVRS00SVZ3em9yX0t5UVBJSFVBcW1GallZeXhQcTU5V09NTHpYMWhIOEcyVzFaOW0zR2NtLTRsNFpuZkd6Q0VhLWM3Z2t3aUw2SlRyY3B3X1Z3bG9NbXNTNjVRaElQNnEwMDVvcjVCOElaeUFRTmVzalY0ajk2cjlVdFNKNEw4ZHBkbWs=","email":"aleccham@cisco.com"}}}
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
In order to access the OCP cluster, we must create an SSH key that will be used instead of logging in via username and password. You cannot use an AWS-created key pair.
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ssh-keygen -t rsa -N '' -f ocp-
key
Generating public/private rsa key pair.
Your identification has been saved in ocp-key
Your public key has been saved in ocp-key.pub
The key fingerprint is:
SHA256:zJGTyvdfqiT0SyqHzG8B604uXiBNlZe325mvB2czsGU aleccham@ALECCHAM-M-6D7G
The key's randomart image is:
+---[RSA 3072]----+
| .. . |
| .. oo. |
| . .=. . |
| o ..+ o. . E |
| . o ooS o B |
| . ..o.o. * = |
| +o...= =.o |
| .+* o= o oo |
| ..oo=o o.+o |
+----[SHA256]-----+
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ls
README.md ocp-key.pub <-
install-dir openshift-client-mac.tar.gz
kubectl openshift-install
oc secret
ocp-key <-
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
Here is your public key; this can be shared:
aleccham@ALECCHAM-M-6D7G openshift-install-mac % cat ocp-key.pub
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDMWm2OKc/SPEREA/F/Xlyszz4xPZuXWxaIHL8K2OsX2l+/HIR4APy/3oTrCk5TwkmPNJ42+KTmx6DEGb4kdlepXqknbqHspGLt0JnMnkU2PpQM26Wratc2izsqfSYcl3S6APMeWsgEqfMT+OadhXS3hGa7IOKiljGpszH06UXkxace6XvIVrBavDnAfKxftHbGSkMd9vTKVhfGiDbpvKsnMPyKTxGSh08aavmOwp1tTUFLP2h4Px8BhRTvksIxXzI8Mx7cOEFJlJyi2Nleuy5//DPKIARZn0FPIoe8xut5iER15uMQInWS5x2ZXKiqQ9zDkart0rFtYEByTRMpmWOItSvFqynVGAFtpRtexSFyhRflSU5M3J7OE9vb+QTQuVos7EHNyTgouAp3Vt5ggqjgY0Tw9NGkcbnZxfq5C0S4XYG3piCFhvfrZl3TcZyHLUHjsmuspNEw5rSXYHqRJRets0YYzepcZsTWQoBmAkLgxIp3Tp15ZuDMHMovr10iPlk= aleccham@ALECCHAM-M-6D7G
This is your private key. You shouldn’t share this key because doing so will leave you vulnerable to an attack. Don’t worry; the cluster I wrote for this tutorial is no longer active.
aleccham@ALECCHAM-M-6D7G openshift-install-mac % cat ocp-key
-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEA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0Ul2A
Id7J1cQNiXkn9XO5Z0i4hOIZ6xx8sNAAAAwQDWADErTqirpnJ0jYwPJjb9vhynmfnZ0p4m
/D8NkpOPH9Oy8/q8sxuqOA2lx/A4/MFG/mUXyg35bjDa2btLvS16SUFrHRPmvqx/n6wlHG
wYTi7qO/zvTEphcXBG+goyVT3CblZxCPGiFzCaieG9UVB9j0SsF9hOnvR4FD2zgJQKVzwd
Uhf9SIn3WAgZ0pxcj3rOQe5orVPqJpLdn1OBedP584k8StRDiIFmW8u9+ohoTSzL+Exi/Q
zZ0HUtlCt6PX0AAAAYYWxlY2NoYW1AQUxFQ0NIQU0tTS02RDdHAQID
-----END OPENSSH PRIVATE KEY-----
aleccham@ALECCHAM-M-6D7G openshift-install-mac % eval "$(ssh-agent -s)"
Agent pid 5436
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ssh-add ocp-key
Identity added: ocp-key (aleccham@ALECCHAM-M-6D7G)
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
.ssh
directory of my local user.aleccham@ALECCHAM-M-6D7G openshift-install-mac % cp ocp-key* ~/.ssh
aleccham@ALECCHAM-M-6D7G openshift-install-mac % mkdir install-dir
./openshift-install create install-config --dir install-dir
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create install-config --dir install-dir
? SSH Public Key [Use arrows to move, type to filter, ? for more help]
> /Users/aleccham/.ssh/ocp-key.pub
<none>
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create install-config --dir install-dir
? Platform [Use arrows to move, type to filter, ? for more help]
alibabacloud
> aws
azure
gcp
ibmcloud
nutanix
openstack
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create install-config --dir install-dir
? Platform aws
INFO Credentials loaded from the "default" profile in file "/Users/aleccham/.aws/credentials"
? Region [Use arrows to move, type to filter, ? for more help]
eu-west-3 (Europe (Paris))
me-south-1 (Middle East (Bahrain))
sa-east-1 (South America (Sao Paulo))
> us-east-1 (US East (N. Virginia))
us-east-2 (US East (Ohio))
us-west-1 (US West (N. California))
us-west-2 (US West (Oregon))
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create install-config --dir install-dir
? Platform aws
INFO Credentials loaded from the "default" profile in file "/Users/aleccham/.aws/credentials"
? Region us-east-1
? Base Domain [Use arrows to move, type to filter, ? for more help]
> cvf.solutions
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create install-config --dir install-dir
? Platform aws
INFO Credentials loaded from the "default" profile in file "/Users/aleccham/.aws/credentials"
? Region us-east-1
? Base Domain cvf.solutions
? Cluster Name cvf-ocp
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create install-config --dir install-dir
? Platform aws
INFO Credentials loaded from the "default" profile in file "/Users/aleccham/.aws/credentials"
? SSH Public Key /Users/aleccham/.ssh/ocp-key.pub
? Region us-east-1
? Base Domain cvf.solutions
? Cluster Name cvf-ocp
? Pull Secret [? for help] ******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create install-config --dir install-dir
? SSH Public Key /Users/aleccham/.ssh/ocp-key.pub
? Platform aws
INFO Credentials loaded from the "default" profile in file "/Users/aleccham/.aws/credentials"
? Region us-east-1
? Base Domain cvf.solutions
? Cluster Name cvf-ocp
? Pull Secret [? for help] *****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
INFO Install-Config created in: install-dir
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
aleccham@ALECCHAM-M-6D7G openshift-install-mac % cd install-dir
aleccham@ALECCHAM-M-6D7G install-dir % ls
install-config.yaml
In the install-config.yaml
file, we can see that there are many configuration options. I wouldn’t suggest making any changes to this file unless you understand the configuration that you may be changing. One change that might interest you would be to reduce AWS use charges by decreasing the number of workers or changing the instance size. Unfortunately, many of the smaller-size AWS instances are NOT supported for use with OCP. Remember, this is an enterprise-ready OCP cluster. If you wish to make those changes, use the following link to make changes to your install-config.yaml
:
aleccham@ALECCHAM-M-6D7G openshift-install-mac % cat install-dir/install-config.yaml
additionalTrustBundlePolicy: Proxyonly
apiVersion: v1
baseDomain: cvf.solutions
compute:
- architecture: amd64
hyperthreading: Enabled
name: worker
platform: {}
replicas: 3
controlPlane:
architecture: amd64
hyperthreading: Enabled
name: master
platform: {}
replicas: 3
metadata:
creationTimestamp: null
name: cvf-ocp
networking:
clusterNetwork:
- cidr: 10.128.0.0/14
hostPrefix: 23
machineNetwork:
- cidr: 10.0.0.0/16
networkType: OVNKubernetes
serviceNetwork:
- 172.30.0.0/16
platform:
aws:
region: us-east-1
publish: External
pullSecret: '{"auths":{"cloud.openshift.com":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K29jbV9hY2Nlc3NfNzY3ZWZjMDcxN2U1NDljMWFjZTY3N2JjZjI1MDgzYjU6OEFWSzc2TExNWk03QkNVMVpKMDgxNk5IUDBRVUxSOFE3NU1HMjYwWkxSTElYRE9WTUhHSkxPWkQ1RFNHMkdKRQ==","email":"aleccham@cisco.com"},"quay.io":{"auth":"b3BlbnNoaWZ0LXJlbGVhc2UtZGV2K29jbV9hY2Nlc3NfNzY3ZWZjMDcxN2U1NDljMWFjZTY3N2JjZjI1MDgzYjU6OEFWSzc2TExNWk03QkNVMVpKMDgxNk5IUDBRVUxSOFE3NU1HMjYwWkxSTElYRE9WTUhHSkxPWkQ1RFNHMkdKRQ==","email":"aleccham@cisco.com"},"registry.connect.redhat.com":{"auth":"fHVoYy0xZ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ajk2cjlVdFNKNEw4ZHBkbWs=","email":"aleccham@cisco.com"}}}'
sshKey: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDMWm2OKc/SPEREA/F/Xlyszz4xPZuXWxaIHL8K2OsX2l+/HIR4APy/3oTrCk5TwkmPNJ42+KTmx6DEGb4kdlepXqknbqHspGLt0JnMnkU2PpQM26Wratc2izsqfSYcl3S6APMeWsgEqfMT+OadhXS3hGa7IOKiljGpszH06UXkxace6XvIVrBavDnAfKxftHbGSkMd9vTKVhfGiDbpvKsnMPyKTxGSh08aavmOwp1tTUFLP2h4Px8BhRTvksIxXzI8Mx7cOEFJlJyi2Nleuy5//DPKIARZn0FPIoe8xut5iER15uMQInWS5x2ZXKiqQ9zDkart0rFtYEByTRMpmWOItSvFqynVGAFtpRtexSFyhRflSU5M3J7OE9vb+QTQuVos7EHNyTgouAp3Vt5ggqjgY0Tw9NGkcbnZxfq5C0S4XYG3piCFhvfrZl3TcZyHLUHjsmuspNEw5rSXYHqRJRets0YYzepcZsTWQoBmAkLgxIp3Tp15ZuDMHMovr10iPlk= aleccham@ALECCHAM-M-6D7G
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create cluster --dir install-dir --log-level=info
INFO Credentials loaded from the "default" profile in file "/Users/aleccham/.aws/credentials"
WARNING failed to find default instance type: no instance type found for the zone constraint
WARNING failed to find default instance type: no instance type found for the zone constraint
INFO Consuming Install Config from target directory
INFO Creating infrastructure resources...
https://console-openshift-console.apps.ocp-cvf.cvf.solutions
), username (kubeadmin
), and a password (GAWv7-S7uTz-7qJsK-BY8Be
). You will use this information to log in to the OCP WebUI, which is the URL the wizard provided.aleccham@ALECCHAM-M-6D7G openshift-install-mac % ./openshift-install create cluster --dir install-dir --log-level=info
INFO Credentials loaded from the "default" profile in file "/Users/aleccham/.aws/credentials"
WARNING failed to find default instance type: no instance type found for the zone constraint
WARNING failed to find default instance type: no instance type found for the zone constraint
INFO Consuming Install Config from target directory
INFO Creating infrastructure resources...
INFO Waiting up to 20m0s (until 3:24PM) for the Kubernetes API at https://api.ocp-cvf.cvf.solutions:6443...
INFO API v1.25.4+a34b9e9 up
INFO Waiting up to 30m0s (until 3:36PM) for bootstrapping to complete...
INFO Destroying the bootstrap resources...
INFO Waiting up to 40m0s (until 3:58PM) for the cluster at https://api.ocp-cvf.cvf.solutions:6443 to initialize...
INFO Checking to see if there is a route at openshift-console/console...
INFO Install complete!
INFO To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/Users/aleccham/Desktop/CVF/openshift-install-mac/install-dir/auth/kubeconfig'
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.ocp-cvf.cvf.solutions
INFO Login to the console with user: "kubeadmin", and password: "GAWv7-S7uTz-7qJsK-BY8Be"
INFO Time elapsed: 47m38s
aleccham@ALECCHAM-M-6D7G openshift-install-mac %
Congratulations! You have finished deploying Red Hat OpenShift on AWS. It provides a powerful platform for building, deploying, and managing containerized applications. The process of installation can be done with ease by following the steps outlined in this tutorial. By using AWS, organizations can benefit from the scalability and flexibility of cloud computing while also leveraging the capabilities of OpenShift for container orchestration. With its intuitive interface, robust security features, and extensive integrations, OpenShift on AWS is an excellent choice for enterprises looking to streamline their application development and deployment processes.