Human ResourcesCost OptimizationWindows WorkloadsUSEC2 Scheduling · RDS Right-Sizing
Case Study

AWS cost optimization for Windows workloads

The customer was running critical workloads on AWS but faced rising costs due to continuous server operation and oversized database instances. HAZERCLOUD implemented targeted cost optimization through workload scheduling and database right-sizing — reducing expenses with zero service disruption.

Client Profile
Human Resources Company — US
IndustryHuman Resources
WorkloadsWindows EC2 + RDS
RegionUnited States
EngagementCost Optimization
EC2 costs reduced
RDS costs optimized
0
Downtime during optimization
Automated scheduling
The Challenges

Rising costs from always-on infrastructure.

The customer's cloud environment had rising operational costs and inefficiencies, with servers running around the clock and oversized database instances consuming excess resources.

Challenges

Cost inefficiencies across compute and data

  • Windows EC2 servers were running 24/7, resulting in unnecessary compute costs outside of business hours
  • Existing RDS instances were oversized, consuming excess resources relative to actual workload requirements
  • No automated mechanism existed to start and stop resources based on business hours or usage patterns
  • Needed to reduce costs without impacting application availability or performance during working hours
  • Required structured monitoring and validation to ensure stable workloads during the optimization process
Goal

Optimized costs, zero disruption

  • Implement automated scheduling for Windows EC2 instances aligned to business hours
  • Right-size RDS instances to match actual workload demands
  • Reduce storage allocation to eliminate waste
  • Ensure zero downtime and zero data loss during optimization
  • Establish operational governance with monitoring and validation
The Solution

Practical cost optimization. Scheduling, right-sizing, automation.

HAZERCLOUD implemented targeted cost optimization measures — automated workload scheduling for Windows EC2 instances and database right-sizing via blue-green deployment — ensuring savings with zero disruption.

Workload Scheduling

Automated start/stop for Windows EC2 instances

Automated start/stop schedules were introduced for Windows servers using AWS Lambda and Amazon EventBridge, ensuring servers ran only during business hours, with full shutdowns on non-working days.

Database Right-Sizing

RDS migrated to optimized instance via blue-green deployment

The existing RDS instance was migrated via blue-green deployment to a smaller db.t4g.medium instance with reduced storage (20 GB). This ensured cost savings while maintaining performance and data integrity.

Automation & Security

IAM roles, snapshots, and migration safeguards

IAM roles were configured for least-privilege access, snapshots were taken before every change, and migration testing validated the environment — ensuring zero data loss and business continuity throughout.

Validation & Monitoring

Structured governance and workload validation

Post-optimization monitoring confirmed stable performance across all workloads. CloudWatch metrics and alarms were configured to track resource utilization and catch anomalies early.

Architecture

The optimization architecture.

AWS Lambda and EventBridge automate EC2 scheduling, while RDS right-sizing via blue-green deployment reduces database costs — all backed by CloudWatch monitoring and IAM governance.

AWS Cost Optimization chart showing monthly cloud cost reduction from $8,000 to $2,000 through resource right-sizing and reserved instances
EC2 Scheduling
  • LambdaStart/stop automation
  • EventBridgeCron-based scheduling
  • EC2Windows Server instances
  • IAMLeast-privilege roles
RDS Right-Sizing
  • RDSdb.t4g.medium (right-sized)
  • Blue-GreenZero-downtime migration
  • SnapshotsPre-migration backups
  • StorageReduced to 20 GB
Governance
  • CloudWatchMonitoring & alarms
  • IAMAccess control
  • SnapshotsRollback safety net
The Results

What the optimization delivered.

Targeted cost optimization reduced unnecessary spend, improved operational efficiency, and ensured the infrastructure was aligned with actual business usage — all with zero service disruption.

$

Reduced EC2 costs

Windows servers now run only during business hours with full shutdowns on non-working days, eliminating unnecessary compute charges for idle periods.

Hours-based billing

Lower RDS costs

Database optimized through right-sizing to db.t4g.medium with reduced storage (20 GB), delivering significant savings while maintaining full performance.

Right-sized

Improved efficiency

Automated scheduling and right-sizing reduced manual workload and operational overhead, freeing the team to focus on core business operations.

Automated ops

No service disruption

Migration was seamless — blue-green RDS deployment and Lambda-based scheduling ensured zero downtime for the customer's applications throughout the process.

Zero downtime
OPTIMIZE
Ready to migrate?

30 minutes with our founder. One specific cost optimization recommendation.

Share your latest AWS bill before the call. We'll identify the top cost-saving opportunities in your account and give you at least one actionable recommendation — yours to keep whether you engage us or not.

AWS Advanced Tier Services Partner · ISO 27001:2022 · ISO 9001:2015 · 5× AWS-Certified Founder