Document database

A step of the Cloud application tree on Gradus, in the Data & storage area: DB, cache, queues.

Provision a managed document database such as Firestore or DynamoDB in the infrastructure code and connect the service to it with the cloud's own identity, with an emulator for development.

One option of Database: Document database. The others: Managed Postgres.

Usually comes after: Choose a database.

Leads to: Document model & indexes.

Prompt for your AI assistant

Provision a managed document database for this service in the existing infrastructure code, Firestore on Google Cloud or DynamoDB on AWS, with access granted to the service's own identity rather than a key. Add the client to the service, an emulator or local setup for development and a /health check that reads one document. Record the choice and the local setup in the database decision record.

This is https://gradus.kazet.blog/tree/cloud-application/step/db-document-provision as plain HTML. In a browser the page also lets you mark the step forged and copy a message for your AI assistant.