Reddit DevOps
270 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
How do job titles influence you when job hunting?

I am currently a Senior DevOps Engineer, but looking at other jobs in the DevOps/SRE space and came across a couple of jobs with titles of "Operations Engineer" or "Infrastructure Engineer".

So, I am curious what the community's thoughts are on job titles in the ops/sre/infra space and how much influence it has on your decision to go for/reject a job opportunity.

I guess for those who are in hiring positions as well - a follow on question might be how does it impact you when sifting/interviewing for a role when they have a job title that some would consider more old-fashioned?

(Please don't bring up the DevOps is not a job title its a culture point, that's been debated to death I am more curious around the other job titles floating around - thanks :))

https://redd.it/zpp2g4
@r_devops
How do you set up your local terminal / any special tools I can add to my stack?

In my quest to perfect my local set up, I made a video describing it from scratch (https://youtu.be/YDLxnHQG-LY) but here's a TL;DR (some tools are just examples, and obviously I couldn't mention every CLI on my system, BUT -> did I miss anything major? Something that's worth adding?


iTerm2: https://github.com/gnachman/iTerm2
Alacritty: https://github.com/alacritty/alacritty
Warp: warp.dev
Kitty: https://github.com/kovidgoyal/kitty
Tmux: https://github.com/tmux/tmux
Oh-My-Zsh: https://github.com/ohmyzsh/ohmyzsh
Powerlevel10k: https://github.com/romkatv/powerlevel10k
FZF: https://github.com/junegunn/fzf
Z: https://github.com/rupa/z
Ranger: https://github.com/ranger/ranger
EXA:
https://github.com/ogham/exa
XH: https://github.com/ducaale/xh
Bat: https://github.com/sharkdp/bat
RipGrep: https://github.com/BurntSushi/ripgrep
The Silver Searcher: https://github.com/ggreer/the\_silver\_...


I'm a Neovim fan but didn't think it's part of the terminal (an IDE after all) but just in case someone mentions it...

https://redd.it/zps278
@r_devops
Devops engineers who use windows, how?

So I have been asked to switch from Linux to Windows for a month or two so I can get a good idea on how to train people up to use our stack (node, git, docker, kubernetes, ansible, AWS etc) on Windows. The problem isI haven't touched windows on a workstation in over 4 years, and that was back in my windows based sysadmin role. I have never done devopsy stuff in Windows.

I've been given some loss-od-productivity leeway, I think that time has been underestimated somewhat, but in any case I want to be able to get up to speed asap.

My first thought is just do everything in WSL, but that feels like a cheat.. is there a better way?

Software I use on a day-to-day basis
* VSCode
* docker
* awscli
* python
* bash
* powershell
* ansible
* remmina - I know windows has that rdp app but remmina is just so much better, is there a better rdp app than builtin on windows that's free?
* node
* zsh with powerlevel10k
* postman
* mtr
* nmap

https://redd.it/zpq42q
@r_devops
How to make a CI/CD of an ASP.net core app to Linux compute engine instance

I'm using Google cloud, I have a linux VM up and ready for use, I have an ASP.net core web app on Azure devops. I have configured the build pipeline for this webapp, now I want to automate its deployment on my Linux server, but I don't know how to do that.

I have 2 options I tried:

\- Building a docker container with my app and deploy on google container registry, but I couldn't find a way to later trigger the docker pull of my container on my linux VM to run it there, or run it with a docker compose.

\- Building a self contained package of the ASP.net core app, but I can't find a way of carrying the package and deploying it to my VM instance.

There are several tutorials about deploying to Google app engine, GKE etc. But I can't find one that shows how to do what I want.

Could someone please direct me to the appropriate resource ? or help me overcome this

https://redd.it/zpu12w
@r_devops
Azure function apps, Python and pyodbc module

Hello! I'm stuck in an error which I've been researching for a while now and ended up with no solutions.

I have Python code that I want to use in a Function App, more specifically, a Function App with a time trigger that runs every day at 06:00. The code:

1. Calls an API, downloads data.

2. Cleans the data.

3. Connects to a database using pyodbc module.

4. Uploads the data to the database.

Pretty simple. I then create the function app, configure it, and, locally, it's running perfectly, executing the code everyday at 06:00.

Then I create a resource and deploy the function app. The function executes properly at the configured time. However, when it runs, I get the following error:

https://imgur.com/a/rmc7XTd

https://pastebin.com/FWBECeWq

This is the overview of the function app:

https://imgur.com/a/XDetHzk

Could it be related to the fact that the application is hosted on Linux and I'm using pyodbc driver for Windows? I'm rather new to Azure so I'm a bit weak in regards to these concepts.

Using:

Windows 10 Pro

Python 3.9.13

pyodbc module

Microsoft ODBC Driver 18 for SQL Server

Microsoft SQL Server Management Studio

SQL Database is on Azure

Thank you.

https://redd.it/zq1yxt
@r_devops
I got a job offer at Amazon Europe??

Job offer at Amazon Europe..

Hello guys!

So... I just got a job offer at Amazon Europe?? And I'm not really sure about the whole situation as I'm hearing of all these layoffs (heard Amazon laid off 10k)..

Can any one give me any advice? I feel kinda lost..

For reference, I'm non EU non US citizen (Third world country) but I make a very very decent amount relative to my country..

https://redd.it/zq49a0
@r_devops
History of Docker

Hi

I am preparing an internal company talk about docker, and it's always nice to talk history. What was the main motive of starting docker? Didn't find a really good explanation

https://redd.it/zq4h3i
@r_devops
Oracle Cloud

Anyone here in Oracle Cloud?
Are happy with the choice? What feature are you missing most?

I’m using it both for personal and work projects.

Personal is good since they have a good free tier.

For work, I must admit that the Autonomous Transaction Processing is very impressive.
All other services are quite poor compared to most competitors.

Any feedback will be appreciated !

https://redd.it/zpx5qo
@r_devops
What can GitHub Actions do that CircleCI, or Jenkins or others cannot do?

Features that really set it apart. Considering your code lives in GitHub, and there are a whole bunch of features that GH provides.

https://redd.it/zqcu0c
@r_devops
question for goals in 2023

What goals does typical DevOps org put on a SRE or CICD devops role?
Like a yearly goal.
I've to invent something to satisfy mgmt, should be measurable in some way.

Thanks for your creativity :)

https://redd.it/zpxbhx
@r_devops
How does pulumi compare with cdk?

I know pulumi works with multiple cloud providers, let's say I want to just use AWS as the underlying cloud, how does this compare with CDK?

We are using CDK at the company I am working at with python, most of the time it works, but when it does not, it gives some obscure errors, which are comprehensible

Is it the same with pulumi? Do you recommend using pulumi with go? as it's written in go or any other language like python or typescript is fine?

About me:

I have 7 years of exp in backend development and have been doing microservices for the past 2 years. My goal is to learn to set up systems, deployments, ci, cd etc

https://redd.it/zqedfy
@r_devops
Initial CI/CD pipeline for new project

Me and another developer are building a web application using react and node in google firebase. We both don't have much experience in devops and so I'm trying to understand how to approach it. I guess my main questions are:

1. At what stage of implementation should we build the CI/CD pipeline? I was always a bit confused on how one would create a pipeline with no code ready yet (meaning also no tests)
2. We want to use Azure DevOps as our CI/CD tool due to a bit of experience with it on the other developer's side. Is this tool too much for an initial CI/CD pipeline? I'm asking because I read articles recommending GitHub actions.
3. I know this depends on the functionality of the app - but how long does it usually take to build an initial pipeline? In our architecture we basically have a front end server running the react application, and we are using a serverless architecture with firebase using google cloud functions, firebase rules and firestore.

https://redd.it/zpo8qw
@r_devops
How do I package python, ps1, and ffmpeg dependency into an installer?

