HealthTech Infrastructure Cost Optimisation: How to Cut AWS Spend Without Touching Compliance

In this guide, you’ll learn:
- Where HealthTech teams consistently overspend on AWS and why compliance requirements make it worse than standard SaaS
- The specific EC2, RDS, and S3 fixes that cut cloud bills 20 to 40% without touching your security posture
- How to rightsize HIPAA-compliant infrastructure without creating compliance gaps in the process
- A cost audit framework your engineering team can run against your AWS account this week
Organizations typically overspend by 25 to 35% on their cloud resources. In high-growth environments, waste can frequently exceed 40% due to idle resources and over-provisioned instances.
For a HealthTech scaleup running $50,000 a month in AWS, that is up to $20,000 wasted every single month. Not on security. Not on scale.
On instances nobody is using, storage that has not been accessed in six months, and data transfer costs your team forgot to account for when the platform grew.
The problem in HealthTech is that cloud cost optimization is harder than it looks. You cannot simply downsize an RDS instance without confirming your HIPAA encryption configuration survives the change.
You also cannot move clinical data to a cheaper S3 storage class without checking your audit logging and lifecycle policy setup against your BAA obligations. Every cost decision touches compliance in ways that standard SaaS teams never have to think about.
This guide covers the specific cost reduction moves that work in a HIPAA-constrained AWS environment, what to do first, and what to check before you do it.
Why HealthTech AWS Bills Are Higher?
Before fixing costs, it helps to know where the waste typically sits. HealthTech AWS environments have three cost patterns that are largely unique to regulated healthcare infrastructure.
1. Over-provisioning driven by compliance caution
Teams building HIPAA-compliant infrastructure for the first time tend to over-provision significantly. A db.m5.xlarge RDS instance is often running at 15 to 20% utilization because the original engineer sized it for peak load with a compliance safety buffer. That single instance running at 15% CPU utilization can waste over $1,200 annually, before factoring in multi-AZ deployment costs required for HIPAA availability obligations.
2. Data retention obligations creating storage sprawl
HIPAA requires patient records to be retained for a minimum of six years in most US states. Without proper lifecycle management, PHI data accumulates in S3 Standard storage at $0.023 per GB when most of it has not been accessed in years and should be in S3 Glacier at $0.00099 per GB. The pricing spread is 23x between S3 Standard and S3 Deep Archive. Most HealthTech teams are paying the Standard rate for data that qualifies for Deep Archive.
3. NAT Gateway costs on PHI data flows
EC2 instances in private subnets (required for HIPAA network segmentation) accessing S3 through a NAT Gateway pay both NAT Gateway processing fees of $0.045 per GB and standard S3 request fees. A VPC Gateway Endpoint for S3 is free to create and eliminates the NAT charge entirely. Most HealthTech teams do not have this configured.
5 Main Highest-Impact Cost Reduction Moves
1. Rightsize Your EC2 and RDS Instances
Most organizations can reduce AWS costs 20 to 30% without changing their architecture through rightsizing alone.
How to do this safely in a HIPAA environment:
- Use AWS Compute Optimizer to get rightsizing recommendations. It uses machine learning to analyse usage patterns and suggest more cost-efficient instance types without engineering guesswork.
- Before changing any instance, confirm your encryption configuration is instance-level, not dependent on specific instance types. For RDS, encrypted snapshots survive instance changes cleanly.
- Downsize during a low-traffic window and monitor for 48 hours before considering the change stable.
- For EC2, check whether moving from the over-provisioned instance to a Graviton-based instance type saves cost while maintaining the same security group and IAM role configuration. Graviton instances typically cost 20% less than equivalent Intel instances for the same workload.
Specific moves with real cost impact:
| Current Configuration | Optimised Version | Typical Saving |
|---|---|---|
| db.m5.xlarge RDS (single AZ, low utilization) | db.m5.large with Multi-AZ maintained | 30 to 40% on instance cost |
| m5.xlarge EC2 at 15% CPU utilization | m5.large or t3.medium depending on burst pattern | 40 to 50% on instance cost |
| On-demand pricing for steady-state workloads | 1-year Reserved Instance or Savings Plan | 30 to 40% versus on-demand |
| Fargate tasks with oversized task definitions | Rightsized task CPU and memory to actual P95 utilization | Audit of 64 Fargate deployments found average bills were 50% higher than necessary |
For teams integrating with Epic, Cerner, or AthenaHealth, FHIR data processing workloads are often good candidates for Spot Instances rather than reserved compute, since EHR API calls are not latency-sensitive at the architecture level.
2. Fix Your S3 Storage Tiers
S3 storage bills are almost always higher than they need to be in HealthTech environments. The problem is data that should be in cheaper tiers sitting in S3 Standard because nobody set up lifecycle rules at the time of initial build.
The specific fixes:
- Enable S3 Intelligent-Tiering on any bucket where you do not know the exact access pattern. This automatically moves data to the most cost-effective tier based on access frequency. Typical savings: 25 to 40% on storage costs within 60 days.
- For HIPAA audit logs and access records that must be retained but are rarely accessed, set up lifecycle policies to move to S3 Glacier after 90 days and S3 Glacier Deep Archive after 1 year. You still meet HIPAA retention requirements at a fraction of the cost.
- Check for incomplete multipart uploads. These are started but never finished and accumulate silently at full S3 Standard rates. Run a quick audit using the AWS CLI and clean up anything older than 7 days.
One important HealthTech-specific check: Before changing any S3 bucket's storage class, confirm that your audit logging configuration writes to a separate, dedicated S3 bucket, not the same bucket you are applying lifecycle rules to. Audit logs moving to Glacier before their review period ends creates compliance gaps.
3. Eliminate NAT Gateway Data Transfer Costs
This is the most overlooked and easiest fix in most HealthTech AWS environments.
For any EC2 or ECS task in a private subnet that accesses S3, create a VPC Gateway Endpoint for S3. This routes S3 traffic through AWS's internal network rather than through your NAT Gateway, eliminating NAT processing fees at $0.045 per GB. The endpoint is free to create. There is no downside.
Similarly, for services accessing DynamoDB from private subnets, a VPC Gateway Endpoint for DynamoDB removes the same NAT cost.
Check also for cross-region data transfer costs. If your HIPAA BAA specifies data residency in a specific AWS region (us-east-1 for US healthcare, for example) and your architecture is accidentally writing data across regions during replication or backup, you are paying cross-region transfer fees unnecessarily. Audit your CloudTrail and Cost Explorer data for unexpected cross-region transfer charges.
4. Move Steady-State Workloads to Reserved Instances or Savings Plans
On-demand pricing is the most expensive AWS pricing model. For workloads that run continuously (production databases, application servers, FHIR API endpoints), switching to Reserved Instances or Savings Plans reduces costs by 30 to 40% over on-demand rates. Savings Plans with 1-year commitments offer up to 72% savings with no instance-type restrictions.
How to do this without creating HIPAA risk:
Reserved Instances and Savings Plans are purely a billing commitment, not an infrastructure change. Your security configuration, encryption settings, and compliance controls are completely unaffected by switching pricing models. This is one of the lowest-risk cost reductions available.
The mistake that eliminates the saving: Reserved Instances and Savings Plans purchased once and left unmanaged drift out of alignment as workloads change. Schedule a monthly review to confirm your commitment coverage still matches your actual running instances. Unutilized Reserved Instances generate no saving benefit.
5. Implement Automated Scheduling for Non-Production Environments
Development, staging, and QA environments do not need to run 24 hours a day, 7 days a week. Scheduling these environments to shut down during nights and weekends (roughly 65% of weekly hours) at their current cost is a direct saving without any architecture change.
AWS Lambda-based scheduling using resource tags is the standard approach. Tag development environments with an environment tag and use a Lambda function to stop and start instances on a defined schedule.
The HealthTech-specific caution here: Never apply automated shutdown schedules to instances that handle live patient data, active monitoring workloads, or any system where a gap in operation has clinical consequences. Automated shutdown is for development and QA environments only. Production RPM monitoring, patient alerting, and clinical data pipelines must stay on continuously.
Read More: SOC 2 Type II for HealthTech: What It Is, What It Costs, and Whether You Actually Need It
Foundation Every Cost Reduction Depends On
None of the optimisations above are sustainable without proper resource tagging. Only 30% of organizations know exactly where their cloud budget is going. Tagging is the reason the other 70% cannot answer that question.
The minimum tagging framework for HealthTech AWS environments:
| Tag Key | Values | Purpose |
|---|---|---|
| Environment | production, staging, development, qa | Identifies which instances can be scheduled or rightsized safely |
| Service | fhir-api, ehr-integration, data-pipeline, monitoring | Attributes cost to specific product components |
| PHI | true, false | Flags which resources handle Protected Health Information |
| Team | engineering, data, security | Enables team-level cost accountability |
| CostCentre | the relevant business unit | Finance attribution and reporting |
Use AWS Tag Policies to prevent tag drift across your account. An untagged EC2 instance in a HealthTech environment is both a cost visibility problem and a compliance risk if its PHI status is unknown.
HIPAA-Aware Cost Audit: What to Check Before You Change Anything
Before making any of the changes above, run through this checklist for each resource you are about to modify.
For RDS Rightsizing
Encryption at rest confirmed via RDS parameter group and confirmed to survive instance size change
Multi-AZ deployment confirmed to remain in place after the change
BAA confirmed with AWS for the specific region and service
Automated backup retention settings confirmed
For S3 Storage Class Changes
Audit logging confirmed to write to a separate dedicated bucket
HIPAA retention period mapped against lifecycle policy dates (data must be recoverable for the full retention period)
Object-level logging (CloudTrail for S3 data events) confirmed active after the change
For Non-Production Scheduling
Resource confirmed as non-production with no live patient data access
PHI tag confirmed as false on all scheduled instances
Clinical team confirmed the environment has no monitoring obligations that require continuous operation
Cost Optimisation Tools Worth Using
| Tool | What It Does | Cost |
|---|---|---|
| AWS Cost Explorer | Service-level spend analysis and Reserved Instance recommendations | Free |
| AWS Trusted Advisor | Rightsizing recommendations, idle resource identification | Free tier available, full version with Business Support |
| AWS Compute Optimizer | ML-based EC2 and RDS rightsizing recommendations | Free |
| AWS Cost Anomaly Detection | Alerts on unexpected spend changes | Free |
| CloudZero or Apptio Cloudability | Business-context cost attribution beyond what native AWS tools provide | Paid |
| nOps | ML-powered AWS cost optimisation with Savings Plan management | Paid, results-based pricing |
Conclusion
Cloud cost optimisation in HealthTech is not about cutting corners. It is about cutting waste. The 25 to 40% of AWS spend most HealthTech teams overpay every month is not protecting patients or compliance.
It is sitting in over-provisioned instances, untiered storage, and NAT Gateway fees that should have been eliminated at the last architecture review. Every dollar recovered from waste is a dollar available for EHR integration work, security certifications, or the engineering capacity your team genuinely needs.
Start with tagging, work through EC2 and RDS rightsizing, fix your S3 tiers, and eliminate your NAT Gateway costs on S3 traffic. These four moves alone typically cut AWS bills by 20 to 30% without touching a single compliance control.
Frequently Asked Questions
Your AWS Bill Has Waste You Have Not Found Yet
Get a clear breakdown of where your HealthTech AWS spend is going and which fixes cut your bill fastest.