EdgeDB is a graph-relational database designed to address some major ergonomic limitations of SQL and the relational paradigm, without sacrificing type safety or performance.
This one-click button provisions an EdgeDB instance and an underlying Postgres cluster. Spend less time administering databases and more time building your app. Read the Quickstart to hit the ground running, or jump into the docs.
Package | Version | License |
---|---|---|
EdgeDB | 5.4 | Apache 2.0 |
PostgreSQL | 16.2 | PostgreSQL |
Click the Deploy to DigitalOcean button to create a Droplet based on this 1-Click App. If you aren’t logged in, this link will prompt you to log in with your DigitalOcean account.
In addition to creating a Droplet from the EdgeDB 1-Click App using the control panel, you can also use the DigitalOcean API. As an example, to create a 4GB EdgeDB Droplet in the SFO2 region, you can use the following curl
command. You need to either save your API access token) to an environment variable or substitute it in the command below.
curl -X POST -H 'Content-Type: application/json' \
-H 'Authorization: Bearer '$TOKEN'' -d \
'{"name":"choose_a_name","region":"sfo2","size":"s-2vcpu-4gb","image": "edgedb"}' \
"https://api.digitalocean.com/v2/droplets"
edgedb
CLI (install)Once deployed you will have an EdgeDB instance running. The default admin
password is edgedbpassword
. We strongly recommend that you change the
password.
To change the password run the following.
read -rsp "Password: " PASSWORD
printf edgedbpassword | edgedb query \
--host your_droplet_public_ipv4 \
--password-from-stdin \
--tls-security insecure \
"alter role edgedb set password := '${PASSWORD}'"
Create a local link to the new EdgeDB instance:
printf $PASSWORD | edgedb instance link \
--password-from-stdin \
--trust-tls-cert \
--host $IP \
--non-interactive \
digitalocean
You can now use the EdgeDB instance deployed on DigitalOcean as
digitalocean
, for example:
edgedb -I digitalocean
.