no NVIDIA gpu available
it has CUDA 10.0 but no NVIDIA gpu nor drivers installed. instead of it, there is
$ lspci | grep VGA
00:01.3 Non-VGA unclassified device: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:03.0 VGA compatible controller: Amazon.com, Inc. Device 1111
Wasted my time trying to run a CUDA app
You need to run on a GPU instance type