Skip to main content
Multilingual TursoDB, MVCC & AI Agent database guides Read Engine Guide →
Turso Cloud Turso Cloud Embedded Replicas Platform Guides

Turso + Linode by Akamai

Deploy a JavaScript/Rust app using [Turso Cloud embedded replicas](/features/embedded-replicas) to [Akamai](https://www.linode.com/).

Akamai banner

Prerequisites

Before you start, make sure you:

1. Retrieve database credentials

You will need an existing database to continue. If you don’t have one, create one.

Get the database URL:

turso db show --url <database-name>

Get the database authentication token:

turso db tokens create <database-name>

Assign credentials to the environment variables inside .env.

TURSO_DATABASE_URL=
TURSO_AUTH_TOKEN=
NOTE

You will want to store these as environment variables.

Step 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.

NOTE

You can go with your favorite options for where to buy domains, reverse proxy setup, and SSL certificates. Caddy is another good option here.

Synced from official Turso documentation ( tursodatabase/turso-docs · MIT License) Official Docs ↗
Search
Press Esc to close · Powered by Pagefind