Package: perl-Net-Amazon-EC2-Metadata

"perl-Net-Amazon-EC2-Metadata" package binaries on CentOS:

/usr/bin/ec2meta

You may install this package on CentOS with yum install perl-Net-Amazon-EC2-Metadata