Skip to content

Instantly share code, notes, and snippets.

@bijukunjummen
Created January 17, 2022 01:43
Show Gist options
  • Select an option

  • Save bijukunjummen/10ca113a4938825221a10ab3232f0751 to your computer and use it in GitHub Desktop.

Select an option

Save bijukunjummen/10ca113a4938825221a10ab3232f0751 to your computer and use it in GitHub Desktop.
gcloud compute instances create us-west1-a-instance \
--zone=us-west1-a --machine-type=e2-micro \
--create-disk=image=projects/debian-cloud/global/images/debian-10-buster-v20211209,mode=rw
gcloud compute ssh us-west1-a-instance --zone=us-west1-a
## From the instance..
curl 'http://ANYCAST_IP/caller/messages' \
-H 'Content-Type: application/json' \
-H 'Accept: */*' \
--data-raw '{"payload":"dummy payload","delay":"100","responseCode":200}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment