Skip to content

Commit e04a5f6

Browse files
author
Joshua Sierles
authored
Update MPG docs for soft launch (#2005)
* Update MPG docs * More updates * add pgvector
1 parent dfdd69e commit e04a5f6

File tree

1 file changed

+49
-21
lines changed

1 file changed

+49
-21
lines changed

mpg/overview.html.md

Lines changed: 49 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ nav: firecracker
55
toc: false
66
---
77

8-
<div class="important icon">Managed Postgres is currently in Technical Preview. To request access, please contact <a href="mailto:beta@Fly.io">[email protected]</a></div>
8+
<div class="important icon">Managed Postgres is currently in Technical Preview. This means it's suitable for production workloads, but could be subject to unplanned maintenance or unexpected hiccups. Contact Fly.io support if you're having issues.</div>
99

1010
<figure class="flex justify-center">
1111
<img src="/static/images/Managed_Postgres.png" alt="Illustration by Annie Ruygt of a balloon doing a lot of tasks" class="max-w-lg">
@@ -15,24 +15,31 @@ toc: false
1515

1616
Fly.io's Managed Postgres is our database-as-a-service offering where we handle:
1717

18-
- Automatic backups and point-in-time recovery (coming soon)
19-
- High availability and failover
20-
- Security patches and version upgrades
21-
- Performance monitoring
18+
- Automatic backups and recovery
19+
- High availability with automatic failover
20+
- Performance monitoring and metrics
2221
- Resource scaling (CPU, RAM, storage)
2322
- 24/7 support and incident response
23+
- Automatic encryption of data at rest and in transit
2424

2525
### What's included
2626

27-
If you're enrolled in the Technical Preview, you'll be able to access:
27+
You'll be able to access:
2828

2929
- A highly-available Postgres cluster within your Fly.io organization's [private network](/docs/networking/private-networking/)
3030
- A single database on that cluster
3131
- Fly.io Support Portal to log tickets and get help
32+
- The `pgvector` extension for vector similarity search
3233

3334
### What's not there yet
3435

35-
At the moment, backups are still under development and we haven't opened up access to them just yet. You also can't currently create more databases or schemas on a cluster (though you can create more clusters). You won't yet be able to add Postgres extensions, either.
36+
At the moment, the following features are under development:
37+
38+
- Security patches and version upgrades
39+
- Multiple databases or schemas per cluster
40+
- Postgres extensions besides `pgvector`
41+
- Customer-facing monitoring and alerting
42+
- Database migration tools
3643

3744
We're working on expanding these capabilities and will provide updates as they become available.
3845

@@ -42,10 +49,13 @@ To create a new Managed Postgres cluster, visit your Fly.io dashboard and click
4249

4350
You'll be prompted to choose:
4451

45-
- Cluster name
46-
- Region
47-
- A plan with predefined hardware resources (CPU, Memory)
48-
- Storage size
52+
- Cluster name (must be unique within your organization)
53+
- Region (see available regions below)
54+
- A plan with predefined hardware resources:
55+
- Launch: 2 vCPUs, 4GB RAM
56+
- Performance: 4 vCPUs, 8GB RAM
57+
- Enterprise: 8 vCPUs, 16GB RAM
58+
- Storage size (up to 500GB at creation)
4959

5060
<div>
5161
<img src="/static/images/create-mpg.webp" alt="A screenshot of the Managed Postgres creation page.">
@@ -55,14 +65,16 @@ You'll be prompted to choose:
5565

5666
To connect your Fly.io application to your Managed Postgres instance:
5767

58-
- After creation, the "Connection" tab will display your connection string
59-
- Set it as a secret in your Fly.io application:
68+
1. After creation, the "Connection" tab will display your connection string
69+
2. Set it as a secret in your Fly.io application:
6070

6171
```cmd
6272
fly secrets set DATABASE_URL="postgres://username:password@host:port/database"
6373
```
6474

65-
- Your application can now use the `DATABASE_URL` environment variable to connect
75+
3. Your application can now use the `DATABASE_URL` environment variable to connect
76+
77+
For security, the connection string uses SSL by default. Make sure your application's Postgres client is configured to use SSL.
6678

6779
## Using flyctl with Managed Postgres
6880

@@ -76,7 +88,7 @@ To connect directly to your Managed Postgres database using psql:
7688
fly mpg connect [flags]
7789
```
7890

79-
This command will establish a direct connection to your database using the psql client.
91+
This command will establish a direct connection to your database using the psql client. You'll need psql installed locally.
8092

8193
### Setting up a Proxy Connection
8294

@@ -86,20 +98,36 @@ To create a proxy connection to your Managed Postgres database:
8698
fly mpg proxy [flags]
8799
```
88100

89-
This command is useful when you want to connect to your database from your local machine using tools other than psql.
101+
This command is useful when you want to connect to your database from your local machine using tools other than psql, such as database management tools or your application in development.
90102

91103
## Regions
92104

93-
The current regions available for deploying Fly.io Managed Postgres are fra, gru, iad, lax, ord, and syd. We'll be rolling out more regions as soon as we can.
105+
The current regions available for deploying Fly.io Managed Postgres are:
106+
107+
- `fra` - Frankfurt, Germany
108+
- `gru` - São Paulo, Brazil
109+
- `iad` - Ashburn, USA
110+
- `lax` - Los Angeles, USA
111+
- `ord` - Chicago, USA
112+
- `syd` - Sydney, Australia
113+
114+
We'll be rolling out more regions as soon as we can. Choose a region close to your application for optimal performance.
94115

95116
## Database Storage
96117

97-
Our Managed Postgres comes with an auto-grow disk, so you don't have to worry about manually scaling your storage. Storage grows automatically with your data, with an upper limit of **1 TB**. When you create a cluster, the maximum storage size you can set is **500 GB**.
118+
Managed Postgres storage features:
119+
120+
- Maximum storage limit: 1 TB
121+
- Initial storage size: Up to 500 GB at creation
122+
- Storage is replicated across all nodes in your cluster
123+
- Storage growth is monitored and managed automatically
98124

99125
## Pricing
100126

101-
Currently, everyone with access to the Technical Preview has been given credits sufficient for two full months' worth of use of the "Launch" plan ($282/month).
127+
The price of running Fly.io Managed Postgres depends on:
102128

103-
The price of running Fly.io Managed Postgres depends on the CPU/Memory configuration you choose and the region in which you're deploying.
129+
- CPU/Memory configuration (Launch, Performance, or Enterprise plans)
130+
- Region in which you're deploying
131+
- Storage usage
104132

105-
Database storage is priced at **$0.30 per GB for a 30-day month**, with each node (primary + replica) incurring its own cost.
133+
Database storage is priced at **$0.30 per GB for a 30-day month**, with each node (primary + replica) incurring its own cost. You can view detailed pricing in your Fly.io dashboard.

0 commit comments

Comments
 (0)