19 articles
Knowledge Base
Cost
19 articles in the Cost category.
- Idle-resource cleanup automation — Trusted Advisor plus a custom Lambda for orphaned EBS, AMIs, snapshots, ELBs Set up a weekly AWS Lambda function that finds orphaned EBS volumes, snapshots, AMIs and Elastic IPs and cleans them up safely. Each item gets a 14-day warning before deletion, and your team can exempt anything with one tag.
- Right-size Kubernetes CPU and memory requests with the Vertical Pod Autoscaler Use the Kubernetes Vertical Pod Autoscaler (VPA) to set CPU and memory requests from what your pods really use. You install it, read its advice safely in Off mode first, then let it apply changes with bounds and a PodDisruptionBudget so pods are not all restarted at once.
- Designing a backup retention policy — daily, weekly, monthly, yearly A practical guide to backup retention design — the purpose of each tier, the cost vs recovery-time trade-offs, and the Canadian compliance overlays that shape the schedule.
- Cloud bill audit — the 7 questions to ask of any month's invoice Most cloud bills climb for the same handful of reasons. These are the seven questions an operator runs through to separate signal from noise before touching architecture.
- Cost attribution per customer in a multi-tenant SaaS — tags, Cost Categories, chargeback report When finance asks 'what does customer X cost us to serve,' the answer needs to come from the same source the bill does. Here is the tagging discipline, Cost Categories setup, and chargeback report that gets you there.
- NAT gateway egress cost — when to replace with VPC endpoints (with the math) NAT gateways charge per gigabyte processed on top of hourly. For traffic to AWS services, VPC endpoints often pay back in weeks. Here is the math, the verification, and the migration.
- RDS reserved instances for an early-stage SaaS — when to commit vs stay on-demand Reserved instances cut the RDS line by a meaningful margin, but they punish the wrong bet. Here is the math an early-stage SaaS uses to decide between on-demand and a one-year commitment.
- Right-sizing EC2 by p95, not average — the CloudWatch query you actually run Average CPU is a lie when it comes to right-sizing. p95 captures the load the box was bought to handle. Here is the exact CloudWatch query and the rules for acting on it.
- S3 storage class tiering for a media-heavy WordPress site — decision tree Standard, IA, Glacier IR, Glacier DA. The wrong tier costs more than Standard once retrieval is counted. Here is the decision tree we use on a WordPress media library.
- PaaS cost forecast vs actual variance — building the feedback loop Forecasts that nobody compares to actuals are theatre. A monthly variance loop on PaaS spend is what turns surprises into a pattern you can act on.
- Finding unused cloud resources draining your budget Idle volumes, detached IPs, forgotten snapshots and zombie load balancers are the silent line items on most cloud bills. Here is how to find them and clean up safely.
- Idle environment shutdown policy — overnight stops, weekend pauses, and the blast radius Non-production environments cost as much as production when they're left running. A disciplined stop/start policy can cut non-prod spend by half — provided you understand the blast radius.
- Cost-per-customer math for a SaaS on managed cloud Cloud spend is meaningless without a denominator. Here is how we compute cost-per-customer for SaaS workloads on managed cloud and where the numbers usually surprise.
- Per-environment billing tags — attributing PaaS spend to customers, teams, and products If your invoice is a single line item across all environments, you can't make a cost decision. A disciplined billing-tag taxonomy turns the bill into a chargeback report.
- Reserved cloudlets vs on-demand — the break-even math without the dollar signs Reserved cloudlets are cheaper per hour but punish you for being wrong about steady-state load. Here is how to compute the break-even in months without quoting price, and which workloads pass.
- Cloudlet sizing for cost vs performance — when 4 small nodes beat 1 large node PaaS bills are driven by reserved cloudlets, not by what your app actually uses. Right-sizing topology — fewer big nodes vs more small nodes — moves the bill by 30-50% with the same headroom.
- Reserved instance vs savings plan — quick decision framework Reserved instances and savings plans both discount compute, but they fail very differently when your workload shifts. Here is the framework we use to pick one.
- When data egress becomes the dominant cloud cost Egress charges are the surprise line on most growing cloud bills. Here is how to spot when egress has become dominant, where it is coming from, and what to do about it.
- Right-sizing a cloud database instance in four steps Cloud database instances are routinely two sizes too big because nobody wants to be the engineer who broke the database. Here is the safe four-step right-sizing pass.