From d0e7091cb1f19880235a4aa3aec5cf5e3ccccd6e Mon Sep 17 00:00:00 2001 From: Edward J Date: Wed, 28 May 2025 12:09:27 -0700 Subject: [PATCH 1/3] Mark the managed service ready --- docs/providers/gcp.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/docs/providers/gcp.md b/docs/providers/gcp.md index 4792f093f..7e69cd3b4 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 @@ -66,11 +66,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! From d41fb14ceb29b06651cd554eda26814d460ab36b Mon Sep 17 00:00:00 2001 From: Edward J Date: Wed, 28 May 2025 12:29:47 -0700 Subject: [PATCH 2/3] Add managed postgres and redis doc to gcp --- docs/concepts/managed-storage/managed-postgres.mdx | 4 ++-- docs/concepts/managed-storage/managed-redis.md | 4 ++-- docs/providers/gcp.md | 12 ++++++++++++ 3 files changed, 16 insertions(+), 4 deletions(-) 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 7e69cd3b4..91fca5546 100644 --- a/docs/providers/gcp.md +++ b/docs/providers/gcp.md @@ -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 an Cloud SQL instance in your account. + +### Managed Redis + +When using [Managed Redis](/docs/concepts/managed-storage/managed-redis.md), the Defang CLI provisions an 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). From 0b7aad9ab58cbe0114b9339d4b5b5d4b8b5c72d3 Mon Sep 17 00:00:00 2001 From: Edward J Date: Wed, 28 May 2025 13:18:20 -0700 Subject: [PATCH 3/3] Fix typo --- docs/providers/gcp.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/providers/gcp.md b/docs/providers/gcp.md index 91fca5546..dc6a56599 100644 --- a/docs/providers/gcp.md +++ b/docs/providers/gcp.md @@ -65,11 +65,11 @@ Defang can help you provision [managed storage](/docs/concepts/managed-storage/m ### Managed Postgres -When using [Managed Postgres](/docs/concepts/managed-storage/managed-postgres.mdx), the Defang CLI provisions an Cloud SQL instance in your account. +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 an Memorystore for Redis cluster in your account. +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