-
Notifications
You must be signed in to change notification settings - Fork 33
Environments
Established environments support BFD's path-to-production and include test
, prod-sbx
, and prod
.
PHI/PII | Reliability | Access |
---|---|---|
No | Non-Production | Internal |
Historically, the test
environment has been used as a common integration testing environment.
The process for deploying changes to test
supports on-demand deployments of individual contributors' feature branches and pull requests.
This environment is also used in determining production-readiness of a given change set.
Generally, software changes that are based off the trunk or master
branch of the beneficiary-fhir-data repository can be promoted to a production deployment after the changes yield a successful deployment in test
.
As of mid 2022, the test
environment was expanded to include additional resources to be more production-like, including both resource scaling-out and scaling-up to the RDS cluster and BFD FHIR API Server AutoScaling Group.
Along with more production-like resources, BFD has also loaded an additional 10,000 synthetic beneficiaries and associated claims data to facilitate performance and load testing.
As a result, test
can also be used as a performance testing environment.
PHI/PII | Reliability | Access |
---|---|---|
No | Production | External |
PHI/PII | Reliability | Access |
---|---|---|
Yes | Production | Internal |
Ephemeral environments leverage one of the established environments as the baseline to evaluate updates. Ephemeral environments are created via terraform workspaces. For instance, if Jira ticket 1001 needed to evaluate the impact of a core infrastructure change for BFD-Server, starting from prod-sbx
, the process to create a corresponding ephemeral environment would be the following, if the current working branch was BFD-1001
:
cd ops/terraform/services/base
terraform workspace new 1001-prod-sbx
terraform workspace select 1001-prod-sbx
terraform plan && terraform apply
cd ../common
terraform workspace new 1001-prod-sbx
terraform workspace select 1001-prod-sbx
terraform plan && terraform apply
cd ../server
terraform workspace new 1001-prod-sbx
terraform workspace select 1001-prod-sbx
terraform plan && terraform apply
For destroying the same Ephemeral environment, the abbreviated process would be executed in reverse:
cd ops/terraform/services/server
terraform workspace select 1001-prod-sbx
terraform destroy
cd ../common
terraform workspace select 1001-prod-sbx
terraform destroy
cd ../base
terraform workspace select 1001-prod-sbx
terraform destroy
- Home
- For BFD Users
- Making Requests to BFD
- API Changelog
- Migrating to V2 FAQ
- Synthetic and Synthea Data
- BFD SAMHSA Filtering