Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 937 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 937 Bytes

Twitter-Aggregator.GoogleCloud - POC

Prerequisites:

  • GCP Account
  • Billing Account
  • gcloud CLI installed

General info

Unfortunately I haven't found nice and easy way to include Dataflow resource into the deployment conf so several additional commands are needed to deploy it. Jinja templating is used in order to keep configuration separatly from blueprint.

Branches:

- https://github.com/scarymrgrey/Twitter-Aggregator.GoogleCloud
- https://github.com/scarymrgrey/Twitter-Aggregator.GoogleCloud/tree/gcp-deployment-manager

How to run

  1. export PROJECT_NAME=YOUR_VALUE
  2. gcloud projects create $PROJECT_NAME --set-as-default
  3. Open "deployment.yaml" file and edit lines 9-17
  4. in GCP Console - link project [PROJECT_NAME] to your valid billing account
  5. export BUCKET_NAME=YOUR_VALUE
  6. chmod 755 deploy_all.sh
  7. ./deploy_all.sh

Screenshot