‹ All agents

GitHub Copilot + Elestio

by GitHub

GitHub Copilot is GitHub's AI-powered coding assistant that integrates directly into your editor. When paired with Elestio, it can deploy applications, manage infrastructure, configure backups, and handle your entire DevOps workflow.

Get Started Free Install CLI

Quick start

1

Install the Elestio CLI

Install the Elestio CLI globally via npm

npm install -g elestio
2

Set up GitHub Copilot

Install the GitHub Copilot extension in your IDE

code --install-extension GitHub.copilot
3

Configure your API credentials

Set your Elestio email and API token

elestio login --email "[email protected]" --token "your_api_token"

Get your token at dash.elest.io/account/security

4

Deploy your first service

Ask GitHub Copilot to deploy — it will use the Elestio CLI automatically

elestio deploy PostgreSQL --project 112 --name my-db --provider hetzner

Example prompts

"Deploy N8N on Netcup in Germany"
"Add a custom SSL domain to my service"
"Scale my service to 8 vCPUs and 16GB memory"
"Create a firewall rule to whitelist my IP"
"Create a backup before migration"
"Deploy my GitHub repo with CI/CD"
"Add your SSH-key to my server"
"Reboot my server"
"Add 50GB of storage to my service"
"Get the admin credentials for my database"

Elestio CLI

The Elestio CLI gives GitHub Copilot full access to the Elestio platform — deploy services, manage infrastructure, configure backups, and more. 400+ templates, 9 cloud providers, 100+ regions. View on GitHub →

Install Elestio CLI

npm install -g elestio

Authenticate

elestio login --email "[email protected]" --token "your_api_token"

Common workflows

1 Deploy a database

  • Ask Copilot to deploy PostgreSQL
  • Copilot searches with elestio templates search
  • Copilot selects provider and region
  • Copilot deploys with elestio deploy

2 Deploy from GitHub

  • Ask Copilot to deploy your repo
  • Copilot deploys CI/CD with elestio deploy cicd
  • Copilot creates pipeline with elestio cicd create
  • Copilot configures auto-deploy

3 Configure backups

  • Ask Copilot to set up backups
  • Copilot enables with elestio backups auto-enable
  • Copilot creates snapshot with elestio snapshots take
  • Copilot confirms backup schedule

4 Set up firewall

  • Ask Copilot to configure firewall
  • Copilot lists rules with elestio firewall get
  • Copilot adds rules with elestio firewall enable
  • Copilot verifies configuration

5 Check billing

  • Ask Copilot for billing overview
  • Copilot runs elestio billing
  • Copilot shows costs with elestio billing project
  • Copilot provides cost breakdown

6 Add SSL / custom domain

  • Ask Copilot to add a domain
  • Copilot adds with elestio ssl add
  • Copilot provides DNS instructions
  • Copilot verifies SSL is working

Tips for success

Install the Elestio CLI with npm install -g elestio for full platform access
Get your API token at dash.elest.io/account/security
Use GitHub Copilot's agent mode for complex infrastructure tasks
Use project IDs to organize your services across environments
Set up remote backups before major changes with elestio backups remote-take

Frequently asked questions

How do I give GitHub Copilot access to Elestio?

Install the Elestio CLI with npm install -g elestio and authenticate with elestio login. This gives GitHub Copilot access to Elestio's full API for deployments, backups, and infrastructure management.

What can I deploy with GitHub Copilot + Elestio?

Anything from Elestio's catalog of 400+ open-source templates — databases (PostgreSQL, MySQL, MongoDB), CMS (WordPress, Ghost), development tools (GitLab, Gitea), monitoring (Grafana, Prometheus), and more. You can also deploy custom apps from GitHub with CI/CD pipelines.

Can GitHub Copilot manage existing Elestio services?

Yes! GitHub Copilot can list, manage, resize, and delete your existing services. It can also configure backups, firewall rules, SSL certificates, and check billing — all from your editor.

How does billing work when deploying via GitHub Copilot?

Billing works exactly the same as deploying from the Elestio dashboard. Services are billed to your Elestio account based on the provider, region, and server size you choose. GitHub Copilot can show you pricing with elestio sizes before deploying.

Start deploying with GitHub Copilot

Install the Elestio CLI and let GitHub Copilot handle your infrastructure.

Get Started Free GitHub