AWS Builder Center
How to Estimate AWS Costs for a Patient Portal MVP Before You Build

How to Estimate AWS Costs for a Patient Portal MVP Before You Build

Estimate monthly AWS costs for a patient portal MVP. This worked example compares a single-clinic pilot with a five-clinic rollout and shows how traffic, report size, and availability requirements affect the bill.

Love to Learn Tech especially AI things.

How to Estimate AWS Costs for a Patient Portal MVP Before You Build

Two patient portals can each have 5,000 registered patients and generate very different AWS bills. In one, patients book appointments and download small PDF reports. In the other, they download large files, staff need the portal across multiple clinics, and the system has to recover quickly during an outage. The registered patient count tells you very little about the cost difference.
In the worked example below, selected AWS services come to about $26 per month for a single-clinic pilot and about $75 per month for a five-clinic rollout. Those figures cover the components priced in the model. The full production budget also needs to account for identity, frontend delivery, security controls, additional environments, and recovery requirements.
The fastest way to build a defensible estimate is to start with what people do in the portal, what data accumulates, and what the clinic expects during an outage.

1. Define the workflow before choosing AWS services

Suppose a clinic wants patients to request appointments, check their status, and download PDF reports. Staff confirm bookings and upload reports through a separate staff interface. The first release has no video consultations, medical imaging viewer, or live integration with an electronic health record system.
The five-clinic scenario uses the same product and a shared deployment. Each clinic has its own staff permissions and records. The model assumes five times the activity to make the comparison easy to follow. Actual adoption and peak traffic will vary by clinic.
Monthly planning input
Single-clinic pilot
Five-clinic rollout
Registered patients
5,000
25,000
Monthly active patients
1,000
5,000
API requests, including patient and staff activity
200,000
1,000,000
New PDF reports uploaded
1,000
5,000
PDF report downloads
2,000
10,000
Average PDF size
5 MB
5 MB
New document storage added per month
5 GB
25 GB
Report download traffic per month
10 GB
50 GB
Application logs ingested per month
2 GB
10 GB
Estimate uploads and downloads separately. A report uploaded once and downloaded three times adds one file to storage and generates three reads and three transfers. If you use the download count to estimate storage growth, you will overstate how much data the portal retains.
Monthly totals help with budgeting. Peak activity helps with sizing. A clinic that releases reports at 9 a.m. and sends notifications to every patient at once can put more pressure on the API and database than another clinic with the same monthly traffic spread across the day. Test a report-release burst and the busiest appointment-booking window before selecting a database tier.

2. Map the workflow to AWS billing units

This model uses Amazon API Gateway HTTP APIs for application requests, AWS Lambda for backend logic, Amazon RDS for PostgreSQL for bookings and report metadata, Amazon S3 for private document storage, and Amazon CloudWatch Logs for application diagnostics.
The portal checks access before issuing a short-lived download URL for a specific S3 object. The PDF then goes directly from S3 to the patient’s browser. That makes the cost easier to trace. API Gateway and Lambda handle the authorization request, while S3 accounts for the document read and outbound transfer.
Component
What to estimate
API Gateway HTTP API
Calls per month, including staff activity and retries
AWS Lambda
Invocations, allocated memory, and billed execution time
Amazon RDS for PostgreSQL
Instance hours, allocated storage, deployment topology, and any separately billed backup or transfer usage
Amazon S3
Average stored GB, upload and download requests, retained versions, and outbound transfer
CloudWatch Logs
GB ingested and average retained compressed GB
For a live patient portal, test the authorization flow explicitly. A patient signed into Clinic A should be denied access to a Clinic B report even if they know its identifier. Keep report contents, credentials, and download tokens out of diagnostic logs. Give audit records their own retention and access rules.

3. Build the monthly estimate line by line

The example uses US East (N. Virginia), a 730-hour planning month, and USD. It ignores promotional credits and usage allowances so the underlying consumption stays visible. The RDS figures are illustrative budget inputs. Replace them with a quote for the actual instance class, storage configuration, and deployment topology.
For Lambda, assume one x86 invocation per API call, 512 MB of memory, and 250 milliseconds of billed duration. The single-clinic calculation is:
 200,000 invocations × 0.5 GB × 0.25 seconds = 25,000 GB-seconds 
