This guide will walk you through deploying AskYourDatabase on your own infrastructure.

Step 1: Prepare Your Cloud Server

First, you'll need a cloud server with persistent storage. This is recommended for initial deployments as the default database will be hosted on the same server.

Recommended cloud server options include:

<aside> While you can host the database separately later, we recommend using a single persistent server for your initial deployment to simplify the setup process.

</aside>

Make sure your chosen server meets these minimum requirements:

SStep 1.5: Install and Start Docker

Before deploying AskYourDatabase, make sure latest Docker is installed and running on your server. Docker is essential for running the containerized components of the application.

For Ubuntu:

sudo apt-get update
sudo apt-get install -y docker.io
sudo apt-get install -y docker-compose
sudo systemctl start docker
sudo systemctl enable docker
sudo docker run hello-world

For Windows:

# Install Docker Desktop from <https://www.docker.com/products/docker-desktop>
# After installation, open PowerShell as Administrator and run:
docker --version
docker run hello-world