update gcp script for spot instance

This commit is contained in:
Robert Wilkins III 2023-05-14 21:24:23 +00:00
commit 2fdce4b146
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ gcloud compute instances create $VM_NAME \
--zone $ZONE \ --zone $ZONE \
--network $VPC_NAME \ --network $VPC_NAME \
--subnet $SUBNET_NAME \ --subnet $SUBNET_NAME \
-preemptible --preemptible
# Remove the temporary file after the VM is created # Remove the temporary file after the VM is created
rm $tempfile rm $tempfile

View file

@ -29,7 +29,7 @@ Run the deploy_langflow_gcp_spot.sh script to configure the GCP environment and
```sh ```sh
gcloud config set project <walkthrough-project-id/> gcloud config set project <walkthrough-project-id/>
bash ./deploy_langflow_gcp.sh bash ./deploy_langflow_gcp_spot.sh
``` ```
The script will: The script will: