clburlison / clburlison.com

My personal website
https://clburlison.com
3 stars 6 forks source link

cloudinit-munki #54

Closed clburlison closed 6 years ago

clburlison commented 8 years ago

Blog post over setting up a VPS on Digital Ocean using a cloud-init file.

Would also like to include a video walkthrough.

Part 1

Part 2

clburlison commented 8 years ago

Furter reading: http://www.ipaddressguide.com/cidr#range https://www.nginx.com/resources/admin-guide/restricting-access/ Fail2Ban for brute force, etc.

clburlison commented 6 years ago

I actually started this but have zero interest in finish the implementation. I'm attaching the WIP cloud-init file for reference purposes if anyone finds it interesting.

  1. Create block storage via the API
    curl -X POST -H "Content-Type: application/json" \
    -H "Authorization: Bearer $APIKEY" \
    -d '{"size_gigabytes":10, "name": "munkidata", "description": "Block store for munki data", "region": "nyc1"}' \
    "https://api.digitalocean.com/v2/volumes"
  2. Create a server in the same region (NYC1 if you copy/paste from above) and add the attached cloud-init.yml.

do_munki_config.txt

If the above helps cool. If not fix it yourself.