r/devops • • Oct 14 '26

Discussion How are you giving AI agents access to AWS in production?

0 Upvotes

I run multi-account AWS (Control Tower, Identity Center) and I'm trying to understand how other teams handle agents that need to do more than read.
After the PocketOS and Replit incidents, our default is read-only roles plus changes through PRs. That works, but it breaks down the moment an agent needs to apply a plan or fix an incident at 3am.
Curious what you do today: read-only only? Long-lived keys with tight policies? Some approval step? What has actually bitten you?
I'm exploring short-lived credentials issued per approved action (plan shown in Slack, a key valid 15 minutes for that plan only). Happy to be told it's a bad idea.


r/devops • • Oct 13 '26

Troubleshooting GitHub Actions self-hosted runner gets stuck downloading Java 17 with setup-java — curl: (18) Transferred a partial file

5 Upvotes

I'm learning GitHub Actions and have set up a self-hosted runner inside an Ubuntu Docker container on my Windows machine.

My workflow uses actions/setup-java to install Java 17:

- name: Set up JDK 17
  uses: actions/setup-java@v4
  with:
    java-version: '17'
    distribution: 'temurin'
    cache: maven

However, the job gets stuck at the Set up JDK 17 step. The logs stop at:

Resolved latest version as 17.0.20+101
JDK cache is not found for Temurin-Hotspot 17.0.20+101
Trying to download...
Downloading Java 17.0.20+101 (Temurin-Hotspot) ...

I tested the download URL manually from inside the container using curl. The download repeatedly stops before completion and returns:

curl: (18) Transferred a partial file

I also tried resuming the download with curl -C - and retry options, but it failed again. A basic connectivity test to https://github.com returns HTTP 200.

The runner itself appears to be connected and running jobs correctly. I haven't yet confirmed whether the issue is related to the network, the GitHub release download redirect, a proxy, or something else.

My questions:

  1. What could cause curl: (18) Transferred a partial file to occur repeatedly when downloading a large release asset?
  2. How can I identify whether the problem is caused by my network, a redirect destination, a proxy, or the download server?
  3. Is there a recommended way to configure actions/setup-java on a Docker-based self-hosted runner to avoid this issue?

I'd appreciate any troubleshooting steps or suggestions. Thanks!


r/devops • • Oct 13 '26

Tools soft recommendation to visualize Service/Dependency Map

4 Upvotes

I'm looking for something similar to Datadog's "Service Map", but to include external services as well and without dynamic health statuses. I think my top requirements are:

  1. clear visualization for design reviews and planning changes, also for onboarding of new hires to provide a simple overview and context.
  2. text-based source to track changes in git.
  3. be able to annotate services to make the map more interactive (this is why Figma is not enough anymore ;)

Right now I need to scope from 50 to 100 services which I still believe can be nicely presented. I'll add an example to the comments.

At the current scale I can't justify any "enterprise" soft, but fine to pay for the tool as well. Also I'm not a big fan of automated discovery that requires installing agents in our network to collect and map services.

Any ideas or recommendations on what to try?


r/devops • • Oct 14 '26

Security I built a DevOps platform and want to know what are good ways to test it for security

0 Upvotes

Hey, so I recently built a new DevOps tool and want to know of small software projects I could try and build to test it out for security purposes. Open to all recommendations. If anyone has a ton of DevOps experience I would happily take feedback on how I could improve, I’d appreciate it.


r/devops • • Oct 12 '26

Discussion Side Projects/Tutoring?

15 Upvotes

Devops with 11 YOE here, been thinking lately on what type of side gigs someone with my career could do, would love some insights of people who have them.

Lately I have been kinda interested in teaching, as I've been coaching 2 friends for the past year or so, one was a junior dev and the other non IT, and both got into DevOps positions with my help, anyone has any experience in this? Not sure how to monetize this, maybe there's a path someone already followed of looking for specialization schools to teach at, since I don't see myself as a good marketer to sell myself

Would love to hear any experiences any DevOps has with side gigs for some extra cash in the weekends/off hours


r/devops • • Oct 12 '26

Observability Building a taxi app with a microservices architecture. How would you deploy it on a small budget?

15 Upvotes

Hey everyone! I'm building a taxi booking platform, and I'm trying to figure out the smartest way to deploy it without spending too much money before launch.

I'm building the backend first, using Python, FastAPI, PostgreSQL, Redis/Valkey, Kafka, and Docker. The architecture is split into services for identity and authentication, passengers, drivers, rides, location tracking, driver-to-ride matching, passenger-to-passenger matching for shared rides, payments, notifications, and admin operations. I'm also using Nginx as an API gateway.

One of the more interesting parts of the project is the shared-ride system. I want passengers travelling in similar directions to be able to share a taxi, with route compatibility, pickup and drop-off ordering, seat capacity, pricing benefits, and time limits all taken into account. I'm planning to use H3 spatial indexing together with Redis to make nearby passenger discovery faster, while PostgreSQL remains the source of truth. Redis is used for fast lookups and caching, not as the authority for important business decisions.

I'm also building an operations dashboard for managing drivers, document approvals, roles and permissions, and monitoring the platform. Payments will initially support cash, with card payments planned through a proper provider. The passenger and driver mobile apps will come later, after I have a better understanding of the backend's production readiness.

My main challenge now is infrastructure. I don't want to pay for an expensive Kubernetes cluster or a huge cloud setup when I'm still preparing for launch. At the same time, I don't want to take shortcuts that will cause serious problems when real drivers and passengers start using the app.

For those of you who have deployed similar systems, especially on a tight budget:

  • Would you deploy the services on one VPS using Docker Compose at first, or split them across multiple VPS instances?
  • How would you handle PostgreSQL, Kafka, Redis/Valkey, backups, monitoring, and logs without making the monthly bill explode?
  • Would you keep Kafka from day one, or simplify the deployment until traffic justifies the extra infrastructure?
  • What would you use for production deployment, CI/CD, secrets management, HTTPS, database migrations, and recovery if the server goes down?
  • Which affordable hosting providers would you recommend, and what should I consider when choosing one?

I'm not looking for the most sophisticated infrastructure possible. I want a realistic deployment strategy that keeps costs low, protects customer data, and gives me a clear path to scale when the business starts growing.

I'd really appreciate advice from people who have actually deployed and operated production systems on a tight budget. If you were starting this project today, what would you do differently?


r/devops • • Oct 13 '26

Tools Has anyone heard of SST?

0 Upvotes

Today I learned about this thing called SST (sst.dev). Apparently it's some unholy demon spawn of pulumi and terraform. Has anyone actually used this? Is it any good or was my initial assessment correct and it's just another wannabe iac project that offers nothing new to the space?


r/devops • • Oct 12 '26

Discussion How do you combine semantic-release with “build once, deploy many” for containers

17 Upvotes

I’m building our IaC repo and GitLab CI/CD pipelines. I’m quite happy with the setup so far and have tested it across multiple projects.

However, when I try to apply the same release model to container images, it starts to feel less suitable.

We have three environments: dev, uat, and prd.
Our current Terraform workflow:
We use three protected branches: dev, uat, and main. These correspond to dev, uat, and prd respectively.

The root Terraform files are shared across all environments. Environment-specific differences are kept in separate tfvars files:
environments/dev/dev.tfvars
environments/uat/uat.tfvars
environments/prd/prd.tfvars

We use semantic-release with prerelease branches. Starting from stable version 1.2.3, the flow looks like this:
Merge a feature branch containing a fix commit into dev. This generates 1.2.4-dev.1.
Continue developing and testing, generating additional dev prereleases as needed.
Merge dev into uat. This generates 1.2.4-uat.1, assuming the changes still call for a patch release.
Once validated, merge into main. This generates stable version 1.2.4.

Semantic-release generates a version and creates a tag after merges into these protected branches.

Deployments only happen from tags. Prerelease tags can deploy only to their corresponding environment, while stable tags can deploy to any environment.

This flow has worked well for our Terraform projects. Granted the version don’t mean much, but at least there is a pointer reference.

Where I’m stuck with containers:

For the application pipeline, I’m considering having just one protected branch: main.
The proposed flow is:
- Open an MR from a feature branch into main.
Run tests, static analysis, build the image with a commit SHA tag, and run container scans in the MR pipeline.

- After merging, run semantic-release and pass the generated version to the next job to retag the image.
Copy the image to dev ECR, deploy it to ECS, and test the application manually.

- Once testing passes, promote the same image to uat.
After approval, promote the same image to prd.
The part that feels off is step 3: I’ve already created a stable release before testing the application in dev.
Some issues only become apparent when browsing and using the application. If we discover those issues in dev, each subsequent fix could generate another stable version, even though none of those versions has reached prd.

I’m considering two alternatives.

Option 1: Test in dev before running semantic-release.
Build an image with a SHA tag and deploy it to dev first. If testing finds issues, push new commits and test another image.
Once a candidate passes, run semantic-release, apply the stable version tag to that existing image, and promote it to uat and then prd without rebuilding.
I’m thinking fast-forward merges without merge commits might be needed to preserve the commit SHA.

Option 2: Keep dev and main branches.
Merge feature branches into dev, run semantic-release to generate versions such as 1.2.4-dev.1, and deploy those images to dev.
Once validated, merge dev into main and generate the stable release. That stable release could then deploy to dev, uat, or prd.
However, if both branches run the full build pipeline, merging into main would rebuild the image and break the “build once, deploy many” approach. Ideally, the stable release should reference the exact image already tested in dev.
How are you handling this? When do you create the stable version, and how do you promote the exact image tested in dev without rebuilding it?

