Skip to content
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 provisioning instances without public IPs on GCP #1321

Closed
r4victor opened this issue Jun 11, 2024 · 0 comments · Fixed by #1341
Closed

Support provisioning instances without public IPs on GCP #1321

r4victor opened this issue Jun 11, 2024 · 0 comments · Fixed by #1341
Assignees
Labels

Comments

@r4victor
Copy link
Collaborator

Similar to AWS, GCP backend config should support public_ips: true/false property:

type: gcp
  creds:
    type: default
  public_ips: false

To provision an instance without public IP in GCP, the instance should have no access config.

The user is expected to set up Cloud NAT that enables instances without public IPs to access the internet. dstack should probably check if Cloud NAT is set up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants