Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

I am trying to make a POST call work from within Google Apps scripts into the V2 create API.
I have it working, but it doesn’t execute the user_data formatted in either cloud-init or just as shell commands. Nothing shows in the logs either. Any help is appreciated!
function createDroplet(){
var url = "https://api.digitalocean.com/v2/droplets";
var payload = {
"name":"NAMEOFHOST",
"region":"sfo2",
"size":"s-1vcpu-1gb",
"image":"ubuntu-18-04-x64",
"tags":["TAG1", "TAG2"],
"user_data": "curl -s https://Script.sh | sh"
};
var options = { "method": "post", "headers": { "Authorization": "Bearer " + DOToken, "Content-Type": "application/json"},"payload": JSON.stringify(payload) };
var response = UrlFetchApp.fetch(url, options);
}
9c1989c1c80144c7a9977905ce64c9
Scott H
1e6b823ea20d4cb189a34a922f5588
Rory McEwan
lan
kprichard
realmag777
Edward Narrdo
Vinoth K