Get the EC2 instance type from within an EC2 instance.
Modified from Getting the AWS instance ID from within the EC2 instance.
curl http://169.254.169.254/latest/meta-data/instance-type
Get the EC2 instance type from within an EC2 instance.
Modified from Getting the AWS instance ID from within the EC2 instance.
curl http://169.254.169.254/latest/meta-data/instance-type