Read EC2 metadata, if it's available.