M4RKYU.SYSEdition 2027
Skip to content
LOCEN/Ontario · CA/▸logs · tips for implementing sustainable cloud design 1l4gStandbyOK/--:--:--EST
M4M4RK_YUportfolio
  • BuildBuild
    BuildOverview
    • WorkSelected case studies and write-ups
    • GamesPlayable prototypes and game-dev logs
  • GalleryGallery
    GalleryOverview
    • PhotosPhoto collections and visual experiments
    • ShopPrints, posters, and one-off objects
  • WritingWriting
    WritingOverview
    • BlogLong-form devlogs and field notes
    • NotesShort observations, links, snippets
  • ResourcesResources
    ResourcesOverview
    • Tools38 in-browser developer utilities
    • LinksDaily-use dev and design bookmarks
  • AboutAbout
  • ContactContact
中文

syndicated · dev.to / @markyu

Sustainable Cloud Design Starts With Boring Cost Signals

A practical cloud sustainability guide for developers: right-sizing, autoscaling, regions, storage lifecycle, carbon-aware thinking, and cost visibility.

Published
May 4 '24
·
Reading time
2 min read
·
Reactions
9
clouddevopssustainabilityarchitecture
View on dev.to

On this page

  • The Practical Map
  • 1. Right-Size Before You Re-Architect
  • 2. Autoscale With Guardrails
  • 3. Stop Keeping Every Log Forever
  • 4. Use Storage Lifecycle Rules
  • 5. Watch Cross-Region Traffic
  • 6. Carbon-Aware Scheduling Is Useful, but Not First
  • Final Thought

Sustainable cloud design sounds abstract until the bill arrives.

The funny thing is that many "green cloud" improvements are also boring cost improvements: fewer idle servers, smaller data transfers, better storage lifecycle rules, and less over-provisioning.

I would not start with a grand sustainability framework.

I would start by finding waste.

The Practical Map

Cloud waste
  |
  +-- idle compute
  +-- oversized databases
  +-- forgotten disks/snapshots
  +-- cross-region traffic
  +-- logs kept forever
  +-- build pipelines running too often

That is where the first wins usually hide.

1. Right-Size Before You Re-Architect

If a service uses 8% CPU most of the day, do not call it "resilient." It might just be oversized.

Check:

  • CPU utilization
  • memory pressure
  • request latency
  • autoscaling events
  • database IOPS
  • network egress

The goal is not to run everything at 95%. The goal is to stop paying for capacity that has no job.

2. Autoscale With Guardrails

Autoscaling is not magic. Bad autoscaling can create expensive chaos.

A decent setup includes:

  • minimum capacity
  • maximum capacity
  • scale-out signal
  • scale-in delay
  • alert when max capacity is reached

Example mental model:

traffic spike
   |
   v
queue depth grows
   |
   v
workers scale out
   |
   v
queue drains
   |
   v
workers scale in slowly

I prefer scaling on workload signals like queue depth when possible, not only CPU.

3. Stop Keeping Every Log Forever

Logs are useful. Infinite logs are not.

Set retention by value:

DataExample retention
debug logs7-14 days
app logs30-90 days
audit logspolicy-driven
metricsdownsample over time

This is not only a cost issue. Searching through noisy old data makes incidents slower.

4. Use Storage Lifecycle Rules

Storage waste is quiet.

Old exports, snapshots, uploaded files, and generated reports can sit around forever because nobody owns deletion.

Use lifecycle policies:

hot storage -> cool storage -> archive -> delete

Do this especially for:

  • object storage
  • database snapshots
  • CI artifacts
  • old build outputs
  • user uploads with retention rules

5. Watch Cross-Region Traffic

Cross-region architecture looks impressive in diagrams. It can also burn money and energy quickly.

Before going multi-region, ask:

  • Do users need lower latency globally?
  • Do we have a real recovery objective?
  • Can the database model handle it?
  • Who will operate failover?

Multi-region without operational discipline is just expensive uncertainty.

6. Carbon-Aware Scheduling Is Useful, but Not First

Carbon-aware scheduling is becoming more practical in 2026, especially for batch jobs.

Good candidates:

  • ML training
  • analytics jobs
  • image/video processing
  • non-urgent data pipelines

Bad candidates:

  • checkout
  • auth
  • customer-facing hot paths

My take: use carbon-aware scheduling after you already fixed obvious waste.

Final Thought

Sustainable cloud design is not only a moral poster. It is operational hygiene.

If you reduce idle compute, noisy logs, wasteful storage, and unnecessary data movement, you usually improve cost, reliability, and environmental impact at the same time.

What is the most surprising cloud waste you have found in a real project?

Related reading

Cloud Architecture Choices I Would Not Overcomplicate

A practical 2026 cloud architecture guide for developers choosing between client-server, distributed systems, microservices, serverless, and cloud-native platforms.

cloud

Kubernetes Is Useful, but Only After These Basics Hurt

A practical Kubernetes guide for developers: pods, deployments, services, config, scaling, and when not to introduce Kubernetes too early.

kubernetes

Network Address Calculation: The Subnet Math That Matters

A practical subnetting guide showing how to calculate a network address from an IP address and mask using binary math and simple examples.

networking

originally published

This post first ran on dev.to. Comments and reactions live there.

Continue on dev.to
PreviousDocker Containers: The Commands That Prove IsolationA practical Docker container guide focused on the commands that show image layers, process isolation, networking, volumes, and debugging.
Back to all posts
NextAES-CBC vs AES-GCM: The Crypto Choice I’d Make TodayA practical block cipher guide for developers explaining AES modes, CBC pitfalls, GCM authentication, IV rules, and what to avoid in production.
Back to archive
M4RKYUM4RKYUM4RKYUM4RKYUM4RKYUM4RKYUM4RKYUM4RKYU
Crafted since 2024
ZhenXiao Mark YuZhenXiao Mark Yu
get in touch

Saw something here?Tell me about it.

It's a portfolio, not a service · but I read every note — drop a line if anything here resonated, or just to say hi.

Start a conversation
open channel

say hi anytime · 2026

--:--:--ESTOntario, Canada
  • Email
  • GitHub
  • dev.to
  • LinkedIn
  • Twitter / X
  • Instagram
  • Facebook
  • YouTube
  • CodePen
  • Spotify
  • Snapchat

Newsletter

Get the occasional dispatch

Notes and logs from m4rkyu.com — short, dated, no noise. Unsubscribe anytime.

Work

Production builds, games, and visual archives.

  • Projects
  • Games
  • Archive
  • Logs

Resources

Daily-use tools and a personal link library.

  • Search
  • Latest
  • Tools
  • Links
  • Notes
  • Topics
  • Shop
RSSJSON feed

Studio

Background, contact, and channels for collaboration.

  • About
  • Contact
  • Changelog
  • Colophon
  • Resumepending

Socials

Find me on the usual feeds.

  • GitHub
  • dev.to
  • LinkedIn
  • Twitter / X
  • Instagram
  • Facebook
  • YouTube
  • CodePen
  • Spotify
  • Snapchat
  • Email
© 2026 ZhenXiao Mark Yumarkyu0615@gmail.com
  • Email
  • GitHub
  • dev.to
  • LinkedIn
  • Twitter / X
  • Instagram
  • Facebook
  • YouTube
  • CodePen
  • Spotify
  • Snapchat
PrivacyTermsBuilt with Next.js 16 · React 19 · Tailwind 4