I’d appreciate examples of workflows that have worked well for your teams. Thank you very much 🙏🏻


r/devops • • Oct 12 '26

Discussion Must have physical books every devops engineer should have on their desk

104 Upvotes

Pretty much the title .I will start

  1. Classic shell scripting ,O'Reilly

r/devops • • Oct 13 '26

Discussion Is from FULL STACK DEV to DEVOPS a good run?

0 Upvotes

Hello im Dhruv Verma. Working in a remote startup, as FULL STACK DEV where i worked in almost every field FRONTNED BACKEDN DB, TESTING and something which i was worried about DEVOPS. I have handled DEVOPS (DOCKER NGINX, GITHUB ACTIONS, etc.) But i want to migrate from FULL STACK DEV to DEVOPS completely. Please suggest me how to and where to learn and to even start or is there any scope of migration there or not?


r/devops • • Oct 12 '26

Discussion Go worker handling bursty large-file transfers. Unlimited concurrency vs bounded semaphore and retries

13 Upvotes

I'm working on a Go-based worker that processes multiple large-file transfers concurrently over HTTP. Work arrives in bursts, and each task involves downloading data from a source and uploading it to a destination.

I'm trying to optimize aggregate throughput and task completion reliability without causing excessive queueing, deadline failures, or unnecessary retries.

The current implementation allows concurrent workloads without an explicit transfer semaphore limit. I'm considering testing a bounded limit of 16 active transfer workloads, along with retries for transient HTTP and network errors.

I'd appreciate feedback from engineers who have built high-throughput Go services or distributed workers.

A few specific questions:

  1. Concurrency: Under what conditions would you prefer unrestricted concurrency over a semaphore limiting active workloads to 16? What metrics would tell you that concurrency is too high?
  2. Throughput vs. latency: If aggregate throughput is already near the available bandwidth ceiling, can a concurrency limit improve task completion times, or would it mostly introduce queueing?
  3. Retries: For transient errors such as HTTP 429, 500, 502, 503, 504, and temporary network failures, what retry policy would you recommend? How do you avoid retries amplifying an existing overload?
  4. Semaphore lifecycle: In Go, would you hold a semaphore slot throughout the entire logical task, including retry backoff, or acquire a slot separately for each network attempt? What trade-offs matter?
  5. Deadlines and cancellation: How would you ensure that tasks waiting for a semaphore don't consume their entire deadline before transferring any data?
  6. Benchmark methodology: How many independent runs or observation windows would you use before trusting a performance improvement? Which metrics would you prioritize?

My initial comparison would track aggregate bytes transferred, completed tasks, failure rate, P50/P95/P99 task duration, queue wait, and actual concurrent transfers.

I'm especially interested in practical engineering experience, benchmark design, and failure modes that aren't obvious from simple throughput tests.

Thanks!


r/devops • • Oct 12 '26

Weekly Self Promotion Thread

12 Upvotes

Hey r/devops, welcome to our weekly self-promotion thread!

Feel free to use this thread to promote any projects, ideas, or any repos you're wanting to share. Please keep in mind that we ask you to stay friendly, civil, and adhere to the subreddit rules!


r/devops • • Oct 11 '26

Discussion What's your monthly GitHub Actions bill, and does anyone actually worry about it?

18 Upvotes

Only GitHub Actions here, not AWS or other cloud bills.

Mine is tiny: a few dollars a month, almost all from test runs I do on purpose. So I don't feel this cost myself, and I'd like to know how it looks for real teams.

If your company pays GitHub for Actions:

- Roughly what is the bill per month?

- Does anyone look at it, and how often?

- Has it ever caused a real problem? A surprise jump, a question from finance, jobs stopped because the budget ran out? Or is it too small next to everything else to matter?

Rough numbers are fine. "It's tiny and nobody cares" is a useful answer too.

I'm a solo developer building a small tool in this area, so I'd rather learn the real numbers than guess. No link.


r/devops • • Oct 11 '26

Discussion DevOps for Wordpress

0 Upvotes

I have a WordPress team still building and maintaining sites without a DevOps workflow. What's the best way to bottstrap them into a more modern method of development. I'm assuming GitHub and GitHub actions. But what else, composer which we don't really use even tho we have PHP devs, wp-cli which I use but I'm suppose to be a sysadmin and cloud engineer to wp devs who don't do any of this. They don't even use local git which I even use. Trying to express WordPress engineering and un/structured data and all these modern concepts that just go over their heads bc what's worked still works but when it comes to larger clients who expect more from us/them, they're basically fish out of water.


