# Scenario: the online shop whose servers worked nights for nobody

An illustrative scenario showing how a cloud cost review typically runs for a small online shop with always-on servers and an oversized database.

[Home](https://www.codeinate.com/) > [Case studies](https://www.codeinate.com/case-studies/) > [A small online shop paying for servers that sleep](https://www.codeinate.com/case-studies/idle-servers-small-online-shop/)

## Where it started

- Three virtual machines run all day: the store, a staging copy and one that runs a nightly export for ten minutes.
- The managed database has a read replica that nothing reads from and storage several times larger than the data.
- Daily disk snapshots have been kept since the first day with no retention rule.

## What was done

- Read the bill line by line with the owners and tagged every resource with a purpose.
- Moved the nightly export to a scheduled function that runs, finishes and stops.
- Scheduled the staging copy to switch off outside working hours and shrank it.
- Removed the unused replica after a decision from the owners, right-sized storage from measured use, and added a snapshot retention rule.
- Set budget alerts and a monthly report.

## What changed

- The bill follows use: it drops at night and at weekends. The owners can read it, because every line has a purpose.
- Nothing visible changed for customers; the store, the backups and the recovery plan are intact.

## The numbers

- Savings: Depends on how much was idle (illustrative; use the calculator for a range from your own numbers)

## Related pages

- [Case studies](https://www.codeinate.com/case-studies/)
- [Cloud FinOps for AWS and Azure](https://www.codeinate.com/services/cloud-finops-aws-azure/)
- [Contact](https://www.codeinate.com/contact/)

Last updated: 2026-11-09. Canonical page: https://www.codeinate.com/case-studies/idle-servers-small-online-shop/

Google Workspace, Google Sheets, Google Docs, Google Slides, Google Forms, Google Drive, Gmail, Google Calendar, Android and Google Play are trademarks of Google LLC. Codeinate products are not affiliated with or endorsed by Google.
