How to use some other GPU that A10 in amazon aws?

I have followed this tut:

I made a working instance, and also got raised up my cpu limits, so I can run now g5.48 instance and that gives me 8 x A10 GPUs.

That is fine but I would love to work with some better GPUs there,
like 3000 or ever Ada 4000 series.

Is this possible somehow?