Reddit DevOps
269 subscribers
2 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Next to all the technical and dev/ops topics - what concepts or fields should you learn about to earn advantages and new chances in your career?

A question to everyone who doesn't want to stay the engineer guy forever or already reached past this point:

What are the concepts you learned about that impacted your growth the most and let you stand out?

I'm talking about ideas, books or whole fields of study that changed how you impact the success of the company you work for.

https://redd.it/10p2cqf
@r_devops
Best practice for server management (a better way for my method?)

I'm rebuilding an old task scheduling system.
My current plan is to have a main server ssh to a few hundred machines (mostly ec2s),
run a command on the server and come back later to pick up the result/logs/status.

Other than using bash at the low level, and maybe managing a queue of my own, any idea for better implementation?

First it will be used to gather system information, once stable we might be running our backups from it. (maybe managing a machines local cron and doing local checkups to collect the status/logs).

https://redd.it/10pelam
@r_devops
Completely checked out of new role (4 months in)

Would it be seen as a red flag if I started interviewing at other places already. For context, I have 5 years of SRE/DevOps experience. I started this new role mainly because of the compensation package offered and the tech stack. Fast forward 4 months I am starting to regret that decision.

The company itself is highly segmented due to the fact that they are acquiring other smaller companies and there are only 2 DevOps engineers tasked with this transition. With each new acquisition, I have to work with the CTO of that acquired organization to fix all of the siloed messes that have been created beforehand. One example is being tasked to secure a bunch of storage accounts that have public access enabled. You would think that you can just enable the “Only from selected VNEts” feature and call it a day but no, each storage account is tied to a numerous of production services and blobfuse mounts and there are over 100s of them so pinpointing this is a huge time waster. In addition to this, They have 3 SQL pools with over 500 SQL databases inside of each pool and I am tasked with creating smaller pools out of these. Again all this just for one of these “acquisitions” there are 3 other ones and more on the way. The CTO at the aforementioned place is also a know it all that is very hands on and often tends to dismiss your suggestions in lieu of his.

Any advise from any senior on here or someone with general advise would be highly appreciated.

https://redd.it/10pdz39
@r_devops
Creating a placeholder dummy cloud watch alarm?

I mean sure we can create some alarm with thresholds to make sure it never triggers but I was wondering if there is some easier way to signal the alarm is a placeholder alarm or some convention people follow? How would you do it if you had to create a fake placeholder alarm?

https://redd.it/10pdm1l
@r_devops
Centralized Alerting System

What is the recommended approach for efficient alert management?

Considering the current scenario of having multiple disparate alert sources (e.g CloudWatch, Robusta, Logzio) with varying structures? It becomes challenging to determine the required fields and monitor the open alerts, thus seeking a central solution to consolidate all alerts.

​

Can you share some of your experience please?

https://redd.it/10p1287
@r_devops
DevOps career

Hello all,

I have been in the IT industry for the past 8 years and I started from the bottom as a QA, learn to code and got a Developer role, got into Could technology and now i am contemplating DevOps. I have a done multiple projects with tools like Ansible, Terraform, and I am interested in the idea of CI/CD. My concern is, what is the career path of a DevOps? What’s after DevOps?

Let me know your thoughts.

https://redd.it/10pjpvy
@r_devops
Docker Question

Can anyone please answer the following question related to docker.
Two dockers are running on two sperate hosts. Hosts not able to ping or communicate to each other. Can docker ping or communicate each other without changing hosts network configurations and how?

https://redd.it/10ozgu1
@r_devops
Manually run cloud-init user data on bare-metal



We have a cloud-config made for virtual servers and we want to remove the virtualization layer and have the same setup on bare metal server. Is it possible to manually run that cloud-init user data script on the bare metal servers, after the server setup ? (OS install - Centos 7)

I have read about nocloud datasource for cloud-init and configuring os setup to fetch cloud-init data from an usb drive but for me it's not possible, I must find a solution to run run my user data via cloud-init manually after OS was installed

https://redd.it/10ou73c
@r_devops
Senior Devops to Staff Devops

I have been working as a Senior Devops Engineer and have a total experience of 7 years.
I am about to move to a new organization where I'm offered the role of Staff Engineer Devops.
How should I transition from my current role to new role smoothly?

https://redd.it/10ou6rm
@r_devops
Is freelancing better than full time jobs ?

Hello I am software engineer student with experience working as a serverless engineer, i just got my aws developer associate certificate and I started working as a DevOps Engineer , also started getting jobs on upwork
Now my question is, should I pursue my career as a freelancer or focus on my official job

https://redd.it/10omqsy
@r_devops
Learning Jenkins, is it still good?

I recently started learning Jenkins. I set up a Jenkins multi branch pipeline for a React project that installs npm dependencies, runs tests, builds, and then builds the static site it to a docker image and uploads to my registry. Overall, this process was a bit of a pain in the ass because the Groovy language is odd and testing takes like 4-5 minutes each time. For instance, I had troubles with the last step and I could only test it by going through the previous ones which took at least 4 minutes each time. I also had issues with the specifying the agent, where if I wanted the last step to not run in a docker container I had to move the agent declaration to the each of the previous 3 stages instead of keeping it as the default agent of the pipeline. I have not yet been able to figure out how leave it as the default and to just specify for certain stages to not use that agent.

So I am wondering, am I alone in finding Jenkins a little bit annoying? Should I continue learning it? Should I learn a different tool for CI/CD?

https://redd.it/10ofizp
@r_devops
Lambda to ECS

Hi! I'm building a web-application for doing file operations like converting formats or optimizing file size. I'm running this on Lambda functions and it works properly, but I know Lambda's not the most suitable architecture for converting a 20 min video from .MOV to .MP4 because it takes too long and if I get some traffic the costs can go high.

