Make sure you're organization allows SSH'ing into the workers and has updated the firewall rules in your cloud subscription to allow SSH on the port you are using.
AWS
Open the Security Group valohai-sg-workers
and click Edit Inbound rules to add a new inbound Custom TCP rule:
-
Type: Custom TCP
-
Port range: The port number you specified in your Valohai organization’s settings.
-
Source: Depending on your organization settings you can either set Source as 0.0.0.0/0 to allow connections from anywhere or whitelist certain IP ranges/source tags
-
Description: Allows connecting to Valohai jobs over SSH
GCP
Create a new firewall rule:
-
Name:
valohai-fr-worker-ssh
-
Description: Allows connecting to Valohai jobs over SSH
-
Network: The network where your Valohai resources are created (e.g.
valohai-vpc
) -
Direction: Ingress
-
Targets: Specified target tags:
valohai-worker
-
Source: Depending on the organization settings you can either set Source as 0.0.0.0/0 to allow connections from anywhere or whitelist certain IP ranges / source tags.
-
Specified protocols and ports:
-
TCP: with the port number you specified in your Valohai organization’s settings.
-
Source range
Setting the source as 0.0.0.0/0 means that inbound connections will be allowed from all addresses. However, you’ll still need the SSH Private Key (generated below) in order to authenticate and successfully connect.
Comments
0 comments
Please sign in to leave a comment.