-
-
Notifications
You must be signed in to change notification settings - Fork 329
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
Pass an EIP to the EC2 instance created #124
Comments
@bsuv feel free to propose a PR. I use the runners in a private subnet, so no public ones are attached. |
I will work on a PR. The issue with having them in a private subnet is that the NAT Gateway costs can become prohibitive |
related issue #92 |
I've started working on this issue: roock@c204e4b |
@roock do not hard code region and please do rebase from upstream and open PR |
@kostyrev ups, thx for the hint |
@roock seems not supported by the aws docker machine driver https://docs.docker.com/machine/drivers/aws/ |
A possibility would be to use the user_data to assign an EIP to the docker-machine instances. |
Is it really necessary to expose the runners? You could also access your machines via AWS Console (SSM access). Seems to be easier to configure and less risky. If we are talking about the agent: There should be an inbound rule which allows traffic from your Gitlab instance only. And the communicatin agent <-> runner should be safeguarded through the module itself using security groups. We should be fine without an EIP at all or do I miss something? Any other use case? |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days. |
This issue was closed because it has been stalled for 15 days with no activity. |
In some cases when using spot, I'd like to be able to provide an EIP and reuse them in case the spot is terminated.
This is useful to prevent changing inbound rules that uses the runner's public IP as a source in their inbound rule.
The text was updated successfully, but these errors were encountered: