雲 MICROSERVICE · 01 / 08

AWS
EC2

SCHEDULER

An event-driven microservice that puts idle EC2 compute to sleep — and wakes it on schedule.

Node.jsNestJSAWS SDKIAMCronREST
ROLE
Solo Architect
YEAR
2025
STATUS
Shipped
DRAG — ROTATE THE BLADE

問THE PROBLEM

Cloud bills grow quietly. Dev and staging EC2 instances ran 24/7 while being used maybe 10 hours a day. The company needed automated start/stop lifecycles, controllable from an existing Java Spring Boot backend, without handing broad AWS credentials around.

刀THE CUT

I architected a standalone NestJS microservice owning all AWS interaction: IAM-scoped SDK access with least-privilege roles, cron-driven scheduling with per-instance calendars, and a secured REST surface consumed by the Spring Boot backend. Every action is idempotent and logged, so a missed tick never double-fires.

果THE RESULT

Idle compute cost cut on schedule, zero manual instance babysitting, and a clean service boundary — the Java team consumes three endpoints and never touches AWS.

見IN PICTURES

AWS EC2 SCHEDULER — screenshot 1
◆More shots soon
◆More shots soon
← PREV CUTALL WORK 業NEXT CUT →