EC2 g5g instances use the arm64 CPU architecture, not the x86 CPU architecture. So you will need to launch your instance with an arm64-compatible AMI.
I have found that to create EC2 g5g I need to use Marketplace Deep Learning Nvidia. I tried creating under this AMI. Thank Michael_F for your support
There are a few Deep Learning AMIs that can support g5g instance type, below are their release notes:
You could probably use one of the above AMIs for your g5g work.
Why is the GPU not working out of the box for Deep learning AMI EC2 instance?asked 5 months ago
I want crash persistent storage for my instanceasked 2 months ago
I can't create seattle instance ec2asked 2 months ago
Convert t2.2xlarge to t3.2xlarge - Ubuntu Server 20.04 LTS (HVM)Accepted Answerasked 2 years ago
How can I change pw and access my web server instance?asked a year ago
cloudformation to create ec2 using volume attachment for root.asked 4 months ago
Can not create instance imageasked 2 years ago
p3 instance types are not showing up for AWS Deep Learning AMIsasked 4 years ago
Want to create g5g instance for EC2Accepted Answerasked 6 months ago
How to attach EBS volume from original EC2 instance to a new EC2 instance?asked 5 months ago