.save(client, List<Entity>)
.delete(client, Query)
.query(client, Query)
.requestSync(client)
Put your MongoDB journal files and data files on the same disk
It is a common recommendation to separate components onto different storage devices. However, persistent disk already stripes data across a very large number of volumes, so there is no need to do it yourself.
MongoDB journal data is small and putting it on its own disk means either creating a small disk with insufficient performance or creating a large disk that goes mostly unused. Put your MongoDB journal files on the same disk as your data. Otherwise putting your MongoDB journal files on a small persistent disk will dramatically decrease performance of database writes.
gcloud
gcloud compute
gcloud compute ssh INSTANCE_NAME --zone=us-central1-a
--command
gcloud compute ssh INSTANCE_NAME --command="ps aux" --zone=us-central1-a
copy-files
gcloud compute copy-files instance-1:file-1 instance-2:file-2 ... local-directory --zone=us-central1-agcloud compute copy-files file-1 file-2 ... instance:remote-directory --zone=us-central1-a
gcloud compute config-ssh
gcloud compute instances list
gcloud compute instances delete my-old-vm
gcloud compute instances delete $(gcloud compute instances list --zone=us-central1-b)
-h
gcloud compute instances list -h
--help
--format=json
--format=text
gcloud compute firewall-rules list --format=text
gcloud compute zones list --format=json
--regexp
my-instance-1
my-instance-2
my-instance-3
gcloud compute instances list --regexp my-instance-.*
--fields
gcloud compute instances list --fields name disks[].source disks[].mode
gcloud compute fi
gcloud compute firewall-rules
Report Date,MeasurementId,Quantity,Unit,Resource URI,ResourceId,Location2014-05-01,com.google.cloud/services/compute-engine/VmimageN1Standard_1,86400,seconds,https://www.googleapis.com/compute/v1/projects/123456789/zones/us-central1-a/instances/testinstance1,13495613777116200000,us-central1-a2014-05-01,com.google.cloud/services/compute-engine/VmimageN1Standard_1,86400,seconds,https://www.googleapis.com/compute/v1/projects/123456789/zones/us-central1-b/instances/testinstance2,17932867728944100000,us-central1-b
Use promo code NEXT1720 to save $300 off general admission