-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support launching clusters into private VPCs #14
Comments
Thanks @nchammas. This use case is becoming more common in enterprise setting. Any thoughts on when this feature might become available? |
As with the typical open source project, there are no promises on when a feature might be delivered. The things that usually get worked on are critical bug fixes, fun stuff, and everything else, in that order. 😄 My current intent is to work next on adding support for resizing existing clusters and improving launch progress reporting. If I get some time at work to devote to Flintrock (e.g. for this issue), I may work on it after I get those 2 features out. |
It is exactly our case ( and we don't even have hostname resolution, and that would need some hack for spark and hadoop ), I will work out something and submit it to you @nchammas. My use case will be :
|
In case of the private VPC, I'm struggling with the ssh access when installing and configuring, because i'm outside the security group and it take my public IP to access an private IP so doesn't work. I'm thinking about 2 solutions :
What do you think about it @nchammas ? |
Hey @rmessner, I updated the description of the issue and commented on your PRs as well. |
For people who want to have a quick hacky solution to this. One can create a machine in the VPC and launch a cluster from that machine using private DNS/IP. However, one needs to do the following:
For the last problem, I did the following:
Finally thank you @nchammas , I wanted to use a custom AMI and this project was a life-saver! |
Related PRs from others who have implemented their own fixes for this: |
is something like the chaordic fork implemented here? If so are their instructions? I'm trying to run Spark behind the VPC with not outside traffic. |
Some users work in environments where they want to or have to launch clusters into VPCs with no public subnets.
This seems to be a fairly common use-case, so I think we should support it if it does not add too much complexity.
A design goal for this feature should be to automatically do the appropriate setup whether the subnet we are launching into is public or private. That means, if possible, the user shouldn't have to specify anything.
I think this is possible because we know what VPC we're launching into (either the user's default VPC, or an explicitly specified one), and we know what subnet we're launching into (either the VPC's default subnet, or an explicitly specified one). Flintrock should be able to query AWS for information about the subnet and figure out whether to use public or private addresses automatically.
The text was updated successfully, but these errors were encountered: