Kapten
All case studies

Customer story

A telehealth platform moves patient data into its own AWS account

A Series A telehealth team left a shared PaaS so hospital customers could review an architecture where every byte of patient data stays in an AWS account the company owns.

3 weeksfrom first call to production cutover
0platform hires needed
100%of patient data in their own AWS account
Customer
A Series A telehealth platform
Team
35 people, no platform engineer
Cloud
AWS
Region
us-east-1
Stack
Node.js APIReact web appPostgreSQLBackground workersScheduled jobs
On this page6 sections
  1. 01At a glance
  2. 02The challenge
  3. 03What they run
  4. 04Three weeks, start to cutover
  5. 05The results
  6. 06What comes next

At a glance

  • Who: a Series A telehealth platform, 35 people, eight engineers, no one on infrastructure.
  • Problem: hospital buyers stalled on security reviews while patient data sat on a shared PaaS.
  • What changed: the whole stack now runs in an AWS account the company owns, operated by Kapten.
  • Outcome: three weeks to cut over, no platform hire, a one-page answer to every security questionnaire.

The challenge

The product handles virtual visits for outpatient clinics: scheduling, video, secure messaging and follow-up notes. A shared PaaS was the right call for year one.

Then the pipeline filled with hospital systems, and every security review asked the same four questions.

Security review questionOn a shared PaaSIn their own AWS account
Where does patient data live?Provider-managed, sharedTheir account, us-east-1
Whose cloud account is it?NoYes
Who can reach the infrastructure?Access set by the companyPartialYes
Covered by their own cloud agreements?NoYes
Figure 1. The questions hospital security teams asked, before and after the move.

Long answers meant long deals. The team needed the data in an account it controlled, without turning three of eight engineers into a platform team.

What they run

The stack did not change. Where it runs did.

Engineers push to GitHub. Kapten's control plane deploys into the company's AWS account, which contains the API, web app, workers, scheduled jobs and PostgreSQL.TeamKaptenCompany AWS accountGitHubpull requestsControl planeplans & releasesNode.js APIWorkersnotifications, transcriptsPostgreSQLpatient recordsmergescoped role
  • GitHub connects to Control plane (merge).
  • Control plane connects to Node.js API (scoped role).
  • Control plane connects to Workers.
  • Control plane connects to PostgreSQL.
Figure 2. Kapten's control plane deploys and operates the stack. The application, database and logs live in the company's AWS account.

Staging and production are isolated from day one, each with its own variables, secrets and database. Releases run in a fixed order: migrations first, then services.

Three weeks, start to cutover

  • Week 1: AWS account connected, permissions reviewed, staging live.
  • Week 2: production provisioned, data copy rehearsed twice.
  • Week 3: final sync and DNS switch on a Sunday morning. The old platform stayed on standby for a week.

The results

The same eight engineers ship features, from a pull request, as before. Security questionnaires now get one architecture diagram instead of a paragraph of caveats.

Kapten does not make anyone compliant on its own, and the company never presented it that way. Its compliance programme, its cloud agreements and its controls stay its own work. What changed is that the infrastructure now sits where that programme can cover it.

What comes next

A second production environment in another region, for a hospital that requires one, built from the same configuration.

Build with Kapten

Start with one service.
Build from there.

Tell us what you want to deploy. We review each request and follow up about fit and onboarding on your preferred cloud.

Free during early access. No card required. Cloud usage billed separately.