Reddit DevOps
271 subscribers
11 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Terminal Interface for Hashicorp Vault

Hi everyone!
Just wanted to share a tui app, I've been working on for a while.
It's inspired by other popular ones like k9s/wander etc, to give you a nice interface while never leaving your terminal for your work with Vault.
Repo: https://github.com/dkyanakiev/vaul7y


Hopefully this brings more people to it so they can give it a spin and share any feedback and/or bug to report!


​

https://redd.it/1cg5tgc
@r_devops
What would you say if your Boss suddenly says you are responsible for some legacy python2 app that is the core of the platform and have to move it to python3 together with multiple Other improvements to the code base (as a devops)

Just curious if something like this happened to you and how did you react / proceeded.

Also curious how many of devopses suddenly become responsible for parts of the core products (maintenance/development)?

Edit. This is not a small app, its hundreds of thousends of lines in frameworks that are not maintained in over 5 years, written over few years.

https://redd.it/1cg9jrb
@r_devops
SIEM OVERAGES

👉I’m looking for IT and #DevOps pros who are struggling with their Splunk spend and interested in reducing those overages!(with or without replacing their SIEM) 💭Let’s connect for 30 minutes! You’ll learn about the latest in observability tooling and use cases!!! In exchange for 30 minutes of your time you’ll also be fed🔥🔥🔥 Let’s do this!!! Your sharing of this post will be equally appreciated 😇

https://redd.it/1cggiaa
@r_devops
User monitoring

What tools or software do y’all use to monitor user behavior. Things like what buttons a user clicks on, how long they stay on pages, and other data used to analyze user experience.

https://redd.it/1cghqfm
@r_devops
An "all-in-one" cli tool vs separate tools

We currently have a repository with a hundred different scripts and binaries all written in different languages that people took on as side projects to automate parts of our job.

There is an incentive to move all of these tools into a single Golang CLI application, but there are some drawbacks. We currently don't have any quality control or ownership of these tools whatsoever, so we need to figure out some sort of process for this. Besides, none of the team members have a development background, so it's been pretty wild what you see in the code of the current tools.

Would love to hear some thoughts on whether this would be a good/bad idea and what to look out for.

https://redd.it/1cghg2e
@r_devops
An article citing important S3 bucket pricing "vulnerability": How an empty S3 bucket can make your AWS bill explode

Thought it was important to disseminate the lessons in this blog post:

S3 charges you for unauthorized incoming requests
Anyone who knows the name of any of your S3 buckets can ramp up your AWS bill as they like.
Adding a random suffix to your bucket names can enhance security.
When executing a lot of requests to S3, make sure to explicitly specify the AWS region.

Read more here: https://medium.com/@maciej.pocwierz/how-an-empty-s3-bucket-can-make-your-aws-bill-explode-934a383cb8b1

https://redd.it/1cgklx9
@r_devops
Learning AWS

What is the best way to learn how to use AWS without paying to much money?
Note: I have previous experience in using MS Azure products.

https://redd.it/1cgld0o
@r_devops
Automate investigations for common issues

Hi everyone, I've developed an open source framework, Playbooks, to standardize the investigation process for on-call issues. Drawing from my experience as a service owner of critical services, I created Playbooks to consolidate and automate the expertise of senior engineers. This framework allows you to define steps in a playbook that automatically executes upon receiving a related alert, and then delivers a summary of the findings. It's designed to expedite issue resolution and reduce on-call escalations.
Check it out and contribute here: Playbooks on GitHub. https://github.com/DrDroidLab/playbooks
If you frequently handle on-call duties, I'd appreciate your thoughts on how this could help streamline your workflows and make incident management more efficient.

https://redd.it/1cglqro
@r_devops
Python or Golang for Long term?

I have 3 years of overall experience in Software and IT Engineering.

For automation, I have used Shell Scripting so far. But Now I want to learn a new language for Automation tasks and Software Development too.

The project I'm working on uses Golang extensively but the leads have given me free hand to explore any language I want.

My Initial thoughts were to learn Python, keeping in mind future career aspects, but Golang is used in my Project. Since I have planned to stay here for next 2 years, I'm confused which language to choose at this point of time.

Your opinions/suggestions/advices are most welcome!

https://redd.it/1cgm5fl
@r_devops
A list of Free DevOps Courses from Coursera.

Learn Docker, Kubernetes and Azure DevOps from Free Courses on Coursera. Here are 7 free courses from Coursera which you can take for free without any Certificate. **Main Article**

https://redd.it/1cgs7u1
@r_devops
Moving away from docker, old school setup ideas?...

We have this server (VPS) running docker and deploying via docker and it's been a game of babysitting docker since the origin of time; mysterious crashes that only occur inside of docker, segmentation faults inside JavaScript code only on docker, it's slow, network configuration is a nightmare, and the list adds up.

Finally I am fed up with it and I am thinking of moving away from it, the system works via clusters (each cluster is a VPS), and three main databases.

The databases were taken away from docker after they had terrible performance and mysterious crashes; so they are now dedicated and have been working fine ever since.

But now the cluster is to be moved away, the cluster is just composed of a nginx balancer/SSL, a redis cache, and a bunch of self spawning NodeJS services; the nginx server load balances; the NodeJS services can crash, for example due to bad code or some sort of serious error or oversight, they log what happened, sending a warning over the databases, before committing seppuku.

