Building an XR
It’s time to go through a hands-on journey to build an XR from scratch. We will start with writing down the infrastructure API requirement at a high level, then provide an API specification with XRD and finally provide an implementation with a composition. We will cover the API requirement in such a way as to learn most of the configuration discussed in this chapter.
The infrastructure API requirement
We will develop an API to provision a database from Google Cloud. The following are the compliance, architecture, and product team’s requirements:
- Compliance policy: The provisioning should be done in the
us-central
region to comply with the data storage regulations from the government. - Architecture policy: We should have two tiers of the database. For small, the disk size should be 20 GB, and it should be 40 GB for big.
- Architecture policy: The small tier’s virtual machine should be
db-g1-small
, anddb-n1-standard-1
for the big...