Hello all, I am relatively new to software development in regard to completing SDLC and deployment. I recently created an application that converts youtube video links into mp3 and saves them to various folders based on the users' needs.

I used python, powershell and I am also using ffmpeg for the conversion. Can anyone send me some resources to help me better understand how one should go about packaging all those dependencies and scripts to create an installer for users eventually?

https://redd.it/zpw4lb
@r_devops
SSH between EC2 in different VPC

I have server A at VPC A, server B at VPC B, I want to allow ssh to server B only from server A. I have made vpc peer connection between these two. Allowed security inbound rule only from server A private ip. Still I can't access, what mistake i did? Any help?

https://redd.it/zqjpbl
@r_devops
Devops Project Ideas for intern

Hello im looking for an internship Devops project Ideas.. Im a beginner so i think that here is the better place to discuss

https://redd.it/zqkyzt
@r_devops
What would it take for you to start using SSM to replace SSH?

I'm trying very hard to switch my organization to switch to AWS SSM for SSH operations.This will allow me to get rid of all SSH keys + eliminate keypairs for instance (and their inevitable duplication by engineers).Don't know if it's common knowledge but AWS have a plugin to make it run through AWS CLI: https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html

Two main issues with this approach:

1. SSM connectivity is not a default and sometimes not straight forward: you need the agent which comes with AWS images, you need exposure from isolated subnets like an endpoint, you need IAM permissions and a couple more caveats
2. It doesn't replace a VPN completely because you sometimes still need other types of connections, like being able to reach a remote DB with a different protocol

I have two open source solutions I'm working with for the above:

1. A CLI that detects whether an instance has SSM potential (agent installed, network allowing access) and then makes the connection + adds permissions + opens network access (if the user permits). So you can take over almost every instance in the account
2. A router that can be pre-configured and deployed into a private subnet, where you can then reach out using SSM port forwarding (https://aws.amazon.com/blogs/aws/new-port-forwarding-using-aws-system-manager-sessions-manager/)

Happy to hear your thoughts

https://redd.it/zqlhu1
@r_devops
WSL Question

Is there anything WSL 2 can't do compared to a regular linux box for DevOps purposes? I am considering using WSL 2 for any of my linux related activities since my work uses PCs.

https://redd.it/zr7k0s
@r_devops
We create an open-source feautre flag sytem to help release faster and safe

https://github.com/featbit/featbit

We create an open-source feature flag system to help release faster and safer.

You can progressively release or roll back individual features to or from a specific group of users without redeployment. You can toggle a feature on and off to subsets of users.

Feel free to try it and give us feedback. Why not a new one with some different?

https://redd.it/zqp2v1
@r_devops
Cloud Hosted Gaming PC's for CI/CD

Hello there!

I work on a pretty hardware intensive game. We're looking to get away from using Jenkins with computers in my team's home-offices and go to something more robust. We need to deploy the game to Windows/Mac and Linux computers with dedicated GPUs to run the test suite. Even better if there's scalability so that we can have more than one engineer testing their branch at a time rather than having to wait for "the test box" to be available on each platform.

AWS, GCP and Azure are great if you just need to run a web application but they seem to fall short for what we need.

Does anyone have any suggestions for services that could fit our needs? We'd consider renting devices by the minute/hour or we'd consider renting monthly as well. Most services I've seen that have decent GPUs are running them for the purposes of AI or ML which is not idea. We don't need 4000GPU cores in parallel, we just want some boxes with a mix of AMD and NVidia gaming GPUs and some Mac Studios or Mac Mini's.

https://redd.it/zr7f9x
@r_devops
DevOps/CyberSecurity

Hello, I work in a company that doesn't have a CyberSecurity team and doesn't need one, but they have DevOps team! I'm more into networking, scripts rather than Developpment, my current job is C++ Developper I want to upgrade my skills into DevOps and stay close to CyberSecurity, what do you suggest to begin with?

Note: I'm doing DevOps because people told me it's so close to CyberSecurity, Is it true?

https://redd.it/zrehsx
@r_devops