Our course you can check :- Udemy course
✅ Prerequisites
Before starting OpenShift course, ensure you have:
- A Red Hat Enterprise Linux EC2 instance with an Elastic IP attached
- 5 additional Elastic IPs allocated in your AWS account, So total 6 require
- An m5.2xlarge EC2 instance launcher server (8 vCPUs, 32 GiB RAM) for the OpenShift single-node setup
- An IAM Role created and attached to the EC2 instance
- AWS CLI installed and configured on the EC2 instance
1. Create one Rahat EC2 OpenShift cluster launcher server and login into that server:-
2. Create an IAM Role and attached it to EC2 instance
3. Install AWSCLI and configure it.
3. Install AWSCLI and configure it.
[root@ip-172-31-21-108 ~]# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 59.2M 100 59.2M 0 0 77.9M 0 --:--:-- --:--:-- --:--:-- 78.0M
[root@ip-172-31-21-108 ~]# ls
awscliv2.zip bin kubectl kubectl.sha256
[root@ip-172-31-21-108 ~]# unzip awscliv2.zip
Archive: awscliv2.zip
creating: aws/
creating: aws/dist/
[root@ip-172-31-21-108 ~]# sudo ./aws/install
You can now run: /usr/local/bin/aws --version
[root@ip-172-31-21-108 ~]# aws --version
aws-cli/2.28.21 Python/3.13.7 Linux/6.1.147-172.266.amzn2023.x86_64 exe/x86_64.amzn.2023
[root@ip-172-31-21-108 ~]# aws configure
AWS Access Key ID [None]: AKIASFUIRV7CP4SRCAGY
AWS Secret Access Key [None]: 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
Default region name [None]: us-east-1
Default output format [None]:
[root@ip-172-31-21-108 ~]#
No comments:
Post a Comment