Skip to content
This repository was archived by the owner on Aug 5, 2023. It is now read-only.

Latest commit

 

History

History
108 lines (76 loc) · 3.08 KB

File metadata and controls

108 lines (76 loc) · 3.08 KB

Deploy the Healthcare Streaming Simulator

Select or create project

Select or create a project to begin.

Set default project

gcloud config set project <walkthrough-project-id/>

1. Setup environment

Run the terraform workflow in the infrastructure/01.setup directory.

It will ask your permission before provisioning resources and you'll need to type yes to proceed.

DIR=infrastructure/01.setup
terraform -chdir=$DIR init
terraform -chdir=$DIR apply -var='project=<walkthrough-project-id/>'

2. Provision network

Run the terraform workflow in the infrastructure/02.network directory.

It will ask your permission before provisioning resources and you'll need to type yes to proceed.

DIR=infrastructure/02.network
terraform -chdir=$DIR init
terraform -chdir=$DIR apply -var='project=<walkthrough-project-id/>'

3. Provision FHIR Store and related resources

It will ask your permission before provisioning resources and you'll need to type yes to proceed.

Run the terraform workflow in the infrastructure/03.sinks directory.

DIR=infrastructure/03.sinks
terraform -chdir=$DIR init
terraform -chdir=$DIR apply -var='project=<walkthrough-project-id/>'

4. Build the Docker image

Run the following command to build the Docker image.

REGION=us-central1
gcloud builds submit --tag=$REGION-docker.pkg.dev/<walkthrough-project-id/>/simulator/simulator

5. Deploy the application

Run the terraform workflow in the infrastructure/05.deploy directory.

It will ask your permission before provisioning resources and you'll need to type yes to proceed.

DIR=infrastructure/05.deploy
terraform -chdir=$DIR init
terraform -chdir=$DIR apply -var='project=<walkthrough-project-id/>'

Summary

The application will start populating FHIR Store. Notifications are sent to the Pub/Sub topic and data mirrored on the BigQuery dataset.

The following are where you can find resources you just deployed: