Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Free Slack app to keep a status dashboard one click away from your team!

I have developed a free Slack app that I think might come in very handy for fellow DevOps engineers, with Status Center you can have a status dashboard, displaying the status of selected status pages, just one click away in your Slack workplace.

It can also notify you in real-time, directly on a Slack channel of your choosing.

We've only started working on this tool, and the number of status pages is limited, but there is a button for you to request new ones, we will be adding new ones quickly.

Looking forward to hear your feedback!

The tool: https://statuspal.io/status-center/slack/

https://redd.it/rnsb7b
@r_devops
Is there a way to make git tortoise and visual studio work faster on a project inside of WSL2?

Ok, I did the opposite by putting the project inside my Windows drive. Now, I have the project inside the WSL2 drive, so the website works faster and is much more responsive, but when using Visual Studio and tortoise it's super slow, so the search is slow and git tortoise sometimes freeze. Is there a fix for this?

https://redd.it/rnuye0
@r_devops
Suggestion for leasing physical/bare metal servers with 10G private bandwidth

I want to lease 2 or 3 servers for a month or two to run Linux networking benchmarks (max pps, throughput etc. for a give number of cores). I am looking for servers with 10G links and ideally 10G "private bandwidth" between the servers. I don't really need any public bandwidth from the internet. Pretty decent server processor (like Intel Xeon E-2246G) should do. Anywhere in US should be ok too.

Looking for suggestions for reliable providers that are not too expensive. This is the first time I am personally leasing servers and don't have much idea about the pros/cons of different providers.

https://redd.it/rnxnbu
@r_devops
Helm in 10min

Hello guys, I made a 10-min video 🎥 to explain Helm ⚓️ and its main concepts. The video shows how to package a Spring Boot app 🍃 and how to deploy it into a K8S cluster. Also, how to search for charts in public repositories and to install them locally.
If you have any feedback about the content or the editing process, please let me know 🙂

https://youtu.be/84Wvr54Rn2U

https://redd.it/ro766d
@r_devops
PSA If you are using AWS SES VERIFIED EMAIL ADDRESSES, the "NEW" UI will SHOW DKIM-verified addresses as valid, but the old UI will show they are invalid

So be prepared for some bugs

https://redd.it/ro74q4
@r_devops
How I scaled a real-time API monitoring platform using AWS and Laravel

Merry Christmas everyone 🎅🏻 Hope you're all enjoying the day. I decided to sit down a finish an article I've been meaning to write about scaling Treblle, our API monitoring platform.


We're processing over 7M+ log files per month from 500 APIs worldwide and we're doubling in volume each month. So I take you behind the scenes of my 3 failed attempts at scaling it and the final solution using a neat combination of AWS services and Laravel Vapor.


Read the article here and feel free to give me some feedback: https://treblle.com/blog/how-does-treblle-scale-on-aws-without-breaking-the-bank


PS. Not a DevOps expert just a regular developer - be gentle.

https://redd.it/rof0pm
@r_devops
Consul Connect confusion

Hi,

I'm going through the Consul Connect tutorial (https://learn.hashicorp.com/tutorials/consul/service-mesh-with-envoy-proxy) and I'm totally confused about certain aspects. I hope I'm just misunderstanding this stuff, because the design just seems totally counter-intuitive to me.

Let's say I just use Consul DNS service discovery (without Connect). I have a web application that connects to a Postgres server, which is available at postgres.service.consul. This works perfectly fine, as long as I don't use Connect.

When I start using Connect, I will fire up an envoy proxy, and now my application no longer connects via the "postgres.service.consul" hostname, but I need to connect to a locally-bound port, where Envoy is running (e.g.: localhost:5000).

How is this even scalable when you need to connect to multiple services? Let's say my web application needs to connect to 10 different services, basically I need to point my application to localhost:5000, localhost:5001, localhost:5002,... instead of postgres.service.consul, rabbitmq.service.consul, redis.service.consul,... when using Consul Connect?

This means that the whole DNS-based service discovery just disappears in smoke, I need to use localhost everywhere, and keep a list (maybe some excel-sheet?) to keep track which port number points to which service?

Please tell me I'm wrong, and I'm totally misunderstanding Consul Connect, because the scenario I describe above seems like a totally unmaintainable mess...

https://redd.it/roh6yu
@r_devops
Transitioning from Devops to normal software development

