Recovering a self-hosted Medplum after a region or data center loss: snapshot restore in a new location, rebuilding the stack from infrastructure as code, reconnecting secrets, DNS cutover and realistic RTO and RPO.
What to back up in a Medplum deployment and how to prove it works: PostgreSQL snapshots and point-in-time recovery, binary storage, configuration, periodic restore drills and evidence for auditors.
Designing a Medplum deployment that survives an availability zone failure: multiple app servers behind a load balancer, Multi-AZ PostgreSQL with readers, Redis redundancy and what happens during failover.
Sizing Medplum application servers, PostgreSQL and Redis for expected load: CPU headroom targets, connection pool limits, scaling triggers and right-sizing the database before an incident forces it.
Finding a Medplum deployment's limits before go-live: Artillery load and stress scenarios, healthcheck and FHIR workloads, ramp phases, and reading results against database and cache metrics.
Changing PostgreSQL settings under Medplum without downtime: parameter groups through CDK, RDS Proxy for resilient connections, multiple database instances, and the defaults Medplum sets for statement timeout and isolation.
Which Medplum, load balancer, PostgreSQL, Redis and container metrics to watch, what each signals, alert thresholds that fire before outages, and dashboards for an on-call team.
Turning on Medplum's optional OpenTelemetry support: metrics and traces, collectors and exporters, the AWS Distro for OpenTelemetry route to CloudWatch, and sending data to Prometheus or other backends.
Collecting container metrics from a CDK-deployed Medplum with a Datadog agent sidecar: the additionalContainers setting, required environment variables, storing the API key safely and applying changes with CDK.
Setting request rate limits and weighted FHIR quotas on a self-hosted Medplum: server defaults, project and user overrides, quotas for Bots and integrations, the rate limits dashboard and handling 429 responses.
Finding the cause of slow Medplum requests: auto_explain and pg_stat_statements, GIN index pending lists, queries waiting for pool connections, RTT spikes to PostgreSQL and Redis, and tracing a request across logs.
Querying Application Load Balancer access logs for a self-hosted Medplum on AWS: enabling logs, Athena tables, filtering by IP, verb or status code, and keeping query costs low with date bounds.
The privileged operations a self-hosted Medplum team runs: the super admin console and CLI, enabling project features such as Bots, async jobs, index configuration and safe handling of super admin credentials.