Reddit DevOps
270 subscribers
6 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
What would you use to configure VMs?

I'm starting to get more into infrastructure management, and I'm very familiar with Docker and Kubernetes and using tools like Helm & Kustomize to install things on my cluster and Terraform to provision my cluster (on GKE).


I want to start looking at doing more things on VM instances - how would you go about installing and configuring the VM runtime? For example, making sure certain binaries, packages, or languages are installed on every VM? Is this where things like Ansible, Chef, and Puppet come into play?

https://redd.it/ppeglu
@r_devops
Cloud Platform(s) Management

I have been a cloud platform user & admin for some time now. I am familiar with some major cloud platforms that offer Infrastructure as a service such as AWS & Azure. I have noticed that many of these platforms are really lacking when it comes to their administration, identity & user management. Every time when it comes to onboarding new users or updating user permissions or creating new roles in the systems it gets really complicated, cumbersome & repetitive.

​

Moreover, this becomes more & more complicated when a System Admin such as myself has to deal with multiple different cloud platforms with a small team. There are both similar things to do in each platform yet some platform specific things in regards to IAM, resource monitoring, reporting etc.

​

To the fellow Cloud Admins or System Admins out there do you use any such tools where you can control/manage all the major Cloud Platform like AWS, Azure & GCP centrally & automate some of the steps?

https://redd.it/ppguxo
@r_devops
Learning Path + Lab Building for a Beginner

Hey everyone,

this is my first reddit post, after reading for a couple of years - so please have mercy ;-)

My professional background is 10-15 years of experience in enterprise datacenter infrastructures, in the fields of Engineering/Implementing/Administering/Migration/Monitoring of Windows Server, System Center Suite, Exchange, ADFS, Virtualization, File-Systems, as well as little experience IT-Project Management and team-leadership. Three years ago I changed my position to a Cloud Engineer, working with Microsoft 365, Intune and Azure. Once I was part of a project with a DevOps approach and during that time I became a better understanding of the technology and the way of work, which excited me a lot till this day. Unfortunately due to customer demands, my projects shifted from Azure to 90% Microsoft 365, which does not really excite me anymore. It appears to be that my company doesn´t have a lot of Azure (DevOps) Projects in the pipeline.

So it seems like I won´t get any to little DevOps exposure anytime soon. Already being in a senior position, working only for max 35hrs/week and the need of feeding the family makes it hard to apply for entry positions. Therefore, I made the decision to create a learning path by my own, to refresh some knowledge, close some gaps, educate myself about products and methodology and to make myself more attractive to the market.

I would like to share with you my estimated learning path and would be very interested of your feedback. During a Udemy Sale, I acquired several videos regarding DevOps tools. I would like to build several projects according to the learning path, to build up on the stuff I learned.

I am aware of the most common websites, articles and books, nevertheless If someone has a really nice hint, I would be very thankful.

Learning Path 2021 / 2022

Learning Path 2022

I am aware that I might struggle with some parts and I need more time to learn for a topic - then so be it. I would like to know if this is somehow realistic and a "good path"? The ice tip on the cake would be some ideas for projects, building up according the acquired knowledge.

I am looking forward for your input and much regards.

https://redd.it/ppatqh
@r_devops
Statusgator dashboard

Hi.

Anybody here using Statusgator to monitor service status of websites? I was wondering if there is a way to remove the "Powered by StatusGator" footer.

Thanks.

https://redd.it/ppc3oa
@r_devops
Open-source or Hosted tool for servers monitoring

I made this web application for simply monitoring servers status at a glance. It uses Spring Boot, MongoDB and acquires the data from a shell script that runs on the crontab. Check it out for self-hosting or using the cloud version at https://sssm.app. You can also contribute to the GitHub at https://github.com/fbocolowski/sssm.

Screenshot: https://i.imgur.com/y6qKPhl.png

https://redd.it/ppl35n
@r_devops
Zero to Devops (is it possible?)

Hi everyone! I recently visited my friend who’s a devops engineer in Dallas. I was really interested in what he does. I’m a math teacher with a masters in mathematics education. He recently sent me a list of everything I should learn to become a devops engineer.

However, I did not speak to him about how one can become a devops engineer. What I mean by that is, there’s no such thing as a junior devops role. There’s no schooling or many boot camps that teach you to get into sysadmin and then devops. I know it’s a lot to learn, but Im pretty good at teaching myself.

Realistically, what path should a person interested in devops take.

I have zero experience in programming, cloud services (aws, azure, etc.)

I know it’s a very complicated career path and I would be switching careers at 31 years old and I hope no one tells me it’s impossible or there really isn’t a route. I feel like most of the posts I see are for people that have some experience.

Hopefully someone can shed some light for me on this topic.

https://redd.it/ppkdys
@r_devops
Flutter android apk build issues. Help?