I'm thinking about migrating some of these "heavy" processes to ECS, and the architecture I have in mind would be something like this:

Current architecture: Our API backend receives the conversion request, calls, and waits for a lambda function until the conversion is finished.

New architecture planning: Our API backend receives the conversion request, creates an SQS message that spins up an ECS task for doing the actual conversion, and of course all of this would be asynchronous

​

Do you think it's the correct decision? Would you suggest another approach?

https://redd.it/10oaz40
@r_devops
How Does an Open-Source Workflow Engine Support an Enterprise-Level Serverless Architecture?

https://kubevela.io/blog

https://redd.it/10pskxl
@r_devops
Using ssh keys with ansible drone plugin

Hey there

I'm trying to switch to drone. I'm stuck in a situation where I need to use ansible drone plugin with my ssh key which is stored in secrets and passing the secret to plugin. It doesn't work.

Can anyone help me to figure out.

https://redd.it/10nygtl
@r_devops
Is it possible to have a reverse proxy for my setup with NGINX?

Hi, I'm currently working on a fullstack webapp, where I have two dockerized images:

A frontend in ReactJS that runs on port 3000 and is mapped to 80 on my digitalocean droplet

A backend in Node.js that uses Express to have REST apis (like /getinfo/:user or /postuser/:name) running on port 3001

Everything was working well when I just ran both of these images simultaneously on a droplet when it just had HTTP. Recently, I have added CloudFlare to my website which comes along with HTTPS, however, it seems Express doesn't really seem to work well with HTTPS (as I've tried with a seemingly endless number of solutions), and the preferred method is to have an NGINX server that acts as a reverse proxy to handle these requests as HTTP so that the Express server can handle them without me needing to modify the code.

The problem is, I have no idea how to do this, nor where to start. I've been searching the web for about 8 hours today trying to find a solution, trying several things, and none seem to work. Is there any way I can be pointed in a direction that could help me? It's been very frustrating basically being 'done' with everything except this last issue.

https://redd.it/10nt7wi
@r_devops
DevOps Learning

I’m a support manager with 14 years of work experience in Linux/MySQL support. I’m interested in learning about CICD/ Docker, other DevOps tools however I feel overwhelmed after learning one tool. I just finished a course on Git and have started learning Docker. Please help me with the order in which I should learn other DevOps tools and which ones. Thanks !

https://redd.it/10pwg7x
@r_devops
Revert merge changes on feature branch in Jenkins pipeline if build fails

Edit: my feature branch is connected to a website and I’m running selenium on it so I kinda have to push in the beginning when I merge the feature branch.


My Jenkins is set up so if someone makes a pull request to the main branch a Jenkins build is triggered with three steps
1: merge pr branch to feature branch
2: run tests on feature branch
3: merge main branch with feature branch and close PR

If steps 2 and 3 fail or have any error but step 1 passes I want the feature branch to be reverted.

I have an I’d statement to revert but idk if it’s right:

Failure{
Script{
If(currentBuild.result=="Failure" && (currentBuild.currentStage.name== "step2"|| currentBuild.currentStage.name== "step3")){


code to unmerge



Thanks so much.

https://redd.it/10pvshe
@r_devops
Different content but static URL

We want to have the internal report private. After every (main branch) pipeline run, we want the static URL to have the content updated with the new updated report. Is it possible to do this? I can use AWS or azure

https://redd.it/10pwri9
@r_devops
What are the problems that people are facing right now with different cloud providers?

I am building something in DevOps and I am reaching out to other users about the struggles they face while deploying their applications on several cloud providers like Digital Ocean, AWS, etc. What are the problems they want to be solved? Is it the dashboard UI/UX, pricing model, or the environment?

https://redd.it/10q0b5i
@r_devops
WireMock is an API platform that is designed to improve developer productivity and enables developers and testers to Mock APIs in every stage of the API lifecycle

Hey all! I'm part of the team that developed WireMock, an API platform to improve developer productivity. WireMock enables developers and testers to Mock APIs in every stage of the API lifecycle - allowing teams to reduce dependency on 3rd party APIs and develop much faster. WireMock is open source software and WireMock Cloud is built on top of it.

Some of the features:

Mock in minutes

It’s quick and easy to mock any API you depend on. Use the UI to create a mock manually, record an existing API to create a stub, or import an OpenAPI spec.

Request matching that gives you maximum flexibility to implement your business logic

WireMock Cloud enables users to define request matching by post body, request match methods, URL matching methods, headers, query parameters and cookies. In addition, users can set request match priority for cases in which there is more than one mock mapping in the list that would match a given request.

Dynamic responses with advanced templating

WireMock Cloud enables easy dynamic response creation via request variables as well as advanced response manipulation.

See how your code responds to unpredictable API behavior (chaos engineering)

Calls over a network to an API can be delayed for many reasons, such as network congestion or excessive server load. For applications to be resilient they must be designed to cope with this inevitable variability, and tested to ensure they behave as expected when conditions aren’t optimal.

WireMock stubs can be served with a fixed or random delay, or can be “dribbled” back in chunks over a defined time period.

Let me know if you have some question or suggestions on how to improve.

https://redd.it/10q1pl8
@r_devops
Has anyone used env0?

My team lead is heavily touting it for use as Terraform automation in our pipelines. I have a terrible bias against this sort of SaaS solution. It has some very nifty looking features. But to the cynic in me it looks rather gimmicky, style over substance and something that might be used by a large company that lacks the staff needed to build their own solutions. There are some nice concepts it uses but I can’t see anything it offers that I’d be afraid of building ourselves, with the help of some open-source tooling

Anyone know much about this tool that might confirm or refute my feelings about it?

https://redd.it/10pzpku
@r_devops