Turso + Linode by Akamai
Deploy a JavaScript/Rust app using Turso embedded replicas to Akamai.
Prerequisites
Before you start, make sure you:
- Install the Turso CLI
- Sign up or login to Turso
- Have an Akamai account - create one
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
.
Fork one of the following embedded replica projects from GitHub
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.
Transfer project to Linode server
SSH into your server, clone the project from GitHub, and follow its README instructions to set it up.
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.
Was this page helpful?