In this step, we will create Access key for the user that configure your cluster.
AdministratorAccess permission is only used in this LAB environment. If you setup for your production environment, make sure your user have at least privileges.
ssh ubuntu@18.206.88.146 -i ~/.ssh/labBastionHostSSHKey01.pem
18.206.88.146
to your EC2’s Public IP address.~/.ssh/labBastionHostSSHKey01.pem
to the path of the Key pair you downloaded when creating your EC2 instance.sudo su
.apt update -y && apt install -y unzip
.curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
aws --version
.root@ip-10-0-1-234:~# aws --version
aws-cli/2.17.52 Python/3.12.6 Linux/6.8.0-1012-aws exe/x86_64.ubuntu.24
aws configure
and enter your Access key credential.root@ip-10-0-1-234:~# aws configure
AWS Access Key ID [None]: AKIAQIJRSMTTPGVD45WE
AWS Secret Access Key [None]: ipVz+Y0C9Z2132n3Ef7jFLhJc415OXQmfq3cXPof
Default region name [None]:
Default output format [None]:
root@ip-10-0-1-234:~#
Next, we will create IAM role for the lab.