no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | opennic:t2digitalocean [2017-05-06T01:46:02Z] (current) – created jonaharagon | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== DigitalOcean Droplet Metadata Setup ====== | ||
+ | This is an incredibly simple way to create Tier 2 servers on [[https:// | ||
+ | |||
+ | ===== Short Version ===== | ||
+ | |||
+ | If you know what you're doing, use this User Data when creating an Ubuntu 16.04 Droplet: | ||
+ | |||
+ | < | ||
+ | # | ||
+ | package_update: | ||
+ | packages: | ||
+ | - bind9 | ||
+ | manage-resolv-conf: | ||
+ | resolv_conf: | ||
+ | nameservers: | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | runcmd: | ||
+ | - wget -O / | ||
+ | - chmod +x / | ||
+ | - /bin/bash / | ||
+ | - sed -i '$a include "/ | ||
+ | - systemctl restart bind9 | ||
+ | </ | ||
+ | |||
+ | ===== Long Version (Full Installation Details) ===== | ||
+ | |||
+ | Assuming you already [[https:// | ||
+ | |||
+ | **Distributions** (Operating System): **Ubuntu 16.04.2 x64** -- this is the only OS this has been tested on, and is the default. Use others at your own risk. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Size:** Any pricing option will do for most servers, as BIND isn't resource intensive. Start with **$5/mo**, you can always upgrade in the future. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Datacenter Region:** Choose the datacenter with the lowest latency to either yourself or the people you intend to use the servers. Check out [[http:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Additional Options:** Check the following: **IPv6**, **User data**, **Monitoring**. You can also check **Backups**, | ||
+ | |||
+ | In the **User data** box, enter the following: | ||
+ | |||
+ | < | ||
+ | # | ||
+ | package_update: | ||
+ | packages: | ||
+ | - bind9 | ||
+ | manage-resolv-conf: | ||
+ | resolv_conf: | ||
+ | nameservers: | ||
+ | - ' | ||
+ | - ' | ||
+ | - ' | ||
+ | runcmd: | ||
+ | - wget -O / | ||
+ | - chmod +x / | ||
+ | - /bin/bash / | ||
+ | - sed -i '$a include "/ | ||
+ | - systemctl restart bind9 | ||
+ | </ | ||
+ | |||
+ | **SSH Keys:** Select your SSH key from the list. If you don't have an SSH key, **[[https:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | **Number of Droplets:** This is the number of servers you want to create with the above configuration. If you're new to operating a Tier 2 server you can keep this at **1 Droplet**. The above script is infinitely scalable however, so you can theoretically create as many servers as you'd like automatically. | ||
+ | **Hostname: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Press the green **Create** button and your server will start! Wait a few minutes for everything to configure correctly, and you should have a working Tier 2 Server, congratulations! | ||
+ | |||
+ | ===== Testing Your New Server ===== | ||
+ | |||
+ | Visit [[http:// | ||
+ | |||
+ | {{: | ||
+ | |||
+ | That's it! Now that your server is created you can add it to our [[https:// |