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

Your Trusted Partner for Building AI-Powered Custom Applications

Tell Us What You Need

Share your goals, challenges, and vision.

Get Expert Advice — Free

We'll analyze your needs and suggest the best approach.

Start Building

Move forward with a trusted team — we'll handle the tech.

16+

Years in Business

1500+

Projects Completed

50+

Top-notch Experts

Trusted by

Mercedes-Benz AMG
Holiday Inn
JLL
Bosch

Let's Talk

Bring Your Vision to Life with Cutting-Edge Tech.

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

Not a inquiry? Choose the appropriate reason so it reaches the right person. Pick wrong, and you'll be ghosted—our teams won't see it.