On the Mac I followed this blog post: http://www.robertsosinski.com/2008/01/26/starting-amazon-ec2-with-mac-os-x/

and added the following environment variable:

EC2_URL=https://eu-west-1.ec2.amazonaws.com