add a simple ec2_instance_spec interface metod.