diff --git a/docs/concepts/managed-storage/managed-postgres.mdx b/docs/concepts/managed-storage/managed-postgres.mdx index aca323ad0..14decba45 100644 --- a/docs/concepts/managed-storage/managed-postgres.mdx +++ b/docs/concepts/managed-storage/managed-postgres.mdx @@ -15,7 +15,7 @@ Postgres, or PostgreSQL, is a powerful open-source relational database system kn | [Playground](/docs/providers/playground#managed-services) | ❌ | | [AWS](/docs/providers/aws#managed-storage) | ✅ | | [DigitalOcean](/docs/providers/digitalocean#future-improvements) | ❌ | -| [GCP](/docs/providers/gcp#future-improvements) | ✅ | +| [GCP](/docs/providers/gcp#managed-storage) | ✅ | ## How to use Managed Postgres @@ -82,7 +82,7 @@ When a project is deployed to a [production environment](/docs/concepts/deployme --postgres--final-snapshot ` -The AWS Console can be used to restore a snapshot into a new instance of Postgres. +The AWS Console can be used to restore a snapshot into a new instance of Postgres. This feature is not yet supported in GCP. {/* ### Major Version Updating of Engine diff --git a/docs/concepts/managed-storage/managed-redis.md b/docs/concepts/managed-storage/managed-redis.md index 567df2b75..c171709d9 100644 --- a/docs/concepts/managed-storage/managed-redis.md +++ b/docs/concepts/managed-storage/managed-redis.md @@ -15,7 +15,7 @@ Redis is an in-memory data structure store widely used for caching, real-time an | [Playground](/docs/providers/playground#managed-services) | ❌ | | [AWS](/docs/providers/aws#managed-storage) | ✅ | | [DigitalOcean](/docs/providers/digitalocean#future-improvements) | ❌ | -| [GCP](/docs/providers/gcp#future-improvements) | ✅ | +| [GCP](/docs/providers/gcp#managed-services) | ✅ | ## How to use Managed Redis @@ -40,4 +40,4 @@ configured to create a snapshot of the datastore before deletion. The snapshot w --redis--final-snapshot ` -The AWS Console can be used to restore a snapshot into a new instance of Redis. +The AWS Console can be used to restore a snapshot into a new instance of Redis. This feature is not yet supported on GCP. diff --git a/docs/providers/gcp.md b/docs/providers/gcp.md index 4792f093f..dc6a56599 100644 --- a/docs/providers/gcp.md +++ b/docs/providers/gcp.md @@ -31,7 +31,7 @@ gcloud init gcloud auth application-default login ``` -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`. +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`. ```bash $ defang compose up --provider=gcp @@ -59,6 +59,18 @@ The Provider builds and deploys your services using [Google Cloud Run](https://c The GCP provider does not currently support storing sensitive config values. +## Managed Storage + +Defang can help you provision [managed storage](/docs/concepts/managed-storage/managed-storage.md) services. The following managed storage services are supported on GCP: + +### Managed Postgres + +When using [Managed Postgres](/docs/concepts/managed-storage/managed-postgres.mdx), the Defang CLI provisions a Cloud SQL instance in your account. + +### Managed Redis + +When using [Managed Redis](/docs/concepts/managed-storage/managed-redis.md), the Defang CLI provisions a Memorystore for Redis cluster in your account. + ### Managed LLMs 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). @@ -66,11 +78,6 @@ Defang offers integration with managed, cloud-native large language model servic ### Future Improvements The following features are in active development for GCP: - -- [Configuration and management of secrets](/docs/concepts//configuration.md) -- [Networking and Load Balancing](/docs/concepts//networking.mdx) -- [Custom Domains](/docs/concepts//domains.mdx) -- [Managed Redis](/docs/concepts//managed-storage/managed-redis.md) -- [Managed Postgres](/docs/concepts/managed-storage/managed-postgres.mdx) +- [Managed Object Storage](/docs/concepts//managed-storage/managed-object-storage.md) Stayed tuned for future updates!