Hey guys, having an issue with my flutter build (first time working with it!). When I have the whole application open (android folder, ios folder, build, etc) the build goes fine and runs on the emulator. Now however, I'm trying to export an android apk for release, so I open the android folder alone in android studio and have all sorts of errors.

\-Gradle sync failed

\-Stuck on "loading devices"

\-Built apk fails to install on device

​

Help please :(

https://redd.it/ppnhrb
@r_devops
Change compression type for backend in Nginx

Hello yall,

I have a next deployment:

a web application, that gives HTTP responses with gzip compression
nginx, that works as a reverse proxy for the app

Is it possible to make something like this - nginx decompresses backend responses and does it again with using Brotli?

https://redd.it/ppnovk
@r_devops
What's your resume pipeline ?

Yes I know, the title is kinda clickbait.

I'd like to stop using WYSIWYG editors to write my resume(s), so the only way I found is resume as code 😉

I thought of Latex which I never used, and I also found https://jsonresume.org interesting, and it's easily pipelinable (sic).


What do you use ?


Bonus: if I can generate my resume in English & French format at once, it would be awesome.

https://redd.it/ppncfq
@r_devops
What are the qualities of a Staff Devops Engineer above a Senior Devops Engineer?

My boss is all over the place but for the purposes of this discussion I'm going to focus on a couple key concepts:

To me, being a Staff Devops Engineer says I get to overrule my boss on technical implementations and am the point contact for how things should be done. How it works, etc should be up to me so long as key goals are fulfilled.

My boss hired me with conflicting ideas about this and I'm about ready to quit. I can't say "no, this won't work" about a particular tool (custom Allure panels) even tho he wants me to tell the team why his solution will work, despite his unbased/unresearched opinions.

I've had it and have suggested to my on-paper boss about a lateral promotion from Senior to Staff and am wondering why I should be a Staff DevOps Engineer besides the obvious... in my mind at least.

Thank you for your help.

https://redd.it/ppmv63
@r_devops
Network Security Engineer to devops

Hi,

I'm currently working as a TAC Engineer and having 4 year's TAC security experience most in palo alto and fron few months in cisco. I want to move into devops.

I need guidance and support to do that and if someone followed this path before me then I want to discuss with you to do the same like you.

https://redd.it/ppcnie
@r_devops
How do you prevent certain hardcoded strings from entering production?

Earlier today we woke to production issues with a silly mistake left in the code. Hardcoded testing variables i.e. '123456.dev.com' was left in the code in a recent deployment after a round of patches. This was checked into production causing all hosted websites to break for end-users.

Is there a way to prevent such silly debug info from entering production through an automated system? I've looked into Snyk and Sonarcloud but have not found any way to do this easily. I am hoping that we could be able to have a blacklist to scan our codes for specific words to trigger pipeline failure at each deployment. Really hoping there's a way around this. Thanks for any advice.

https://redd.it/pp97t9
@r_devops
I spent a few years learning Containers and here is my recipe for grasping the domain

Docker and alike tools became ubiquitous nowadays. Almost every developer can find a good application for containers. I started using containers in ~2015, and at first wasn’t really paying much attention to the details. However, this technology and its widespread use has been charming me ever since. There was plenty of high-level tutorials out there, but rarely I could find in-depth explanations of why and how exactly. In 2019 I started actively blogging about containers focusing on the internals of the technology. Over time, I came up with a certain order of explaining things that, in my opinion, eases the learning. Recently, I shared it on Twitter, and the thread gathered really positive feedback. So, I decided to share it with the wider audience of fellow dev and ops people. Hope someone here could find it useful as well.

https://redd.it/ppw2nb
@r_devops
How do you deploy to the test environment?

This might be a silly questions, but I need a little help.

So I have a test server (in aws) which I need to connect using Jump-host.

I have all the config file for deployment. But I am not able to clone the repo from my test env.

Could you please tell me what should be my approach?
Thank you!

https://redd.it/ppweon
@r_devops
Some Cross-chain Bridges

1. Rainbow Bridge

Supported: Ethereum, Near, Aurora.dev

Link: https://ethereum.bridgetonear.org/


2) Hop Protocol

Supported: Ethereum, Polygon, XDai, Optimism, Arbitrum

Link: https://app.hop.exchange/

3) Xpollinate

Supported: BSC, Polygon, XDai, Fantom

Link: https://xpollinate.io/

4) Celer Bridge

Supported: Ethereum, BSC, Polygon, Arbitrum, XDai, Fantom, Avalanche, Optimism, OkexChain, Heco

Link: https://cbridge.celer.network/

5) AllBridge

Supported: Ethereum, BSC, Avalanche, Heco, Polygon, Solana

Link: https://app.allbridge.io/bridge

If you know more, do comment!!!

https://redd.it/ppy6mt
@r_devops
New to gpu devops - how to dev/test?

