Lightsail Instance
Last updated
Was this helpful?
Last updated
Was this helpful?
AWS Lightsail allows you to setup instances with fixed pricing.
Follow the instructions to setup your instance. These should be easy to follow for a non-technical person.
Create a Lightsail instance with at least 2 Gb of RAM and with CentOS operating system. ($12/month as of 5/2024)
Under the Networking tab, attach your instance to a statip IP
Add the following IPv4 firewall rules
Connect to your instance ("Connect using SSH" button). This should load a terminal.
Copy and run this script to install dependencies, generate passwords, and start the flow-server:
You can type docker compose ls
in the terminal to see the running server
The gen-secrets.ts
script has now generated passwords for all your services and put them in hidden .env
file in ~/flow-backend/docker/
In your terminal, type the following to open that file. We'll use the Supabase login and password in the next step.
cat ~/flow-backend/docker/.env
In your browser, navigate to http://YOUR_STATIC_IP:8000
You can now navigate to the table editor where everything will be saved.
Navigate to Domains & DNS and follow the instructions to "Create a DNS Zone"
Once setup, go to the Domains tab and copy the Name server address to your registrar
For instance, for Namecheap, select Custom DNS from the Nameservers section and add them