First, launch the Nvidia Gaming PC for Ubuntu 18.04 AMI from https://aws.amazon.com/marketplace/pp/B07SSKJMBJ?ref=cns_1clkPro.
After the AMI boots, SSH in and check nvidia-smi
to confirm you have NVIDIA drivers by default. If you don't see something similar to the below, you've launched the wrong instance.
+-----------------------------------------------------------------------------+