That was the point! You can run Amazon Linux in a VM or in an EC2 instance. It's a reasonable replacement for Centos, and very similar.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-l...
And there's a Vagrant box for it: https://app.vagrantup.com/gbailey/boxes/amzn2
(There are a few versions of this.)
The Amazon docs probably cover the same stuff now.
https://superuser.com/questions/1048091/can-i-install-ec2-am...