Reddit DevOps
270 subscribers
9 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
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
Terraform and Ansible were already Terrible in 2016

"Provison servers, configure servers. IBM might be on to something..."

https://www.tibobeijen.nl/2024/04/30/terrible-and-ansible-were-already-terrible-in-2016/

Blogged a bit about the lifecycle of an in-house tool, as much as it is about DevOps culture within a large(-ish) organization. I hope it makes for an entertaining read!


https://redd.it/1chder2
@r_devops
ACloudGuru Discount Codes anyone?

Anyone got a working (May 2024) discount code for Cloud Guru membership? If you don't ask... etc.


I have found 50OFF but the Pluralsight redeem page is having none of it.

https://redd.it/1chijbq
@r_devops
How much should I ask for to move be on-call?

Hope this isn't too much of a 'career' question for this sub, let me know and I'l delete:

I'm working on salary at a small shop, just me and one SRE on incident response, and to close a large new client they're asking that we have an on-call policy. Previously it was pretty casual, now I'm being asked to cover half the calendar. We generally have less than one incident per week, but there were queueing issues late last year where there were incidents every day.

My manager, who is great, asked me to pick a number for compensation for on-call and I really don't know what to ask for. I like this job so I'm not going to quit or threaten to quit over this, just want some advice.

US salaried employee, making industry median if that's helpful.

https://redd.it/1chjqtr
@r_devops
should i learn linux or centOS?

which should i learn linux or centOS for devops? is centos better than linux?

https://redd.it/1chkwyv
@r_devops
Mac in cloud replacement

Hi everyone, we are currently using mac in cloud services in order to run a dedicated mac server, as we have crucial software that is available only on IOS.

We have multiple users login via VNC in order to work simultaneously, and currently we are experiencing some issues with mac in cloud.

I am looking for a new mac server cloud provider, and looking for recommendations.

I saw macstadium and macweb, anyone have any previous experience with them?


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