Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/concepts/managed-storage/managed-postgres.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -82,7 +82,7 @@ When a project is deployed to a [production environment](/docs/concepts/deployme
<project-name>-<service>-postgres-<id>-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
Expand Down
4 changes: 2 additions & 2 deletions docs/concepts/managed-storage/managed-redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -40,4 +40,4 @@ configured to create a snapshot of the datastore before deletion. The snapshot w
<project-name>-<service>-redis-<id>-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.
21 changes: 14 additions & 7 deletions docs/providers/gcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -59,18 +59,25 @@ 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).

### 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!