clarify notes to connect to vm

This commit is contained in:
Robert Wilkins III 2023-04-20 03:17:40 +00:00 • committed by Gabriel Luiz Freitas Almeida
commit 37bdafa9db

View file

@ -45,17 +45,16 @@ In the next step, you'll learn how to connect to the Langflow VM.
<walkthrough-conclusion-trophy></walkthrough-conclusion-trophy> <walkthrough-conclusion-trophy></walkthrough-conclusion-trophy>
To connect to your new Langflow VM, follow these steps: To connect to your new Langflow VM, follow these steps:
1. Navigate to the [VM instances](https://console.cloud.google.com/compute/instances) page 1. Navigate to the [VM instances](https://console.cloud.google.com/compute/instances) page and click on the external IP for your VM. Make sure to use HTTP and set the port to 8080
2. Click on the external IP for your VM <br>**or**
<br>or 3. Run the following command to display the URL for your Langflow environment:
3. Run the following command to store the VM's IP in a variable called `LANGFLOW-IP`:
```bash ```bash
export LANGFLOW_IP=$(gcloud compute instances list --filter="NAME=langflow-dev" --format="value(EXTERNAL_IP)") export LANGFLOW_IP=$(gcloud compute instances list --filter="NAME=langflow-dev" --format="value(EXTERNAL_IP)")
echo http://$LANGFLOW_IP:8080 echo http://$LANGFLOW_IP:8080
``` ```
4. You will be greeted by the Langflow Dev environment 4. Click on the Langflow URL in cloudshell to be greeted by the Langflow Dev environment
Congratulations! You have successfully deployed Langflow on Google Cloud Platform. Congratulations! You have successfully deployed Langflow on Google Cloud Platform.