mock EC2 metadata service