r/devops • u/DirectSlice7678 • 4h ago
r/devops • u/panthersfan61 • 8h ago
Discussion Q4 2026 Salary Sharing Thread
Hey folks!
It's been a while since I've seen a salary sharing thread posted here. I've been wanting to see what it looks like out there, so I thought I would kick off an unofficial one.
Let's include the following from one of the other salary sharing threads:
- Tech Stack:
- Education:
- Prior Experience:
- Company/Industry:
- Title:
- Tenure length:
- Location:
- Salary:
- Relocation/Signing Bonus:
- Stock and/or recurring bonuses:
- Total comp:
r/devops • u/NoDevelopment206 • 20h ago
Ops / Incidents how do you keep runbooks from going stale, and has one ever been wrong during an actual incident
we all write runbooks for the scary stuff like failovers, restores and cert issues. but systems change and nobody goes back to update them, so half the steps point to things that dont exist anymore.
do you test them on a schedule, tie them to alerts, keep them next to the code, or just fix them after they bite you? curious if anyone has a setup that actually works
r/devops • u/kUdtiHaEX • 9h ago
Security How we manage vulnerabilities across ~90 apps: base images, Trivy, Dependency-Track and VEX policies in git
r/devops • u/ahmedshahid786 • 12h ago
Discussion Self taught backend engineer looking for feedback on my production architecture
TL;DR: Running a Dockerized Node.js backend on a single EC2 instance with Nginx, blue-green deployments, and SSH-based CI/CD. Serving 20–30K DAUs comfortably. Looking to improve security, filter junk traffic, and adopt better deployment practices without unnecessary complexity.
Current architecture:
- Single EC2 instance with a public IP.
- API domain resolves directly to the instance's public IP (which doesn't feel right).
- Nginx and Node.js backend run in Docker on the same network.
- Port 443 is publicly accessible and mapped to Nginx.
- GitHub Actions connects via SSH, pulls the latest image from Docker Hub, starts the inactive container, waits for the health check, switches Nginx traffic, and stops the previous container.
- Frontend builds are deployed to S3 and served through CloudFront.
- Self hosted Prometheus and Grafana on a separate instance.
Blue-green deployments work well with zero downtime. We rarely exceed 20 requests/sec, so scaling isn't currently a concern.
What I need advice on:
- Security and architecture: What would you change in this architecture to make it more secure and production-grade?
- Junk traffic: I've noticed increasing requests from automated scanners probing paths like "/.env". I'm considering moving EC2 into a private subnet behind an ALB. Would that help, or should I consider something like WAF? Is there a simpler, more cost effective solution?
- SSH-based deployments: Is keeping port 22 publicly accessible a bad practice? If I close it, what's the recommended approach for automated deployments?
- Infrastructure as Code: Most of my infrastructure is manually configured. If I ever need to recreate it, I'd have to configure everything from scratch. I'm considering IaC to make my entire AWS infrastructure reproducible. Can I do this with Terraform and would it be worth adopting at this scale?
A little background:
I joined this company as a full stack engineer. When my company needed someone to handle DevOps, I volunteered despite having no prior DevOps experience. I learned along the way and built the current deployment and monitoring infrastructure myself.
Everything works well so far, but I want to understand what experienced DevOps engineers would do differently.
I want to do things right, not just make them work. I want to follow the best industry practices and I'm willing to embrace complexity where it's justified, but I don't want to engineer solutions for problems we don't have.
Would appreciate any advice, architectural suggestions, or resources.
r/devops • u/DeathVader_21 • 6h ago
Ops / Incidents Redis was pinned at 85% CPU while the replica sat idle. Here's what else we found during a traffic spike
Got pulled into a production app on AWS (ECS Fargate, RDS, ElastiCache, CloudFront) after signups jumped about 15x in a day. The API slowed down at peak and the bill climbed fast. A few things I didn't expect:
Redis was the bottleneck, and a bigger node wouldn't have helped. The primary was at 70-87% EngineCPU because Redis runs on one main thread. The replica was at under 1%. The code already supported a reader endpoint, but the env var was never set. There were also cache invalidations doing full-keyspace scans, which we removed.
CloudFront bills for bytes delivered, and cache hits count. Adding cache headers doesn't lower the bill. Sending fewer bytes does.
We moved raw MP4 to HLS and raw video traffic dropped a lot, but total bytes only fell about 35%. Our first estimate was much higher. The next biggest source was audio: full-length tracks at around 200 kbps with no preview, so one popular track was downloaded thousands of times a day.
We also found that CPU-based ECS autoscaling can't start a service from zero tasks. For the encoding workers, we're looking at scaling on queue depth with Spot instead.
Questions for people who've done this:
- Has anyone split BullMQ onto its own Redis, and was it worth it?
- How do you scale ECS workers from zero on queue depth? Custom CloudWatch metric, or something simpler?
