Reddit DevOps
269 subscribers
4 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Why DevOps is paying so much?

Curious question, DevOps seems to be bombing and payscales seem to be at the top.

I am college dropout working as SRE and compared my salary to a data scientist with a master and I am earning a little above him when we discussed openly about salary.

I think like cheating because I believe the learning curve for being a data scientist is higher than someone who does SRE. Is this a bubble? Will it explode someday?

https://redd.it/qxop7b
@r_devops
Pulling/Pushing out any AWS ECR images from/to AWS ECR through AWS Route53 CNAME

The main idea of this article is to show how to use CNAME of Route53 to pull or/and push images from/to AWS ECR service. By default, Amazon doesn’t allow to do it (SSL handshake is not working. SSL has been signed by Amazon side).

I played around with Amazon API and Python and proxy and I have found several solutions:

* Use Python and develop wrapper to log in, pull & push AWS ECR images from/to ECR through AWS Route53 CNAME of AWS ECS service.
* Use Some proxy (Ex: Nginx, Traefik, etc) and make forwarding rules with needed headers. This implementation is \`TBD\` soon!
* Amazon ECR interface VPC endpoints (AWS PrivateLink).

The full article you can read here: [https://medium.com/@solo.metalisebastian/pulling-pushing-out-any-aws-ecr-images-from-to-aws-ecr-through-aws-route53-cname-7c92307f9c25](https://medium.com/@solo.metalisebastian/pulling-pushing-out-any-aws-ecr-images-from-to-aws-ecr-through-aws-route53-cname-7c92307f9c25)

The code: [https://github.com/SebastianUA/ecr-pull-push](https://github.com/SebastianUA/ecr-pull-push)

\#AWS #AWSRoute53 #Docker #AWSECR

https://redd.it/qxo7hr
@r_devops
Is docker swarm good enough for production?

I'm getting into docker swarm lately. Everything I've done with it I've done locally of in a test environment.

Especially looking for someone well versed in docker. I've heard swarm is great for dev environments but not for production. Is this true? And if it is why is it not good for production environments?

I haven't seen any issues so far but like I said I've never even considered using it for production until now.

https://redd.it/qxq1q9
@r_devops
Why is the Interview Process a pain in the ass?

Interviewing for my second title within the DevOps/SRE space.

Why the hell do so many companies have a multiple-hour interview or technical task as a part of the interview process?

I understand that they want to ensure that the person they're hiring understands what they're doing, but I simply cannot schedule a 2, 3, or even 4 hour block (all numbers that have been estimated to me) out of my free or working time to further myself along in the interview process. What happened to references, or simple 1-hour technical interviews?

So far, I've declined further candidacy for 3 jobs, and I'm sure that number will grow.

Anyone else commonly experience this mess? How do you handle it? Am I being ridiculous?

https://redd.it/qxqia2
@r_devops
How to learn high level devops concepts as a dev ?

Hi guys,

I'm a full stack dev but I must say my understanding of many devops concepts are very poor, I can get around by following some tutorials and using dev friendly solutions but it comes with limitation, sometimes vendor locking and I don't really like using GUIs as in my experience they cause more problems than they solve and I rarely use those since I mostly live in the shell anyway.

I believe even a higher level understanding can help troubleshoot some problems so I'm looking forward to better understand concepts like, reverse proxies, CDN, load balancing, understand docker better etc.

Thanks in advance.

https://redd.it/qxzecm
@r_devops
Can readfromhead work with posfile together?

Set pos
file only will send data correctly. But if set with readfromhead will get error

<source>
@type forward
port 24224
pos_file /a/pos_file/path
read_from_head true
</source>


Because of readfromhead, fluentd can't start successfully.

If set readfromhead only, fluentd can start but can't send data.

Can't they work together?

https://redd.it/qxww8p
@r_devops
Has anyone considered moving from DevOps to just Dev?

A bit of background:

I switched careers 2 years from non-tech to DevOps and I’m now in my 3rd role and have been in it for 8 months. It’s a Senior role and pays pretty well but I’m not really involved in actual dev work, neither in my DevOps chapter nor the dev squad in which I sit.

The thing is, I really enjoy writing and contributing to application software but don’t have loads of experience in doing so. I’ve done some Python application work in a previous role and I’m currently learning Java in my spare time.

Anyone else been in a similar position? Would love to know how you approached it!

https://redd.it/qy36k5
@r_devops
Running AWS Services In A Laptop Using LocalStack

LocalStack is a fully functional mock of AWS services running locally on your computer. We can use it to develop and test cloud and serverless apps offline. It can run through the CLI, in a Docker container, or in a Kubernetes cluster. We can use it to create mocks of S3 buckets, Lambda functions, RDS databases, ECR repositories, and more.

https://www.youtube.com/watch?v=8hi9P1ffaQk

https://redd.it/qy3xqg
@r_devops
Following from a rant posted in this sub, what are some of the practical technical interview questions you have been tasked to do during a live coding interview?

Most interviews today require you to do some devops related tasks. Could be take home or live coding session. Im curious to know what these tasks are.

https://redd.it/qy5g9r
@r_devops
I got an opportunity to become a DevOps but I'm scared to go for it

Hope it's okay to discuss career direction here.

A little about me:

* 26 y/o
* 4 years in IT (3 as helpdesk, 1 in current role at a FAANG company)
* Almost no DevOps knowledge

**I know**: Python, PowerShell, some git, some Ansible, I'm OK at Linux, I know networking concepts and fundamentals, I'm comfortable at troubleshooting and I like documenting stuff.

**Weak points**: Storages, not fully comfortable with Ansible, don't fully understand a lot of Dev subjects like different APIs, webhooks and in general, anything I listed under "I know:", I'm still no expert at those things.

**Zero hands on knowledge (I know the concept)**: K8s, CI CD tools, IaC tools like Terraform, etc.

Another thing I wanted to mention is my learning process. Sometimes I feel like it takes me longer than average to get something. I'm actually lacking confidence in general at my field, but overall, I'd say I do a good work as a Sysadmin.

One of my former colleagues (from my current role) offered me to join the company he works at. My role would be DevOps even though he knows I have zero experience. He mentioned that he saw potential in my skills and that he'd help me develop whatever skills needed for this role.

Honestly I'm a bit confused as to whether I should go for it. Salary isn't a factor currently because I'm more focused on gaining experience. The location is the same as well, which is nice.

It's a startup, as opposed to my current FAANG company, which is a bureaucratic mess sometimes.

I'm afraid to disappoint my former colleague. We worked together for like 6 months and during that time he was somewhat of a mentor for me. I'm not sure if I'm ready for this role but I know it's a good place to take my career to at my age.

What do you guys think? What other factors should I consider before talking to him about whether I'm in or not. I'm only 11 months in to my current role and I'm worried my tenure is too short.

Thanks :)

https://redd.it/qy7o2j
@r_devops
Vault and 1Password for different cases

Does anybody uses vault and 1Password together? I feel like they solve different things. Vault is really for managing secrets for automation while 1Password is for a team or person to manage their passwords.

Sure, vault can be used for passwords but it’s a bit technical and not everyone on the team wants a cli based tool when they want to login somewhere.

https://redd.it/qyc3yw
@r_devops
Cloud Developer Environments

Hi, we are moving fast and were wondering about an option i.e. Cloud Developer Environments. Do you recommend cloud developer environments? What are the best practices around it? Is their a good resource to read about writing infra in a way, it can create cloud dev envs quickly?
Our current scenario- We have 3 envs as of now- dev, staging and prod and we deploy on GKE. Devs install the tools necessary to work on their services and for other services they just kubectl port forward it on their local.

https://redd.it/qy86d0
@r_devops
Deno for Infrastructure as Code

Hello folks, I am a long time lurker and first time poster.

I have put my thoughts about using Deno for writing infrastructure code in form of a blog post. Looking for critical feedback either here or in the comments section on the link below. Thank you !

https://adnaan.badr.in/blog/2021/11/20/deno-for-infrastructure-as-code/

https://redd.it/qyobcl
@r_devops
Writing sidecar tool for aws

I am trying to write a tool preferably in golang for web apps in aws that will read config from a source and update local app config file. Is there any pattern or base lib/framework i should be following? Suggestions are welcome.

https://redd.it/qyqeio
@r_devops
Introducing DevOps practices to a company with bad organization

So we have an R&D team that develops and maintains dozens of tools, some relatively big desktop software, some data processing server pipelines, some smaller command-line tools. Mostly for the use of internal teams, but increasingly also for external customers.

For desktop tools, the deployment "process" is: copy-paste the new code and its new dependencies on an NFS network share. The prod workstations download the new environment regularly from there. Tools aren't really reliable, and when I came in I had to rewrite a large part of the code for my new projects.

I'm the only one doing automated testing, I introduced Docker/docker-compose for server deployment (instead of scp'ing the code), and I'm trying to improve coding practices. Obviously, there's no CI/CD, and there won't be if I don't set it up myself. In the desktop Python environment, pip doesn't work correctly, so we can't be sure that a new deployment won't break another package's dependencies.

I'd like to ask for some advice on how to set up a CI/CD pipeline, for me and some colleagues who want better tooling. We don't need approval, and I think the others would be open to better practices if we showed the way. I have support from my manager for it.

The current plan is to set up Jenkins on some server, make it run the CMake build regularly, and run the few PyTest unit tests that already exist, all in Docker. That system would expand over time, as we train the rest of the team to use it.

Is Jenkins a good choice, considering that we'd be maybe two people maintaining it? Is there a good tutorial on how to set up such a platform from scratch? I looked at the Jenkins documentation, but it's not always clear. Any and all advice is appreciated.

https://redd.it/qyaj9v
@r_devops
Vault in production?

Does anyone have any tips, tricks, configurations that they can share? We've been mandated by management to move to Vault (community version of course 🙄). Just curious how everyone else is doing it!

https://redd.it/qycufs
@r_devops
Are DevOps jobs better suited for Digital Nomad lifestyle?

I am currently working as a Data Engineer, and I plan to become a digital nomad in 5 years time. I have some DevOps experience, and I feel that this role is better suited for a digital nomad lifestyle where I can travel all over the world and work remotely.

Is my thinking correct? If so, then how can I better orient myself towards this goal?

https://redd.it/qy8ru8
@r_devops
Application Insights apim vs app level monitoring

I have a question regarding optics in Azure, I now have logging set at my web app level and the apim level. This is not currently instrumented in code so apim seems to give me more information regarding dependency info. Is this redundant and can/should I clean up my web app Insights resources and just instrument at apim level?

https://redd.it/qyxesb
@r_devops
Future Job Growth - Management or Technical track

Hey Guys,

As the subject states, I am getting to a point in my career where the next step forks and I will have to decide if I want to stay and get deeper technically (architect level) or if I want to go the management path (manager level). Currently, I am a Principal (Senior) Engineer on my team and I do a lot of 'team lead / technical lead' tasks, but I still get my hands dirty with the engineering and technical details often.

However, I have been told and I know that my 'soft skills' have always been a big strength of mine (communication, empathy, people stuff, etc.) and several of my old managers always commented that they thought I would make a good manager. I know being a manager goes deeper than the people skills though, such as could I stomach firing someone and preventing them from bringing food home to their families, etc. if they are dead weight for example.

So, I guess what I am trying to ask here is for those that have made the decision to make the jump to a manager path, why did you do it? What are the best parts of your job now that you are a manager and not the individual contributor / engineer that is doing the technical work? What are the worst parts? Do you regret your decision, and wish you stayed as an individual contributor and still did a lot of the engineering / devOps work?

Any feedback / insight / comments would be super appreciated! Maybe I should look if there is a manager subreddit to also post this question to.

Thanks everyone!

https://redd.it/qz28ls
@r_devops
Tooling for dependency management

Hi,

I have a tooling question. In my organization, we are running IBM App Connect Enterprise (a low-code platform for developing integrations) applications, and we are currently building a CI/CD pipeline for handling everything from build and test, to deployment.

Some of our applications have dependencies. Mostly other IBM ACE apps, but also some Java library dependencies from time to time. All of our dependencies are stored in our organization’s git repo.

To build our applications, we run a build command which requires all application sources to be in the same workspace. So before we can run the build command, we need to git clone all of our application sources. The challenge is that all of our dependencies may also have dependencies, and their dependencies also have dependencies etc. You get the picture. I guess this is what's known as dependency hell, and what management tools like Maven etc. are for.

Since this isn't a popular, well-known language, there aren't any dedicated tools for the job. My first thought was to write a Python or bash script with a recursive function or something like that. I have also seen that both Maven and Gradle plugins exist, but they don't seem to be maintained.

So my question is - how does one handle this when dealing with "generic" systems which doesn't have a dedicated build management system? I basically need something to do the following for me:

1. Git clone app X into workspace A
2. Check app X's dependencies
1. For each of app X's dependencies, repeat stage 1 and 2
3. Build application from workspace A

Will something like Maven or Gradle handle this for me? Or is it easier to just script this?

https://redd.it/qyup2q
@r_devops
Git publisher on Jenkins does not work properly

Hi to everyone,
I have a problem with Jenkins freestyle project, and in particular I set the whole project with just a shell scripting that make some commands, and after that it delete a file. I want to update my repository (main branch) with the change. I’m using Git Publisher plugin, but even if in the log Jenkins print the push command that seems to work well, I do not see the changes on my GitHub repository.

I already set my credentials (it uses it well, just because when I want to create tags, it will create them without problems); so I don’t know what is the problem…

https://redd.it/qz4tv6
@r_devops