How to access Discourse AMI?

Installation steps

ssh into the instance

Type cd /var/discourse/
Now, run sudo ./launcher rebuild app
Note: This rebuilding process can take upto 10-15 mins

Then, open the discourse URL http://instance-public-ip/
Once the rebuilding process is finished create admin account from the steps below.

Creating Admin Account for Discourse

Enter the Discourse Container:
- cd /var/discourse/
- ./launcher enter app

Creating Admin account:
- rake admin:create
- It will ask for Email and Password enter the details accordingly.
- The user name will be displayed on the screen once the user is created.
- To change the username to admin run the below command.
rake users:rename['old_username','admin']
- Once done it will show User Renamed!.
- To Exit the Container press CTRL+D

Discourse Files and Folder

Main Directory : /var/discourse

Config file : /var/discourse/container/app.yml

Instance Login

Shell/Terminal

sudo chmod 400 yourpemkeyname.pem
ssh -i yourpemkeyname.pem ubuntu@yourinstanceip

Domain Settings
If you want to attach a domain , please remove the ip automation script by typing :
sudo rm /var/discourse/ip.sh

Let’s Talk

Let us know if there’s an opportunity for us to build something awesome together.

Your Information

Enter your full name. We promise not to call you after midnight...often.

Make sure it’s valid—we can’t send our witty replies to an empty void.

Include country code and use a valid format, e.g. +1-200-300-4000. No smoke signals, please.

Reason for Contact*

Please select the correct reason for contacting us so we can route your message to the right team. Choose wisely—if you pick the wrong one, your message might be delayed, rerouted, or devoured by our spam gremlins. Thank you for being awesome!

Select an optionDropdown Icon