MeidokonWiki:

Live servers

These boxes are running at Vultr, Sydney datacentre for low latency

These boxes are at Linode in Singapore, and need to be decommissioned

Provisioning a new VPS

Assuming I'm using Vultr right now.

  1. Pick specs
    • Sydney location, $5 VPS, Debian 9 should be good
    • Enable IPv6 and Auto Backups

    • Tick all SSH keys
    • Generic firewall group

    • Pick a good hostname and a leave the label as matching it
  2. Deploy Now
  3. Once the installation gets far enough it'll have an IP address allocated. Grab it and go add the DNS entry for it at https://www.gandi.net/en

  4. Go to the server's settings and set your Reverse DNS, foo.meidokon.net

  5. Configure backups: Weekly, Friday, 21:00 UTC

You should be pretty much sorted now.

Configuring the new VPS

Debian

  1. Get onto the box via the new IP or DNS
  2. Install minimal set of packages

    apt-get update
    apt-get install -y aptitude
    aptitude install -y git make
    aptitude install -y puppet-module-puppetlabs-stdlib
  3. Clone the puppet code

    cd /etc/puppet/
    rmdir code
    git clone https://github.com/barneydesmond/personal-puppet.git code
  4. Run puppet to conform the system:

    make -C /etc/puppet/code full

Your system should now be good.

Redhat

  1. Get onto the box via the new IP or DNS
  2. Install minimal set of packages

    yum install -y git make
    yum install -y puppetlabs-stdlib
  3. Clone the puppet code

    cd /etc/puppet/
    rmdir code
    git clone https://github.com/barneydesmond/personal-puppet.git code
    rmdir modules
    ln -s /etc/puppet/code/modules
  4. Run puppet to conform the system:

    make -C /etc/puppet/code full

Your system should now be good.

MeidokonWiki: servers (last edited 2017-11-17 00:06:17 by furinkan)