M4RKYU.SYSEdition 2027
Skip to content
LOCZH/安大略 · 加拿大/▸logs · tips for implementing sustainable cloud design 1l4g待机OK/--:--:--EST
M4M4RK_YUportfolio
  • 创作创作
    创作Overview
    • 作品精选案例与项目记录
    • 游戏可玩原型与游戏开发日志
  • 影像影像
    影像Overview
    • 照片影像合集与视觉实验
    • 商店印刷品、海报和限量物件
  • 写作写作
    写作Overview
    • 博客长篇开发日志与现场笔记
    • 笔记短观察、链接与代码片段
  • 资源资源
    资源Overview
    • 工具38 款浏览器内开发工具
    • 链接每日使用的开发与设计书签
  • 关于关于
  • 联系联系
EN

同步 · 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.

发布日期
May 4 '24
·
阅读时长
2 min read
·
点赞
9
clouddevopssustainabilityarchitecture
在 dev.to 查看

本页目录

  • 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?

相关阅读

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

原文发布

本文首发于 dev.to,评论与点赞保留在原站。

在 dev.to 继续阅读
上一篇Docker Containers: The Commands That Prove IsolationA practical Docker container guide focused on the commands that show image layers, process isolation, networking, volumes, and debugging.
返回全部文章
下一篇AES-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.
返回档案
M4RKYUM4RKYUM4RKYUM4RKYUM4RKYUM4RKYUM4RKYUM4RKYU
始于 2024
ZhenXiao Mark YuZhenXiao Mark Yu
联系

看到什么有意思的?和我聊聊。

这是一个作品集,不是服务 · 但每一条留言我都会看 — 如果哪里让你有所触动,或者只想打个招呼,欢迎写信过来。

开启对话
频道开放

随时打个招呼 · 2026

--:--:--EST加拿大 安大略
  • 邮件
  • GitHub
  • dev.to
  • 领英
  • 推特 / X
  • Instagram
  • Facebook
  • YouTube
  • CodePen
  • Spotify
  • Snapchat

订阅

偶尔收到一封简讯

来自 m4rkyu.com 的笔记与日志——简短、标注日期、没有杂音。随时可退订。

作品

线上发布、游戏作品与视觉档案。

  • 项目
  • 游戏
  • 档案
  • 日志

资源

每日好用的工具与个人收藏的链接库。

  • 搜索
  • 最新
  • 工具
  • 链接
  • 笔记
  • 主题
  • 商店
RSSJSON Feed

工作室

背景、联系方式以及合作渠道。

  • 关于
  • 联系
  • 更新日志
  • 技术说明
  • 简历筹备中

社交

在常去的平台上找到我。

  • GitHub
  • dev.to
  • 领英
  • 推特 / X
  • Instagram
  • Facebook
  • YouTube
  • CodePen
  • Spotify
  • Snapchat
  • 邮件
© 2026 ZhenXiao Mark Yumarkyu0615@gmail.com
  • 邮件
  • GitHub
  • dev.to
  • 领英
  • 推特 / X
  • Instagram
  • Facebook
  • YouTube
  • CodePen
  • Spotify
  • Snapchat
隐私条款由 Next.js 16 · React 19 · Tailwind 4 构建