Skip to content

Exclude private subnets when provisioning in AWS #908

@peterschmidt85

Description

@peterschmidt85

Currently, dstack uses the first subnet it finds. If the VPC contains private subnets, this causes provisioning logic to fail and the run to hang while attempting to connect via SSH.:

DEBUG 2024-02-14T13:28:09.616 dstack._internal.core.services.ssh.tunnel SSH tunnel failed: b'ssh: connect to host 34.229.201.59 port 22: Operation timed out\r\n'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions