
Prerequisites
Before you start, make sure you:- Install the Turso CLI
- Sign up or login to Turso
- Have an Akamai account - create one
1
Retrieve database credentials
You will need an existing database to continue. If you don’t have one, create one.Get the database URL:Get the database authentication token:Assign credentials to the environment variables inside
.env
.You will want to store these as environment variables.
2
Fork one of the following embedded replica projects from GitHub
3
Set up a Linode server
Configure and create a new linode. Then, set up SSH authentication to securely access the Linode server from your terminal.Prepare the newly created linode server environment by accessing and set it up for Rust/JavaScript development depending on the project you forked earlier. Install and set up Git too.
4
Transfer project to Linode server
SSH into your server, clone the project from GitHub, and follow its README instructions to set it up.
5
Deploy
Build, run the project, and set up load balancing for it.
pm2 is one of the good candidates out there with built-in load balancing, log monitoring, and bug/exception alerts.
You can go with your favorite options for where to buy domains, reverse proxy setup, and SSL certificates. Caddy is another good option here.