Reddit DevOps
267 subscribers
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Should I change my job title from DevOps Engineer to Site Reliability Engineer? What is more prestigious and work sound better for future jobs on my resume? I can pick my own job title at my job.

Should I change my job title from DevOps Engineer to Site Reliability Engineer? What is more prestigious and work sound better for future jobs on my resume? I can pick my own job title at my job.

https://redd.it/feysmk
@r_devops
Configuration Management in IT... Help!

Hi everyone,

Hope all is well! So, I've recently been trying to build my knowledge base within the DevOps realm more and more. I started off with a couple of basic PowerShell scripts that would report on various directory service events. I then learned about Jenkins and built out a Jenkins instance for my department, created projects using cron tabs to run the aforementioned PowerShell scripts but now on a schedule and within that environment. I've been moved on to Git and moved all of my scripts into our enterprise Git and and now have Jenkins using SCM to said Git repo.

I've dabbled with PowerShell DSC in the past and I'm now looking at Chef. My basic problem is this...

Is silly as the sounds my biggest trouble when building out PowerShell DSC or now chef isn't so much learning the architecture or DSL, but how configuration management could effectively be used in an IT environment? could someone please give me examples of when and how you would want to use configuration management for your servers such as a DHCP server, domain controllers, DNS servers, etc.?or am I barking up the wrong tree and is configuration management not even remotely close to be used in an IT Operations department. Thanks everyone!

https://redd.it/fey54r
@r_devops
Should I change my job title from DevOps Engineer to Site Reliability Engineer? What is more prestigious and work sound better for future jobs on my resume? I can pick my own job title at my job.

Should I change my job title from DevOps Engineer to Site Reliability Engineer? What is more prestigious and work sound better for future jobs on my resume? I can pick my own job title at my job.

https://redd.it/fez1ht
@r_devops
How can i change my domain from server support engineer to devops?

I am currently good with proliant ML DL and blade servers with respect to the hardware breakfix. I am learning VMware esxi 6.7 and in progress.
What else skills do i need to have to become a devops?
Next i am planning to learn dockers.

Kindly suggest as what would be better way to progress towards becoming a devops.

https://redd.it/fff3rk
@r_devops
Opportunity - Cloud Engineer vs Site Reliability Engineer - Which?

Hello All!

I will be crossposting this into [/r/TCareerQuestions](https://www.reddit.com/r/Devops) as well just to get more visibility. I wanted to get some opinions from the community on which opportunity they think is best. I have been fortunate enough to have two options before me. One is for a Cloud Engineer position at a privately owned, 700 person company, in the Insurance / Healthcare Technology space. The second is for a Site Reliability Engineer position at a publicly traded, worldwide, Software Company (Older Software company but well known).

Here is my resume (I have redacted my name and company name for privacy): [https://imgur.com/a/UPwZz1s](https://imgur.com/a/UPwZz1s)

Here is the job description of Company A - Cloud Engineer: [https://docs.google.com/document/d/e/2PACX-1vRYV7kIXlc58ipZ2C3lFZHZ4BC0LYQ4S9tooc13IWvN6XD4NdmNDdd-sJAmsj\_DaMxPKpwdpCmwDSSS/pub](https://docs.google.com/document/d/e/2PACX-1vRYV7kIXlc58ipZ2C3lFZHZ4BC0LYQ4S9tooc13IWvN6XD4NdmNDdd-sJAmsj_DaMxPKpwdpCmwDSSS/pub)

Here is the job description of Company B - Site Reliability Engineer: [https://docs.google.com/document/d/e/2PACX-1vQNpgD0s2GtESBQRvdvJJNwjaYPs9LcOVhjhr-swJa2OylTX1NyviTvi8DkkKmWYsSUUZdfOpvD6j\_F/pub](https://docs.google.com/document/d/e/2PACX-1vQNpgD0s2GtESBQRvdvJJNwjaYPs9LcOVhjhr-swJa2OylTX1NyviTvi8DkkKmWYsSUUZdfOpvD6j_F/pub)

Facts:

​

\- Both positions pay about the same. Company A pays for all your healthcare benefits (medical, vision, dental), Company B does not. However, Company B is paying slightly more (a few thousand). So in my mind, it evens out.

​

\- Both have your standard package of 401k, life, etc.

​

\- Both have education assistance programs, Company A is $2500 a year, Company B doesn't have exact figures.

​

\- Both companies are located 25 minutes away from me, so distance isn't a factor.

​

\- Both companies offer the same amount of PTO

​

\- Company A lets you work from home a maximum of 2 times per month(15 times per year). Company B is more flexible, doesn't care where you work (at least they say that, no hard policy).

\----------------------------------------------------

My main questions to the community are this.

1. First, what is your gut reaction to both positions? Which seems like the better move?
2. Which title is better in the long run? A glance at job postings has Cloud Engineer a bit ahead in terms of positions available, but I know SRE is growing in popularity.
3. The Cloud Engineer position appears to be more infrastructure-focused, solutions architect leaning, with some automation. The SRE position seems much more software engineering oriented. ----> My concern here is I am having some imposter syndrome. The interview process for the SRE position was MUCH more difficult:

\- I went through a technical phone screening that involved debugging a small script (I passed that without issue);

​

\- An in-person, 6-hour long interview with 9 different people doing extensive whiteboarding (some programming problems, architecture problems, and API questions). I stumbled through the first programming problem, did fine on the other two sections.

​

\- Final in-person, 3-hour long interview with 3 engineers, I did more programming problems ( things like, "given a string of 0s and 1s return to me the number of 0s and 1s in that string"). I was able to complete those. I also got some Linux questions (no issues).

​

I wanted to share a replt of a python program I wrote that showcases my work utilizing the boto3 library. The program basically gathers data from our Monitoring service via its API, compiles it, uploads it to S3 and then moves it into redshift.

[https://repl.it/repls/PerfumedTruthfulTitles](https://repl.it/repls/PerfumedTruthfulTitles)

​

My last question here (3), is given the job description of the SRE, what I've shared, my resume, and my program, do I have what it takes? My mind is telling me that 11 people interviewed me and they obvious
ly thought I could do the job...I just am again...having some imposter syndrome. The Cloud Engineer position, I have no doubts I could do. Part of me feels I could also turn that Cloud Engineer position into a Cloud Security role (I'm studying for my masters in Cybersecurity so it would be more related to my degree than an SRE position would) or even Cloud Architect in the long run too.

​

THANK YOU all for taking the time to read this, review it, and give me your honest opinions. I wish you all a great Sunday!

https://redd.it/ffdf7l
@r_devops
Bundling Python Dependencies in a ZIP Archive

> Shipping dependencies for your scripts as a single file, built with ‘shiv’.

If you have a set of Python scripts that are all using the same set of required packages, you can distribute those dependencies in the form of a zipapp, i.e. in a single executable file.

You can also deploy any PyPI package that way, with a simple call of shiv, as shown in the post using Pandas.

Read on at https://jhermann.github.io/blog/python/deployment/2020/03/08/ship_libs_with_shiv.html

https://redd.it/ffh5xv
@r_devops
Advice for moving to DevOps.

My IT background is owning a small computer repair shop for 9 years. I do hardware and software service for consumer electronics (laptop, PC, TV). I mostly use software by Microsoft, but I know a little bit of Linux.
I started researching the DevOps field and I think it would suit my interests and curiosity.
I saw that AWS is very popular, so I started a course to get certified for their Cloud Practitioner Certification.
Do you have any advice on what do I have to do and to learn to get a DevOps position?

https://redd.it/ffhjxm
@r_devops
What DevOps features can I implement in my IT job?

I'm very new to this, I've only learned about devops in the last few months and I'm trying to learn the tech, but what can I implement in my current role? I'm an IT tech at an MSP and while I dont do much of the server work I believe my boss would give me access to different resources if I asked. What should I be looking to automate? Right now the highest tier tech is a good powershell guy but that's about it. If you were starting pretty fresh and could build out the DevOps side of a business what would you look to do?

https://redd.it/ffjjsh
@r_devops
Looking for a new DevOps environment

Hey everyone!

I'm in the process of setting up a start-up in software engineering. While I already have clients, a business plan and idea of where to go with the business I'm still missing a key element: a DevOps environment. I'd love to hear your suggestions on one or more systems that can help me with:

\- Repositories (GIT)
\- Code Builds (CI/CD) + Deployment (preferably not Jenkins)
\- Ticket Management (I.E. Jira? Preferably a tool that links with the GIT-environment).

I'm happily willing to pay for a product, but as you can imagine: as a start-up I don't want costs to be too high.

Note 2: I'm also happily willing to set-up in the cloud OR host it in office. It really depends on what the system is.

​

Thanks in advance! If for anything, I'm always open for discussions: feel free to comment below.

https://redd.it/ffijbg
@r_devops
My code blew up this week - makes me feel like shit

I'm sure you can infer from the title that I am pretty junior. I made a pretty small but obvious error that started wreaking havoc before a senior SRE caught it and sounded the alarm. When we started diving into the change to see what happened, I saw what I did and was really embarrassed; it was such an obvious oversight, and I didn't write a test for that case which made it even worse.

Yes it was missed in the PR but I can't help but feel like I should have seen what I was doing wrong.

Does this ever get better lol

https://redd.it/ff8n6k
@r_devops
Kubernetes Time Machine

Wanted to share a really cool Time Machine capability for Kubernetes to prevent outages before they happen, and root cause if they happen. A 2-min demo video below.

[https://youtu.be/bJssh\_MUWgw](https://youtu.be/bJssh_MUWgw)

Disclaimer: I'm the developer behind this open-source project.

https://redd.it/ffo05j
@r_devops
What is runtime support?

I'm reading about Middleware, and one stated function it provides is "runtime support". What is meant by this exactly?

https://redd.it/ffj7cq
@r_devops
Does it look unprofessional if I change my e-mail address on my CV from [email protected] to [email protected]?

This would help with creating filters in Gmail for times when I'm not looking for a new permanent job or freelance contract as a DevOps Engineer.

https://redd.it/ffadvv
@r_devops
Where I start in Devops?

Good day, I'd like to know how I would start on the path of DevOps. I'm already doing some hybrid apps but have trouble with deploying backends that cause me to do additional steps. I'd like to learn to do CI/CD but not sure where to start or how I would approach my learning.

https://redd.it/ff9n64
@r_devops
How do you manage whitelisted IPs for docker instances?

I’ve recently been converting some of our apps to be run in docker with dynamic scaling of sorts.

All of our apps connect to a mongodb server hosted with a different provider. I was going to change authentication from whitelist to user pass to solve this issue but thought maybe someone else has solved this before.

How are you whitelisting dynamic instance ips to your database server?

https://redd.it/ffr4g6
@r_devops
GKE Cluster Management Fee

GCP announced recently that they are going to begin charging a cluster management fee for GKE starting on June 6th. This seems a bit like a bait and switch to me as many developers migrated there specifically for cost. Do you think this is likely to make developers trust Google Cloud less? AWS has always lowered prices which is in stark contrast to this move by Google.

I wrote a bit more about this and other announcements here: [https://thisweekindevops.com/2020/03/09/weekly-roundup-march-9th-2020/](https://thisweekindevops.com/2020/03/09/weekly-roundup-march-9th-2020/)

https://redd.it/ffttpb
@r_devops
Which file format to use to represent graph data structure.

Hey,

We have a tool at work where we use a graph-like structure to describe the relations between different objects which we import is in custom software to provide some actions.

The configuration structure looks like that:


Root
├── Objects
│ ├── objectA
│ ├── objectB
│ └── objectC
└─── Machines
├── MachineA
│ ├── objectA
│ ├── objectB
│ └── MachineC
├── MachineB
│ └── objectB
└── MachineC
├── objectA
└── objectD

So at the moment, we represent this with a huge unreadable json file which the json is like

{
"Root": {
"Objects": {
"ObjectA": {
"id" : "1",
"attr1": "x",
"attr2": "y",
"attr3": "z"
},
"ObjectB": {
"id" : "2",
"attr1": "x",
"attr2": "y"
},
"ObjectC": {
"id" : "3",
"attr1": "x",
"attr2": "ss"
}
},
"Machines": {
"MachineA": {
"machine_id" : "1",
"attr1": "ssx",
"id" : "4"
},
"MachineB": {
"machine_id" : "2",
"attr1": "rre",
"id" : "5"
},
"MachineC": {
"machine_id" : "3",
"id" : "6"
}
}

}
}

*This is a very simplified version because normally we have many other objects i.e Location, MachineOfMachines etc..*

Some context..

The situation at the moment is that when we want to edit the configuration (add,rename objects or edit attributes values) we have to generate the id logic which this messes up completely the whole id structure, therefore, even with a small change the diffs of new generated json files with the old ones are very confusing and unreadable. i.e If you want to change the ObjectC to ObjectCA it will generate the id of ObjectC to a new one and also the Id of the MAchines that are related with that. (Dont ask why, LEGACY :) )

..

Now, what I want to do is to create a simple text config without unnecessary info (i.e ids) so the user will have to edit only the necessary parts and the rest will be taken care from a parser.

In this case.. I am thinking to represent this config as a Graph and translate that to a much simpler text config file..

What file format do you recommend? TOML? JSONLines? Anything else? Also other recommendations/comments on my approach are welcome.

​

Cheers

https://redd.it/ffxt6g
@r_devops
How can I access my OpenShift Containers on a Private Subnet over the internet on a single AZ?

I can't use ELBs because it requires more than one Availability Zone. Can I use NGINX? How would you guys do a solution like this?

https://redd.it/ffz5v0
@r_devops
cloud-init: pause before mounting drive

I am trying to get cloud-init to pause before mounting / formatting my EBS volume. I was hoping these modules ran sequentially but it doesnt seem like they do. any help or advice?

In the below scenario I'm trying to make cloud-init wait for me to write a file. In the future, this would be a more sophisticated check but I am just trying for something I can control to validate it works.


This is implemented via terraform:

```hcl
part {
content_type = "text/cloud-config"
content = <<EOF
runcmd:
- while [ ! -f /tmp/sleep.txt ]; do echo "WAITING" && sleep 1; done
mounts:
- [xvdz, /ebs, 'auto','defaults,nofail','0','0']
fs_setup:
- label: None,
filesystem: 'ext4'
device: '/dev/xvdz'
partition: auto
EOF
}
```

https://redd.it/fg0ddl
@r_devops