Odd question for this forum maybe, but was wondering if anyone has done the reverse of the typical SWE to devops transition and moved from devops to SWE. For reference I am about 2.5 years out of college and have held two different "devops" roles at a large company and a startup. Any tips besides just grinding leetcode? Cheers!

https://redd.it/roqbg2
@r_devops
Finding a US/Canada based role as a British citizen

I posted this past month with little luck. Thought id ask again. I am currently going through the Canadian FSW application with 471 points so I have a very good chance of being accepted for perm residency invite once this whole covid situation is resolved and they start accepting more people in that stream. I feel a job offer would really help my chances, as my age, would soon factor in and reduce my score next year as im turning 30 which would really kill my chances of a quick invitation.

Curious as a British citizen with almost 3 years worth of DevOps experience with an infrastructure background would find DevOps work that offers sponsorships. I would be open to accepting anything in the states too preferably west side.

My summary of skills include

Almost 3 years of experience in Linux administration (Centos, Redhat and Amazon Linux), bash scripting, CICD platforms, source control platforms and Docker.

Around two years of working with AWS, Terraform, Ansible, JIRA, Confluence and ServiceNow.

Almost a year worth of experience working with Kubernetes. I also have experience with the security side of Linux, one of the major projects I was involved in my current role was writing a CIS benchmarking script which was deployed across all Linux instances in AWS. Using Qualys I also actively look for and resolve vulnerabilities on the servers.

Degree in Computer networking and technologies, a good understanding of Cisco networking technologies, 2 years working as a Desktop Engineer/Sysadmin supporting windows-based environments prior to working as a DevOps Engineer.

https://redd.it/rovw0u
@r_devops
Infrastructure as Code for unmanaged VPS? Is it worth it? What solutions are out there?

Hey everyone. I am more on the Dev side of DevOps, and while I have learned to dockerize my projects, automate container deployments, and tests, I typically still set up my VPS manually (Ubuntu server hosted by any of DO, Linode, Vultr, etc.)

Is it worth automating the initial setup? I don't spin up new servers very often, and usually document my steps so it is repeatable, but I am always looking to improve my skills and workflow.

Am I correct in thinking that Ansible and Terraform are not really useful for this, but rather meant to be used with things like AWS, GCE, Azure, etc.?

What tools do you use for initial setup on a VPS, if any? Does it also help automate host OS updates?

My setup is often pretty simple, consisting of only docker{,-compose} and OpenVPN, since the rest runs in containers.

https://redd.it/rowbrl
@r_devops
novice here How much of creative thinking comes into the picture of everyday tasks of a devops engineer?

I am new to this field, just lurking around, was wondering... from the sounds of youtube videos I have watched online, it sounds like all of its roles are 100% technical. I had my doubt cause it can't be realistically true, could you guys tell some your work tasks where creative thinking is required

https://redd.it/roxgpf
@r_devops
Finding work in the US/Canada market as a UK citizen?

I posted this past month with little luck. Thought id ask again. I am currently going through the Canadian FSW application with 471 points so I have a very good chance of being accepted for perm residency invite once this whole covid situation is resolved and they start accepting more people in that stream. I feel a job offer would really help my chances, as my age, would soon factor in and reduce my score next year as im turning 30 which would really kill my chances of a quick invitation.


Curious as a British citizen with almost 3 years worth of DevOps experience with an infrastructure background would find DevOps work that offers sponsorships. I would be open to accepting anything in the states too preferably west side.


My summary of skills include


Almost 3 years of experience in Linux administration (Centos, Redhat and Amazon Linux), bash scripting, CICD platforms, source control platforms and Docker.


Around two years of working with AWS, Terraform, Ansible, JIRA, Confluence and ServiceNow.


Almost a year worth of experience working with Kubernetes. I also have experience with the security side of Linux, one of the major projects I was involved in my current role was writing a CIS benchmarking script which was deployed across all Linux instances in AWS. Using Qualys I also actively look for and resolve vulnerabilities on the servers.


Degree in Computer networking and technologies, a good understanding of Cisco networking technologies, 2 years working as a Desktop Engineer/Sysadmin supporting windows-based environments prior to working as a DevOps Engineer.

https://redd.it/rp25xa
@r_devops
what options are available for a "cloud" like experience on Premise? Is something like Mesos DC/OS the right direction?

I recall a few years ago there was some open source project that essentially provided a Digital Ocean/Cloud dashboard that could be installed on bare metal servers and allow users to spin up and manage VMs.

