r/aws • u/ckilborn • 13h ago
re:Invent 5 re:invent tips we learned the hard way, add yours
a few of us are flying out to vegas soon, and after last time we wrote down what we'd do differently. sharing in case it saves someone a sore pair of feet.
- if it's going to be on youtube, watch it on the flight home. breakouts get recorded, most chalk talks, workshops and builder sessions don't. book the ones you can't watch later, and you get to ask the presenter about your own mess.
- one hotel per half day. in previous years it was wynn to mandalay bay that killed us, mandalay is out of the campus this year but wynn to mgm grand can still easily take 40 minutes. the strip is way longer than it looks on the map.
- "full" doesn't mean full. there's a walk-up line for reserved sessions and people no-show all the time. if you really want a session, just show up early.
- the expo is where the party invites are. most of the best evenings we had came from chatting at booths, not from the official agenda. the regional receptions are worth it too, the latam one was our favourite night.
- skip something on purpose. it's a marathon, not a sprint. by thursday everyone is a zombie, and re:play is a lot more fun if you still have legs.
what are we missing? add yours! :)
article Tech predictions for 2027 and beyond
allthingsdistributed.com"Our brains only weigh 3 pounds. And the 86 billion neurons inside of them only require 20 watts to run. Yet, their capabilities far exceed the megawatt datacenters with millions of servers that are used to try to emulate them. The most successful technologies we can build will be those that amplify our unique human skills." - Werner Vogels
r/aws • u/goyalaman_ • 26m ago
discussion Trace Emails Across SES Boundries
I have a email service which uses aws ses to send out emails. Additionally there is a service which listens to bounces (via sns). Currently request journey is traceable till the email-service via trace-id but the bounces received in bounce receivers can't be traced with original request because trace-id is not passed through ses.
Currently, we use aws ses's message-id to relate trace-id and and message-id across the ses boundary.
I am wondering if there is way to propagate trace-id from email-service across aws ses to bounce-receiving service? Right now, the potential solution I am thinking is passing in a custom header (like x-trace-id) to the email and then using that custom header via bounce event in bounce-receriver service?
I am open to suggestions (if this is not the right place to discuss this, lmk I'll remove this)
r/aws • u/NoDevelopment206 • 41m ago
discussion how do you keep old ebs snapshots and amis from piling up forever
we keep finding snapshots and amis from instances that were deleted ages ago. nobody knows which ones are safe to remove so they just sit there and the bill slowly grows.
do you use dlm lifecycle policies, tags with an expiry date, some cleanup script, or something else? and how do you deal with snapshots that an ami still depends on?
r/aws • u/g0_g6t_1t • 16h ago
ci/cd What we learned running CI on one EC2 spot instance per job
TL;DR: one EC2 spot instance per GitHub Actions job. At the same 4 vCPUs as GitHub's 4-core runner (m8a's are full cores), build steps ran up to 2× faster and 7–12× cheaper, but every job waits ~40 s.
Build steps, cold medians, same run as GitHub (times on demand in us-east-1; costs on spot):
| Build | Time vs GitHub | Spot cost vs GitHub |
|---|---|---|
| Docker (grafana/k6) | 51 s vs 99 s, 1.9× | $0.0025 vs $0.024 |
| Go (cli/cli) | 34 s vs 73 s, 2.2× (8 jobs) | $0.0020 vs $0.024 |
| Python (pydantic) | 15 s vs 17 s, 1.1× (n.s.) | $0.0017 vs $0.012 |
Costs are spot plus gp3 from boot, at least 60 s billed. Spot got m8a.xlarge in 52 of 99 jobs and still built Docker 1.7× and Go 1.9× faster cold (1.4× and 1.2× warm).
When it doesn't pay: a t3.large control plane and a t3.small listener run all the time, about $86/month, so your Actions bill has to be well above that. Each job waits 34–46 s for its instance vs 4–5 s on GitHub.
What we learned:
- Spot m8a is often refused. Over three samples (17:00, 22:00 and 06:00 PST, three regions), m8a.xlarge spot launched in 44% of zones against m8i.xlarge's 81%; time of day didn't explain it. Don't let the SDK retry
InsufficientInstanceCapacity: failing fast took a spot launch from 40 s to 9.6 s. - m8a beat Graviton: at equal vCPUs on demand, 0.64–0.88× m8i's time; m8g was about as fast as m8i.
- gp3 throughput matters: at the free 125 MiB/s the image pull took 34 s vs 8 s at 500 MiB/s.
Why not CodeBuild-hosted runners or philips-labs' Terraform module (which can give a fresh VM per job in ephemeral mode)? We wanted one CLI for AWS, GCP and Azure.
We open sourced it as backmesh. https://github.com/backmesh/backmesh
What instance families have you found most reliable for spot CI?