Prerequisites

SSH into RHEL jumpbox

Deploying GPUs for AI Workloads on OpenShift on AWS

Export the following AWS variables before running this script:
export aws_access_key_id="YOUR_ACCESS_KEY_ID"
export aws_secret_access_key="YOUR_SECRET_ACCESS_KEY"
export aws_region="YOUR_AWS_REGION"

curl -OL https://gist.githubusercontent.com/tosin2013/76e47de3f32de4486ab4699c21b2188e/raw/959ae5dd2117edf124e4531cfae5216c722a3358/openshift-ai-workload.sh
chmod +x openshift-ai-workload.sh
./openshift-ai-workload.sh m6i.4xlarge # without GPU

./openshift-ai-workload.sh g4dn.2xlarge # with GPU

Configure SSL for OpenShift Console

$ sudo su - 
$ curl -OL https://gist.githubusercontent.com/tosin2013/866522a1420ac22f477d2253121b4416/raw/35d6fa88675d63b6ecf58a827df32356ccf3ddde/configure-keys-on-openshift.sh
$ chmod +x configure-keys-on-openshift.sh
$ ./configure-keys-on-openshift.sh AWS_ACCESS_KEY AWS_SECRET_ACCESS_KEY podman

Configure jumpbox for deployment

curl -OL https://raw.githubusercontent.com/tosin2013/redhat-edge-ai-industrial-demo-infra/main/dev-box.sh
chmod +x dev-box.sh
./dev-box.sh

For deployments without GPU

cd $HOME/redhat-edge-ai-industrial-demo-infra
oc create -k clusters/overlays/aws

For deployments with GPU

cd $HOME/redhat-edge-ai-industrial-demo-infra
oc create -k clusters/overlays/aws-gpu

Ensure the ArgoCD application is in sync

20240213165739

Back to Homepage