By using AWS re:Post, you agree to the Terms of Use
/Programatically retrieve recommended AMI id for GPU EKS nodes/

Programatically retrieve recommended AMI id for GPU EKS nodes

0

For non-gpu EKS nodes we can programmatically retrieve the recommended AMI id with a call to GetParameter:

aws ssm get-parameter --name /aws/service/eks/optimized-ami/<1.19>/<amazon-linux-2>/recommended/image_id --region <region-code> --query "Parameter.Value" --output text

How can we programmatically retrieve the recommended EKS optimized accelerated Amazon Linux AMI (for GPU nodes)?

1 Answers
0

For anyone that runs across this, it appears you query for this parameter:

/aws/service/eks/optimized-ami/<kubernetes version>/amazon-linux-2-gpu/recommended/image_id

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions