Discourse Setup Log

Table of Contents

  1. Discourse Setup Log
    1. AWS setup
      1. Create instance
      2. Create static IP
      3. Modify firewall
    2. DNS Setup
      1. Created DNS record for reboil.com subdomain:
    3. Instance setup
      1. Install dependencies
    4. Transactional Email Setup
      1. Create account at Mailgun.com
    5. Setup Let's Encrypt
    6. Run Discourse Setup Script
    7. Costs
      1. AWS Lightsail (Cloud Computer)
      2. FreeDNS (DNS Service)
      3. Mailgun (Transactional Email)

Note: Passphrases removed.

AWS setup

Create instance

Create static IP

Modify firewall

DNS Setup

Created DNS record for reboil.com subdomain:

Instance setup

Install dependencies

Transactional Email Setup

Create account at Mailgun.com

Setup Let's Encrypt

Reference: Link (note: this step should not be necessary, apparently with a new Discourse install as of 2020-11.

Run Discourse Setup Script

As root and with /var/discourse as the working directory, run ./discourse-setup

Hostname for your Discourse? [discourse.example.com]: forum.reboil.com
Email address for admin account(s)? [me@example.com,you@example.com]: baltakatei@gmail.com
SMTP server address? [smtp.example.com]: smtp.mailgun.org
SMTP port? [587]: 587
SMTP user name? [user@example.com]: postmaster@mg.reboil.com
SMTP password? [pa$$word]: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx-xxxxxxxx
notification email address? [noreply@forum.reboil.com]:
Optional email address for Let's Encrypt warnings? (ENTER to skip) [me@example.com]: baltakatei@gmail.com
Optional Maxmind License key (ENTER to continue without MAXMIND GeoLite2 geolocation database) [1234567890123456]:

Read verification message:

Does this look right?

Hostname          : forum.reboil.com
Email             : baltakatei@gmail.com
SMTP address      : smtp.mailgun.org
SMTP port         : 587
SMTP username     : postmaster@mg.reboil.com
SMTP password     : xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxx-xxxxxxxx
Notification email: noreply@forum.reboil.com
Let's Encrypt : baltakatei@gmail.com
Maxmind license: (unset)

Costs

AWS Lightsail (Cloud Computer)

FreeDNS (DNS Service)

Mailgun (Transactional Email)