-
Notifications
You must be signed in to change notification settings - Fork 21
FOSDEM 2022 hetzner
Vasil Kolev edited this page Jan 21, 2024
·
4 revisions
apt install hcloud-cli for n in {0..15} do echo "Creating streamfrontend$n.video.fosdem.org" hcloud server create --name streamfrontend$n.video.fosdem.org --image debian-12 --datacenter fsn1-dc14 --type cx21 --network fosdem-internal --ssh-key wouter-vasil-mark-gerry done for n in ns1 ns2 web0 validate do echo "Creating $n.video.fosdem.org" hcloud server create --name $n.video.fosdem.org --image debian-12 --datacenter fsn1-dc14 --type cx21 --network fosdem-internal --ssh-key wouter-vasil-mark-gerry done echo "Creating mon.video.fosdem.org" hcloud server create --name mon.video.fosdem.org --image debian-12 --datacenter fsn1-dc14 --type cpx21 --network fosdem-internal --ssh-key wouter-vasil-mark-gerry while IFS= read -r line; do echo "Creating $line" hcloud server create --name "$line" --image debian-12 --datacenter fsn1-dc14 --type ccx21 --network fosdem-internal --ssh-key wouter-vasil-mark-gerry done < /tmp/ansible_hosts_voctos echo "Creating streamdump0.video.fosdem.org" hcloud server create --name streamdump0.video.fosdem.org --image debian-12 --datacenter fsn1-dc14 --type ccx11 --network fosdem-internal --ssh-key wouter-vasil-mark-gerry echo "Creating volumes" hcloud volume create --server streamdump0.video.fosdem.org --name streamdump --size 4096 --format ext4 --automount hcloud volume create --server validate.video.fosdem.org --name validate --size 1024 --format ext4 --automount
hcloud server list | sed -e 's/ */ /g'|cut -d' ' -f 2,5 | sed -e 's/\(.*\) /\1\. 10800 IN AAAA /g' > dns_mappings.txt hcloud server list | sed -e 's/ */ /g'|cut -d' ' -f 2,4 | sed -e 's/\(.*\) /\1\. 10800 IN A /g' >> dns_mappings.txt
Send to the server team for updates.