And a new instance replaces it, on the same port.

Multiple clusters can work at the same time, independently of each other, they are technically copies other than the master cluster.

The cluster is the part that needs consistent redeployment, over different machines in different geographical regions; one may be in a dataserver, other may be on a potato for a machine somewhere in Africa; you ssh in the machine, stop the cluster, rsync the new system, start the cluster; but clearly something must watch all the processes, something must determine the scale, something must install and setup the dependencies (nginx, node and redis).

I could write a bash script by hand to do all this, make style (like a makefile), or maybe there's something better I am ignoring.

https://redd.it/1cgtw97
@r_devops
👍1
Open Source Datadog Guide

We published an open source guide to help customers make sense of datadog. It's meant as a reference for engineers and organizations that want to make the most of their datadog usage and avoid serious gotchas that could result in significant higher costs or effort. It's still early days and the guide is far from comprehensive - please help by contributing 🙏

https://github.com/nimbushq/og-datadog

https://redd.it/1cgv55f
@r_devops
OpenTofu 1.7.0 is out with State Encryption, Dynamic Provider-defined Functions

Hey there, technical lead of the OpenTofu project here!
We’re proud to announce that OpenTofu 1.7.0 is now officially out!
It includes State Encryption, Provider-defined Functions, Declarative removed blocks, loopable import blocks, and much more!
You can find the launch post here, as well as the release itself here.
Looking forward to hearing what you think!

https://redd.it/1cgwgec
@r_devops
How do you get your mojo back after burnout?

A few years ago I burnt myself out, like really burt out. I spiraled for a bit, had a leave of absence but eventually got my feet back under me.

I'm now trying to get back in my groove but I can't find it for the life of me. I've tried a few different positions at different companies but no matter what the work is I just can't do more then the bare minimum. I admit part of my spiral was due to the lack of recognition for the work that put me into it. I think this plays a big role in this but I just can't get my mojo back.

https://redd.it/1cgw05j
@r_devops
Developer experience session with Confluent's platform team

We are hosting a Zoom session with Confluent to talk about their internal pluggable service runtimes - language-specific, plugin-based component frameworks with the most common components that teams need included out-of-the-box.


About the guest:
Cody is an OG at Confluent currently managing the Platform Engineering Team (Service Foundations team). https://www.linkedin.com/in/codyaray/


When: Friday May 3rd, 2024 at 11am PDT | 2pm EDT
RSVP: https://forms.gle/Td1xzX8iFXTbdmAq9

https://redd.it/1cgyq8k
@r_devops
Looking for something like Prometheus but for development debugging rather than monitoring

Finally got around to playing with Prometheus+Grafana. Both excellent tools. I'm building Prometheus metrics into a Golang service I'm developing. I find the Go runtime data it exposes to be very useful. However, I find myself trying to shoehorn the charts into a debugging role, for example if I think I have a memory leak I find myself checking my Grafana charts for clues.

This isn't very effective because Prometheus only updates every 15+ seconds so my iterations are slow. What I really need is immediate data. I'm going to try cranking up the Prometheus polling rate, but I figured I should also check and see if there are any tools that are more designed for this sort of thing that I should be looking into.

https://redd.it/1cguilz
@r_devops
.NET Shop, Tools for Performance Analysis

Hello everyone,

I'm fairly new to performance in general, but I see tons of resources on performance analyzing via perf tools in linux like from Brendan Gregg.

In a dotnet shop, how would I go utilizing tools that are equivalent to this for gathering performance related data that can help me debug performance bottlenecks?

I was thinking either gaining access to the actual server and running CLI commands that .NET already has or running a container in linux that has the APIs hosted there, but I assume that wouldn't be accurate performance analysis due to the varying environment differences.

I've been learning how to utilize perfview/WPA and just using the stack trace that is gathered on Application Insight.

Some tools we use for monitoring/logging are:

\- Azure/Application Insight

\- Splunk

I'm quite lost on which direction to go, but if anyone can help. Thank you!

https://redd.it/1cgz8o8
@r_devops
How are SaaS Companies typically hosted

Hey,


I currently host my SaaS as an Azure App service for the backend and Azure Static Web Apps for the frontend, if anyone else here is on Azure, how do you host your frontend & backend? The issue is switching to NextJS so site will no longer be static and will require SSR with the frontend.

Best,


NoWeakness

https://redd.it/1ch46qs
@r_devops
Where to go after DevOps?

I have been in technology long enough to have experienced the early days of the traditional sysadmins with in house servers, networking, then DevOps, SRE and most recently platform engineering, understanding they are not exactly the same thing. This path brought me a lot of knowledge and professional satisfaction to a certain degree, however, I think I am in a pivotal point where i don't know what makes sense for me to be the next step.

I would like to capture some impressions from people who had transit a similar path, what was next for you?

https://redd.it/1ch4twx
@r_devops
Deploying uWSGI without NGINX (or webservers)

I am currently designing a deployment for a financial app managing 100k pay points.

Options are below
haproxy (load balancer) => nginx/uwsgi/django
or
nginx (load balancer) => uwsgi/django
or
haproxy (load balancer) => uwsgi/django

To reduce latency, I am leaning towards the last option which is removing NGINX and making uWSGI to ask as the reverse proxy as well as the wsgi.

What are the cons, or issues with the option?

https://redd.it/1ch8b79
@r_devops