I've seen Mesos DC/OS and I'm not sure if that would be the right tool for creating an on premise "cloud" like management dashboard etc?

What are the available options for this kind of thing?

https://redd.it/rp3pfh
@r_devops
Need help in groovy code /shared libray for jenkinsfile

Hi all


This is my jenkins file
Jenkinsfile
========

library(something)

pipeline {

agent any

stages {

stage('Welcome Step') {

steps {

myfile()

}

}

}

}


myfile.groovy
===============
def call(){

sh 'echo hello world"

}


I just need to add a parameter in myfile() so that it over rides the existing sh like


myfile(sh 'echo some script which the user can pass ')


then output is


some script which the user can pass





If myfile() is without parameter then


below block will excute


def call(){

sh 'echo hello world"

}

output will be


hello world

can you please help me with this
I tried using if else but unsure how to execute sh inside a function as a parameter

https://redd.it/rp25vj
@r_devops
Is Devops what I do?

The position I'm in is essentially something that never existed at our small company. I do some dev work in an app that I built, sql dB creation and maintenance, automation scripting and rpa, support, upgrade, and build data interfaces for various enterprise software packages. Other misc crap related to these tasks.

https://redd.it/rp1j7q
@r_devops
What’s everyone experience with the recruitment process. Do you feel like recruitment process is broken ?

I was wondering what’s everyone experiencing is. Do you feel like it’s necessary to go through all these interview stages including assessment or better to have one off technical interview. Do you think all level of engineering should undergo similar recruitment process ?

https://redd.it/rp6hxz
@r_devops
CloudReach?

I know these questions are annoying, but I’ve looked everywhere (Google, Reddit, job boards, etc…) and found nothing about the below information.

Hopefully this is an appropriate sub for this, but I’m in another career right now and have been exploring career switch from accounting/finance. Does anyone have experience with CloudReach? Specifically this job title: Associate Cloud Systems Developer - Talent Academy.

The company has fairly good Glassdoor reviews etc… just looking for any unbiased advice/opinions.

We have an interview set up soon. Appreciate any input.

https://redd.it/rp7r31
@r_devops
What can I learn from my business requirements role to aid in a future DevOps career?

Hey all,

I've wanted to get into an ops/cloud engineer role for over a year (creating/maintaining pipelines, etc, whatever else the specific role entails). My background is a little helpdesk, some business-type experience, and some ports, protocols, and services engineering.

I recently landed a business and requirements analysis role, my first exposure to the SDLC. Closer to my goal. Although I don't want to stay in this role forever, I want to perform well in it and pick up whatever I can that will help in the long run.

Is there anything I should try to capitalize on? Anything I should try extra hard to learn?

https://redd.it/rp7i62
@r_devops
What is the averagre DevOps salary?

Hi!

I am thinking about moving to the other country. Do you think that the below values are correct for the average gross salary for the DevOps Engineer (AWS) with 3 years of experience?

1. Oslo - 70 000 NOK/month,
2. Copenhagen - 60 000 DEK/month,
3. Helsinki - 6000 EUR/month,
4. Zurich - 8500 EUR/month,
5. Vienna - 7000 EUR/month.

I would really appreciate any input!

https://redd.it/roygqq
@r_devops
error while running ansible file on ubuntu linux

ERROR!

'sudo' is not a valid attribute for a Play

The error appears to be in '/home/ubuntu/ansible/play.yaml': line 4, column 4, but may

be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

\- hosts: host1

\^ here

​

​

​

---

- hosts: host1

sudo: yes

name: play1

tasks:

- name: Install Apache

apt : name = apache2 state=latest

https://redd.it/rpbh4h
@r_devops
Google Cloud Run vs PaaSs like Heroku

Hi folks,

I'm evaluating deployment options for a small startup and wanted to know what I'd get with fully managed PaaSs like Heroku that I won't with a container as a service platform like Google cloud run ?

I've tried Google Cloud run and it seems pretty straightforward to set up, the only thing that I imagine would be easier on Heroku is that you wouldn't need to "glue" things together like Cloud SQL, Secret manager, Google Cloud storage etc, it seems you can even use Procfiles with cloud run but I used Docker.

The only things that worries me is that it offers too much options and I could end up with surprising bills, for example I ended up with a $40 cloud SQL bill just with the hello world example used for few hours.

So what would I gain with Heroku that I wouldn't with Google cloud Run + Cloud SQL etc ? Thanks in advance.

https://redd.it/rpdgdn
@r_devops