riptano / ComboAMI

The AMI takes a set of input parameters via the EC2 user-data to install, RAID, ring, and launch a DataStax Enterprise/Community cluster.
69 stars 59 forks source link

Problems Deploying in VPC #16

Closed endzyme closed 10 years ago

endzyme commented 11 years ago

https://github.com/riptano/ComboAMI/blob/2.2/ds2_configure.py#L72

This python script doesn't work in VPC due to the lack of resolution on 'instance-data' hostname within a VPC. You can definitely change this hostname to 169.254.169.254 and it works in both EC2 and Instances in VPC[Ec2]

joaquincasares commented 11 years ago

Hello @endzyme,

Sorry for missing this for so long. Could you verify that the above still works, for all URLs?

I think I spotted a stacktrace that made it as far down as https://github.com/riptano/ComboAMI/blob/2.2/ds2_configure.py#L96 without issues. Perhaps AWS now supports the 'instance-data' hostname but fails on the public hostname portion, for valid reasons.

If you'd be up for testing our AMI in a VPC cluster, let me know which URLs work and which ones fail. I'll see if I can make a few changes to get you up and running by giving you access to our dev AMI, that way we don't break the production image while testing this out.

endzyme commented 11 years ago

get back with you in a few days on this - thanks for the follow up

joaquincasares commented 10 years ago

Hello, I'm closing out this issue since VPCs should now be supported. Feel free to create another issue if you still have problems. Thanks!