An open API service indexing awesome lists of open source software.

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.

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)