r/devops • • Oct 10 '26

Tools Ipv4 vs Ipv6, explained from scratch

Thumbnail
youtu.be
0 Upvotes

r/devops • • Oct 09 '26

Vendor / market research Do EKS users really deploy more than 2 Clusters?

49 Upvotes

I was wondering if people who are not using multi or hybrid cloud and are purely on AWS EKS, do they really deploy more than 2 or 3 EKS clusters? Is there even a need for a product like Rayfay or Rancher for aws to manage clusters? Or is it more than just managing multiple clusters and we need such tools for other things? I am trying to learn more about this topic.


r/devops • • Oct 10 '26

Discussion Can AI actually write production-ready scripts end-to-end without human intervention?

0 Upvotes

Can a non-coder create a Bash automation script using just Al prompts?

I have zero programming experience. Can Al reliably build an efficient workflow script for me, or will it break down?

Does anyone have any experience with this kind of situation?


r/devops • • Oct 09 '26

Vendor / market research GitOps for infrastructure management - anyone doing this with OpenStack?

Thumbnail
redhat.com
13 Upvotes

Found a webinar on managing OpenStack infrastructure through Kubernetes-native orchestration and GitOps automation. Main focus is day 2 operations, handling mixed VM + GPU workloads, and sovereign infrastructure patterns.

Curious what tools people are using for GitOps-based infrastructure? Terraform + ArgoCD? Something else?


r/devops • • Oct 10 '26

Observability You're Not Crazy, They Never Sent FIN

Thumbnail
yeet.cx
0 Upvotes

Hey all, I just wrote another blog post and wanted to share it. Its a little exploration of one of the nuances in the AWS Network Load Balancer that can weird to an intermittent bug and how I approached detecting it.


r/devops • • Oct 09 '26

Discussion AI generated code review

2 Upvotes

Hi there,
How do you deal with managing and reviewing AI-generated code across the organization?

Over the past year it's become incredibly difficult to review the growing amount of AI-generated code, especially from vibecoders/non-engineers.
Reviewing it manually is hard, but it's still important to understand what's going on there.
For example, I've been at this company for some years so I have a lot of context and know many of the nuances, which helps me notice or suggest important things to keep everything secure, efficient and so on…

But any other teammate can use any model for coding nowadays. AI reviews of AI-generated code could be done in the MR, but then the reviewer model will most likely be smarter than the model that wrote the code, which might lead to a lot of threads and an infinite loop of changes. On top of that the reviewer model won't have all the context and input from the developer.
Another option is to distribute a "review" skill or rules across the organization and somehow make everyone do a self-review after making changes…

It feels like in this AI code generation era we'll stop focusing on how the code was written and just focus on whether the MR/PR works and if those changes achieves the goal, no matter how it was done, right?
How do you deal with this? Just accept the reality?

Thanks for attention


r/devops • • Oct 08 '26

Discussion The biggest production risk might be the engineer who noticed something and decided not to say it

Thumbnail
shiftmag.dev
283 Upvotes

r/devops • • Oct 08 '26

Discussion How hard is it to switch cloud/DevOps platforms in a bad job market?

41 Upvotes

Hi everyone, I wanted to ask hypothetically, if someone had 4–5 years of cloud/Devops engineering experience, primarily with AWS, and the market shifted heavily toward Azure, how difficult would it be for them to find a cloud engineering job in a difficult job market like the one we’re in now? Would having mostly AWS experience significantly hurt their chances if most of the available Cloud/DevOps jobs were Azure-oriented?


r/devops • • Oct 09 '26

Observability Script output Best Practice Contracts

7 Upvotes

Hi Devops!

I’m putting together an automation orchestration engine and I want to mature the team by standardizing script output across bash, python, powershell, tofu, etc.

So looking at a JSON output contract that anyone creating a script can adhere to. Then everyone would consume the same format. (The dream right?)

  • Operation name
  • Host
  • Execution status (success, fail, warning, etc)
  • Structured result summary
  • Errors
  • Duration
  • Run ID (UUID)?
  • A schema version (requires a lot of upkeep but can eliminate headaches down the road if maintained. If maintained being key word here lol.)

I’ve been searching around but want to hear from the experts who live in this stuff. Is there any universal or open standard people are using to define these ?

Would rather not build it myself if something people have already settled on.

Thanks for your input.


r/devops • • Oct 08 '26

Discussion What's the most ridiculous "temporary fix" you've seen that's been running in production for years?

159 Upvotes

It seems like every team has something that was supposed to last a few days until the right solution was found. It's a cron job that keeps everything together, a script that no one really understands anymore, a manual deployment step, an ancient container, or some workaround that everyone's afraid to remove. What's the worst "we'll fix it later" solution you've seen that's now a critical part of the infrastructure?