ilya-kozyrev commented on pull request #16822: URL: https://github.com/apache/beam/pull/16822#issuecomment-1058094873
https://user-images.githubusercontent.com/58932578/156583447-674419b0-0003-4860-a891-15af1a761cec.mp4 Hi @damondouglas please see this short demo with deploy Playground to the new GCP project. commands from the video: ``` 1)login to GCP gcloud auth login or gcloud auth application-default login 2)create a project round-sunset-342906 3)add state cloud bucket $ gsutil mb -p round-sunset-342906 gs://state-bucket-name-sunset $ gsutil versioning set on gs://state-bucket-name-sunset 4) supply config for cloud create dir test (equals environment) .../beam/playground/terraform/environment/test in this directory create config file a)state.tfbackend bucket = "state-bucket-name-sunset" b)terraform.tfvars (cpu and memo constrain demo mode) state_bucket = "state-bucket-name-sunset" bucket_examples_name = "playground-precompiled-sunset" project_id = "round-sunset-342906" router_cpu = 2 router_memory = 4 router_max_instance = 1 java_cpu = 2 java_memory = 4 java_max_instance = 1 python_cpu = 2 python_memory = 4 python_max_instance = 1 go_cpu = 1 go_memory = 4 go_max_instance = 1 scio_cpu = 2 scio_memory = 4 scio_max_instance = 1 network_name = "playground-sunset" 5) init terraform ./gradlew playground:terraform:terraformInit -Pproject_environment="test" 6) deploy infrastructure ./gradlew playground:terraform:InitInfrastructure -Pproject_environment="test" 7) clean old build (optional) ./gradlew clean 8) if not connected to the docker repository gcloud auth configure-docker us-central1-docker.pkg.dev 9) deploy backend services (java, scio, go, python, router) ./gradlew playground:terraform:deployBackend -Pproject_environment="test" -Pdocker-tag="test" 10) deploy frontend service ./gradlew playground:terraform:deployFrontend -Pproject_environment="test" -Pdocker-tag="test" ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
