Confused trying to get ec2 example to work (python version problem?)

I would really use the OS python and do not think this is a Python version issue.

See some other references: https://forums.aws.amazon.com/thread.jspa?threadID=104935

You’re setting the EC2_URL env variable per that guide and this means the connection method in the module is trying to use ec2.amazonaws.com as an endpoint. I’m not sure if this works, you can find endpoints here:

http://docs.aws.amazon.com/general/latest/gr/rande.html#ec2_region

Consider not setting EC2_URL (if you don’t mind AWS EC2 putting you into the default region or one of its choice) or set it to one of those endpoints for the region you want to work in (and have your existing resources in, such as security groups etc.).

That’s fixed the SSL problem. I spent too much time on my “fix” (upgrading to python 2.7) when it was really just an outdated endpoint. Thanks for getting me back on track.

You are right, I went down the rabbit hole of python updates based on a search result. lwade’s reply has got me back on track for the original problem.