Hello. I have been doing journeyman devops for long time, but it was all either service based stuff, or simple app development/deployment stuff. Classic tool chains like Vagrant, terraform, docker, virtualbox, google actions, circleCI, fastlane, etc.

I have a client that wants us to build and deploy VR applications onto their VSphere stack, using CloudXR and GPUs to provide services for clients in an experiment. This will eventually scale very wide, again for experimentation.

The challenging thing that I can't unravel is how to dev/test that locally before I have to touch their big iron. We are, of course, all remote, and the big iron is still in development, and we don't have the resources to have two instances to play with simultaneously. And, in the future, the big iron will be air-gapped.

How can I emulate this in my home office (remote worker) using desktop computers, to test my build and deploy before I push to "production"? What tools would be best to use in this case?

So, if anyone has a hint, a white paper, a google term, a youtube video that would help accelerate my learning process and make this more efficient, I would appreciate it. Avoiding costly licenses of VMWare would be a plus.

https://redd.it/pq3f50
@r_devops
Making a good first impression in my first DevOps interview?

I'm new to Computer Science and primarily a Software Engineer. I recently got an interview for an entry-level DevOps position, and I'm curious what people think is important information to study up on before my interview in about a week.

https://redd.it/pq3nfu
@r_devops
What are some commands you can use to see what's causing a slow down on a server?

iotop
top
SHOW FULL PROCESSLIST

I am running these, but I am not sure how to be 100% sure what's causing the issue. I did top and saw that idle time was low and I/O wait was high and CPU user time was high, I think the culprit is a rsync process, but the top process always shows me that the mysqld process is the process that uses the most CPU. So I am not sure how to check, I tried SHOW FULL PROCESSLIST, but it doesn't show me anything particularly strange, and doesn't tell me that there's a rsync, at least I don't see any SQL query, maybe I missed it meaning it was already gone by the time I ran it. There's a lot of sleeping processes. 603 and only 2 not sleeping. The % the mysqld process uses is 695% in terms of CPU, and the other processes below it are using roughly between 20% to 10% and they're php-fpm, redis and php processes. So how do I know if I should upgrade or not? I think we need to upgrade, but I am not sure how to check the exact reason why.

https://redd.it/pq658v
@r_devops
Best devops interview question, choose one?

1. How is your pipe game?
2. How is your pipe game?
3. How is your pipe game?
4. How is your pipe game?
5. How is your pipe game?

https://redd.it/pqa5di
@r_devops
How would you deploy this build? Next.js, Redis, Express API, PostgreSQL on AWS?

I have been getting into devops for the past weeks and not sure if I am overengineering and need guidance on my pipeline order of operations.

Background: I am a one-man dev that wants automate as much as possible while having a build that can handle some sort of scale and don't want to be scrambling if my app gets more users. I plan on going with AWS mostly. I am building my own SaSS. Want to be Cloud Agnostic for the most part.

The Tech Stack:

1. Users access Next.js frontend
2. Next.js backend (Koa.js) connects to Elasticache (Redis) for session storage, Public Subnet
3. Backend Express.js GraphQL API connects to RDS (PostgreSQL), Private Subnet

My Pipeline (My Order of Operations may be wrong):

1. Terraform and source code push to feature branch
2. Pull Request to Master Branch
3. Github Actions detects pull to Master and builds Docker Images and pushes to AWS ECR (Elastic Container Registry) Choosing over Docker Hub because my images aren't that large so AWS ECR is better.
4. AWS EKS (Elastic Kubernetes Service)
5. Worker Nodes will be Fargate
6. Frontend (Next.js) will have LoadBalancer Service
7. Backend (Express.js) GraphQL API will be ClusterIP Service for only internal Cluster communication.
8. I don't plan on having Elasticache (Redis) or RDS (PostgreSQL) as part of K8s Pods

I guess I am unclear at what part Terraform manifest file gets executed. I feel like I have no choice to use a container orchestration tool because how else will I know about my container's health. Like if I just use Docker as a standalone, I won't have any insights. But I hear that K8s is overkill for my application type since it really is just mainly is a frontend and backend API.

Still on initial stages of research, for Logging and Monitoring.

Logging:

1. FluentBit = EKS Worker Node (Fargate) Logging Agent
2. Logging Backend? Haven't decided yet...

Since EKS Control Plan is managed, I am assuming I do not need to do logging for that.

Monitoring:

1. Prometheus
2. Possibly use Grafana with Prometheus

I feel as if a lot of this is mandatory, I mean going EKS without logging and monitoring seems like a bad idea. But then again, I am new to this whole devops thing.

https://redd.it/pqc4ok
@r_devops
Which of the following is more important for DevOps?

There is a constant tug of ware between enabling developer velocity, risk reduction and cost reduction.

View Poll

https://redd.it/pqemfc
@r_devops