Skip to content

Commit 4125c61

Browse files
authored
Merge pull request #240 from DefangLabs/edw/gcp-ready
Update GCP managed postgres and redis
2 parents c5fe3ba + 0b7aad9 commit 4125c61

File tree

3 files changed

+18
-11
lines changed

3 files changed

+18
-11
lines changed

docs/concepts/managed-storage/managed-postgres.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Postgres, or PostgreSQL, is a powerful open-source relational database system kn
1515
| [Playground](/docs/providers/playground#managed-services) ||
1616
| [AWS](/docs/providers/aws#managed-storage) ||
1717
| [DigitalOcean](/docs/providers/digitalocean#future-improvements) ||
18-
| [GCP](/docs/providers/gcp#future-improvements) ||
18+
| [GCP](/docs/providers/gcp#managed-storage) ||
1919

2020
## How to use Managed Postgres
2121

@@ -82,7 +82,7 @@ When a project is deployed to a [production environment](/docs/concepts/deployme
8282
<project-name>-<service>-postgres-<id>-final-snapshot
8383
`
8484

85-
The AWS Console can be used to restore a snapshot into a new instance of Postgres.
85+
The AWS Console can be used to restore a snapshot into a new instance of Postgres. This feature is not yet supported in GCP.
8686

8787
{/*
8888
### Major Version Updating of Engine

docs/concepts/managed-storage/managed-redis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Redis is an in-memory data structure store widely used for caching, real-time an
1515
| [Playground](/docs/providers/playground#managed-services) ||
1616
| [AWS](/docs/providers/aws#managed-storage) ||
1717
| [DigitalOcean](/docs/providers/digitalocean#future-improvements) ||
18-
| [GCP](/docs/providers/gcp#future-improvements) ||
18+
| [GCP](/docs/providers/gcp#managed-services) ||
1919

2020
## How to use Managed Redis
2121

@@ -40,4 +40,4 @@ configured to create a snapshot of the datastore before deletion. The snapshot w
4040
<project-name>-<service>-redis-<id>-final-snapshot
4141
`
4242

43-
The AWS Console can be used to restore a snapshot into a new instance of Redis.
43+
The AWS Console can be used to restore a snapshot into a new instance of Redis. This feature is not yet supported on GCP.

docs/providers/gcp.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ gcloud init
3131
gcloud auth application-default login
3232
```
3333

34-
The Defang CLI will automatically check if `GCP_PROJECT_ID` environment variable is set and correctly authenticated with GCP before running. Once you are ready to go, add the `--provider=gcp` flag to your command to tell the Defang CLI to use the GCP provider, or set the `DEFANG_PROVIDER` environment variable to `gcp`.
34+
The Defang CLI will automatically check if `GCP_PROJECT_ID` OR `CLOUDSDK_CORE_PROJECT` environment variable is set and correctly authenticated with GCP before running. Once you are ready to go, add the `--provider=gcp` flag to your command to tell the Defang CLI to use the GCP provider, or set the `DEFANG_PROVIDER` environment variable to `gcp`.
3535

3636
```bash
3737
$ defang compose up --provider=gcp
@@ -59,18 +59,25 @@ The Provider builds and deploys your services using [Google Cloud Run](https://c
5959

6060
The GCP provider does not currently support storing sensitive config values.
6161

62+
## Managed Storage
63+
64+
Defang can help you provision [managed storage](/docs/concepts/managed-storage/managed-storage.md) services. The following managed storage services are supported on GCP:
65+
66+
### Managed Postgres
67+
68+
When using [Managed Postgres](/docs/concepts/managed-storage/managed-postgres.mdx), the Defang CLI provisions a Cloud SQL instance in your account.
69+
70+
### Managed Redis
71+
72+
When using [Managed Redis](/docs/concepts/managed-storage/managed-redis.md), the Defang CLI provisions a Memorystore for Redis cluster in your account.
73+
6274
### Managed LLMs
6375

6476
Defang offers integration with managed, cloud-native large language model services with the x-defang-llm service extension. Add this extension to any services which use the [Google Vertex AI SDKs](https://cloud.google.com/vertex-ai/docs/python-sdk/use-vertex-ai-sdk).
6577

6678
### Future Improvements
6779

6880
The following features are in active development for GCP:
69-
70-
- [Configuration and management of secrets](/docs/concepts//configuration.md)
71-
- [Networking and Load Balancing](/docs/concepts//networking.mdx)
72-
- [Custom Domains](/docs/concepts//domains.mdx)
73-
- [Managed Redis](/docs/concepts//managed-storage/managed-redis.md)
74-
- [Managed Postgres](/docs/concepts/managed-storage/managed-postgres.mdx)
81+
- [Managed Object Storage](/docs/concepts//managed-storage/managed-object-storage.md)
7582

7683
Stayed tuned for future updates!

0 commit comments

Comments
 (0)