At the modeled rate, compute is about $0.42, and requests add about $0.04. The combined line is $0.46 per month. If the function spends one second waiting on a database query instead of finishing in 250 milliseconds, its compute charge quadruples at the same traffic and memory settings.
For S3, assume 12 months of documents at the upload rates above, with no legacy import. That gives an end-of-month storage footprint of about 60 GB for one clinic and 300 GB for five. The table uses those footprints as steady monthly billing inputs. Starting from an empty bucket, earlier months would generally use less storage.
AWS component
Single-clinic usage
Monthly USD
Five-clinic usage
Monthly USD
API Gateway HTTP API
200,000 calls at $1 per million
0.20
1 million calls
1.00
Lambda
200,000 requests and 25,000 GB-seconds
0.46
1 million requests and 125,000 GB-seconds
2.28
RDS PostgreSQL
Illustrative Single-AZ compute and storage allowance
22.00
Illustrative Multi-AZ compute and storage allowance
55.00
S3 Standard storage
60 GB at $0.023 per GB-month
1.38
300 GB at the same rate
6.90
S3 requests
1,000 PUTs and 2,000 GETs
0.01
5,000 PUTs and 10,000 GETs
0.03
S3 internet transfer
10 GB at a modeled $0.09 per GB, before allowances
0.90
50 GB on the same basis
4.50
CloudWatch Logs ingestion
2 GB at $0.50 per GB
1.00
10 GB at the same rate
5.00
CloudWatch Logs storage
1 GB average retained compressed volume at $0.03 per GB-month
0.03
5 GB at the same rate
0.15
Modeled monthly subtotal

25.98

74.86
The S3 request row models one PUT per upload and one GET per download. Retries, multipart uploads, and other requests can change the actual count. The S3 transfer row shows the gross modeled charge before any applicable account-level allowance. The CloudWatch row assumes 30-day diagnostic log retention and an average stored compressed volume equal to half of one month’s ingestion.
Backups need their own usage estimate. The table assumes no separately billed backup overage. When you price the deployment, record automated backup retention, manual snapshots, any retained copies in another region, and the temporary resources used in a restore drill. Check which backup usage is included in the RDS configuration and add a line for the rest.

4. Separate traffic growth from architecture changes

Some costs increase with activity. If patients download five times as many reports at the same average size, the model moves from 10 GB to 50 GB of outbound traffic. API requests, Lambda usage, and log ingestion also increase if the workflow stays the same.
The database line changes for a different reason. In this example, the single-clinic pilot accepts a Single-AZ deployment. The five-clinic rollout budgets for Multi-AZ because an outage would interrupt more teams. That cost increase follows an availability decision. Five clinics alone do not determine the instance class or deployment topology.
Before you price that decision, ask the operating team two questions:
  • How long can the portal be unavailable during clinic hours?
  • How much recent data can the team afford to reconstruct after an incident?
Multi-AZ addresses some infrastructure failures. Recovery from a bad deployment, an accidental deletion, or a regional incident may require a different plan. Test whether the team can restore the database, recover the document objects, and match report metadata to the correct files within the agreed recovery window.

Two changes worth testing in the estimate

Average reports grow from 5 MB to 25 MB. At 10,000 monthly downloads, the five-clinic rollout now serves about 250 GB instead of 50 GB. If uploads grow by the same factor and retention stays the same, the modeled document footprint rises from 300 GB to 1,500 GB. Using the table’s rates, those two changes add about $45.60 per month before transfer allowances.
The team logs five times more data during an integration rollout. CloudWatch ingestion rises from 10 GB to 50 GB per month. At the modeled rate, ingestion alone moves from $5 to $25 per month. Check whether logs are repeating the same event on every retry, and decide which events need long-term retention before increasing log volume across all clinics.

5. Turn the subtotal into a launch budget

The broader healthcare software budget example used $800 per month as a planning allowance. Here, the five-clinic subtotal is $74.86 for the components listed. The difference gives you a practical estimating task. Price the missing components against your architecture before deciding what monthly allowance to carry into the project budget.
Budget item
What to price before launch
Patient and staff identity
Monthly active users, sign-in configuration, staff federation, and MFA or messaging charges
Frontend delivery
Static hosting or web runtime, DNS, CDN requests, and asset transfer
Security and audit
Applicable firewall rules, key management, secrets, audit events, and retention
Private networking
Any VPC endpoints, NAT gateway, database proxy, and associated data processing
Staging and QA
Separate database and storage, test environment runtime, and safe test data
Backup and recovery
Snapshot retention, extra copies, restore drills, and recovery infrastructure
Clinic integrations
Vendor fees, interface traffic, retries, and failure monitoring
Operations
AWS Support if selected, on-call coverage, maintenance, and incident response
For a workload subject to HIPAA, confirm the applicable AWS Business Associate Addendum and check the AWS HIPAA Eligible Services Reference before processing protected health information. Include every service that receives that data, including logging, backups, and notification paths. Then budget the work to configure access, encryption, auditing, and recovery for the actual deployment.
Before approving the estimate, take three numbers to the team. The ordinary production month, the busiest expected month, and the monthly cost of the required recovery setup. After the pilot starts, compare your forecast with actual requests, average report size, database utilization, and log ingestion. Replace the assumptions that moved most. Those are the ones that will matter when the next clinic goes live.
Pricing basis Public AWS pricing references consulted on 3 November 2026 include Amazon API Gateway Pricing, AWS Lambda Pricing, Amazon S3 Pricing, Amazon CloudWatch Pricing, and Amazon RDS for PostgreSQL Pricing. The RDS line items are planning assumptions. The AWS HIPAA Eligible Services Reference informs the service eligibility discussion.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article