-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add clean up instructions (#99)
- Loading branch information
Showing
5 changed files
with
95 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Clean up | ||
|
||
The fastest way to clean up is to delete the entire Google Cloud project. Follow | ||
the steps below if you want to keep the project but delete resources created | ||
through this demo. | ||
|
||
## Before you begin | ||
|
||
1. Set your PROJECT_ID environment variable: | ||
|
||
```bash | ||
export PROJECT_ID=<YOUR_PROJECT_ID> | ||
``` | ||
|
||
## Deleting Cloud Run deployment resources | ||
|
||
1. Delete the Cloud Run service deployed: | ||
|
||
```bash | ||
gcloud run services delete retrieval-service | ||
``` | ||
|
||
1. Delete service account: | ||
|
||
```bash | ||
gcloud iam service-accounts delete \ | ||
retrieval-identity@$PROJECT_ID.iam.gserviceaccount.com | ||
``` | ||
|
||
## Delete datastore resources | ||
|
||
* [Clean up Alloydb](./datastore/alloydb.md#clean-up-resources) | ||
* [Clean up Firestore](./datastore/firestore.md#clean-up-resources) | ||
* [Clean up Cloud SQL](./datastore/cloudsql_postgres.md#clean-up-resources) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters