Commit 537f7e73 authored by Florian Kempenich's avatar Florian Kempenich
Browse files

Update droplet sizes with more cost-effective solutions

parent a8a7db2a
......@@ -3,7 +3,7 @@
# - size: `XXXmb` or `Xgb`
# - swap: `XXXMiB` or `XGiB`
size: "512mb"
size: "s-1vcpu-1gb"
region: "fra1"
image: "ubuntu-16-04-x64"
swap: "4GiB"
......@@ -3,7 +3,7 @@
# - size: `XXXmb` or `Xgb`
# - swap: `XXXMiB` or `XGiB`
size: "1gb"
size: "s-3vcpu-1gb"
region: "fra1"
image: "ubuntu-16-04-x64"
swap: "4GiB"
......@@ -3,7 +3,7 @@
# - size: `XXXmb` or `Xgb`
# - swap: `XXXMiB` or `XGiB`
size: "4gb"
size: "s-6vcpu-16gb"
region: "fra1"
image: "ubuntu-16-04-x64"
swap: "4GiB"
#!/bin/bash
# Debug script. Requires `jq` installed (npm tool)
DO_TOKEN_FILE="$HOME/config-in-the-cloud/secrets/digitalocean/token"
DO_TOKEN=$(cat $DO_TOKEN_FILE)
RES=$(\
curl \
-s \
-X GET \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $DO_TOKEN" \
"https://api.digitalocean.com/v2/sizes")
echo $RES | jq '.sizes[] | {slug: .slug, vcpus: .vcpus, hourly: .price_hourly, monthly: .price_monthly}'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment