Create a firewall rule in Google Cloud Console to expose required ports for the Ray Dashboard and Ray Serve API.
For help with GCP setup, see the Learning Path Getting started with Google Cloud Platform .
Navigate to the Google Cloud Console , go to VPC Network > Firewall, and select Create firewall rule.
Create a firewall rule in Google Cloud Console
Next, create the firewall rule that exposes required ports for Ray.
Set the Name of the new rule to “allow-ray-ports”. Select your network that you intend to bind to your VM.
Set Direction of traffic to “Ingress”. Set Allow on match to “Allow” and Targets to “Specified target tags”. Enter “allow-ray-ports” in the Target tags text field. Set Source IPv4 ranges to “0.0.0.0/0”.
Configuring the allow-ray-ports firewall rule
Finally, select Specified protocols and ports under the Protocols and ports section. Select the TCP checkbox and enter:
8265,8000,6379
Then select Create.
Setting Ray ports in the firewall rule
In this section, you:
Next, you’ll deploy and run Ray workloads on your Arm-based virtual machine.