update gcp script for spot instance
This commit is contained in:
parent
5445f50928
commit
2fdce4b146
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue