Create a firewall rule in Google Cloud Console to expose required ports for the MLflow UI and Model Serving API.
For help with GCP setup, see the Learning Path Getting started with Google Cloud Platform .
To configure a firewall rule for the MLflow UI and the Model Serving API:
Create a firewall rule in Google Cloud Console
Create a firewall rule that exposes the ports required for MLflow.
Set Name to allow-mlflow-ports, then select the network you want to bind to your virtual machine.
Set Direction of traffic to Ingress, set Action on match to Allow, set Targets to All instances in the network, and set Source IPv4 ranges to 0.0.0.0/0.
Configuring the allow-mlflow-ports firewall rule
5000,6000
Use port mapping 5000 for the MLflow Tracking UI and 6000 for the MLflow Model Serving API.
Setting MLflow ports in the firewall rule
You’ve created a firewall rule to expose the MLflow UI and the model serving API. You also enabled external access to monitor experiments and access deployed models.
Next, you’ll create a C4A Arm virtual machine and attach it to this firewall rule.