https://github.com/cbuschka/gcp-pubsub-cloudrun-datastore-performance
Evaluation of implementation variants on GCP with pubsub/ cloudrun and cloud datastore.
https://github.com/cbuschka/gcp-pubsub-cloudrun-datastore-performance
cloudrun datastore gcp pubsub python3
Last synced: 7 months ago
JSON representation
Evaluation of implementation variants on GCP with pubsub/ cloudrun and cloud datastore.
- Host: GitHub
- URL: https://github.com/cbuschka/gcp-pubsub-cloudrun-datastore-performance
- Owner: cbuschka
- License: mit-0
- Created: 2021-07-31T13:16:34.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-15T13:34:36.000Z (about 4 years ago)
- Last Synced: 2025-01-16T04:24:42.935Z (9 months ago)
- Topics: cloudrun, datastore, gcp, pubsub, python3
- Language: HCL
- Homepage:
- Size: 61.5 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.txt
Awesome Lists containing this project
README
# GCP Pubsub/Cloudrun/Datastore-Performance Benchmark
## Prerequisites
* bash
* GNU make
* terraform with version .terraform-version or better tfvm (https://github.com/cbuschka/tfvm)
* python 3
* nodejs lts/fermium or nvm
* yarn
* gcloud sdk## Setup
### Configure current project
```
gcloud config set project your-gcp-project-identifier
```cp settings.tfvars.json.example to settings.tfvars.json and adjust accordingly.
### Login to gcp
```
gcloud auth login
gcloud auth application-default login
gcloud auth configure-docker -docker.pkg.dev
```## Usage
### Preparation
This enables APIs, creates a tf state bucket, ...
```
make deploy_bootstrap
```### Deploy resources
```
make deploy_resources
```### Deploy services
```
make deploy_services
```### Send events
```
make send_events_via_pubsub
```## License
[MIT-0](./license.txt)