Reddit DevOps
266 subscribers
30.9K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Is Oracle Cloud really a bad idea?

Hello everybody,

​

I am making a *very* egress-heavy webapp (lots of HD video) and am trying to decide between Oracle Cloud and DigitalOcean for infrastructure. It's worth mentioning at this point that I am the only guy working on this project and it is a completely self-funded venture. I also have to pay my lawyer and stuff to help make sure I'm doing compliance right, as the industry I'm in is one where you *do not* want to run afoul of the law.

​

Oracle Cloud's free tier seems pretty awesome, 10TB (terabytes) of free egress, and after that it's still cheaper per GB relative to AWS/Azure/GCP. DigitalOcean also has pretty cheap bandwidth, but building stuff on there will probably be a bit more work since I'd need to use Kubernetes to cheapen up things (I have many services I need to run instead of ready-to-use cloud services).

​

But... Oracle.

​

Think it's worth the risk if I use their cloud services and don't buy any licenses to anything? Or should I get over it and go with DigitalOcean?

https://redd.it/p53k25
@r_devops
Elastic APM (Java) experiences?

Is it any good? Does applications take notable performance hit when APM is used?

https://redd.it/p58g1d
@r_devops
Enforcing limit on pod disk usage

Is there any way to eforce limit on disk usage of pod, So that user can't write data beyond that limit in any of the path on pod's filesystem?

https://redd.it/p59hqm
@r_devops
Interview coding challenges, my ass

What is your opinion on companies demanding time-consuming coding challenges from interviewers? I am actively looking for a job and it seems that one out of two companies demands you to solve a X hour coding challenge as a part of the process, with X being a fairly high number most of the times

Man, I find this utterly disrespectful and a red flag. If they don't respect your time now, why would they do it later? I understand that they need to assess the skills of the candidates in someway and I would be ok with a lets say 2 hour hackerrank challenge or live mob coding.

But spending a whole day (or more), for a job you will possibly won't even get in the end, is a joke. Personally, I reject by default such companies.

https://redd.it/p5a185
@r_devops
Will a developer replace a devops/cloud infra role in next 10-20 years.

I work as a cloud infrastructure and devops engineer but I am really worried about whether a developer would replace my job in near future As developer related tools like Pulumi which more developer focused tools coming to market.
Please let me know your thoughts on this.

https://redd.it/p4vt0i
@r_devops
When to take the leap into contracting? (UK)

So i've been in DevOps for bout 3 Years now and since hitting the 3yr mark i've noticed that the amount of recruiters messaging me about contracting opportunities has near enough doubled compared to perm roles and the day rates seem pretty attractive, so i wanted to raise the question here to those that have made the move to contracting in the UK - how many years experience did you build up before you felt comfortable enough to switch over?

https://redd.it/p4wpc0
@r_devops
AWS Why is deployment pricing and licencing so vague. Even After countless google search I (developer) am confused about licencing, pricing and deployment.

For instance, guess
I have a java springboot backend on port 8080 which uses Redis and mongodb. Both of this tech claims to be opensourced and free


Now We must bear in mind that mongodb has mongodb atlas and redis has redis enterprise edition

Coming to deployment, my idea of cloud is if I would purchase amazon EC2 I am getting a blank server with a terminal in which I have the freedom to install what I want.
But
Why would I have to buy so many other services if I have EC2 like

Amazon elasticache for redis
Mongodb atlas or amazon s3 for storage
And many other paid services which I am forgetting while reading on deployment tutorial

All I want is to host my backend frontend(in angular) database and redis on a server

I am really confused why would I have to pay for seemingly open sourced technology for deployment

https://redd.it/p4rz1m
@r_devops
How do you backup? What tools, methods are you using?

I come from a Commvault world, agents and tapes. With IAC, kubernetes and cloud, what is the new pattern? Bonus points if it can all be open source or close to it

https://redd.it/p5ct5q
@r_devops
Podcast recommendations?

I'd love to know what podcasts people are listening to -- I've found a few that are of varying quality (subjectively):

- https://www.softwaredefinedtalk.com
- https://sysadministrivia.com/
- https://drunkandretired.com/ (now known as The Hallway Track, a bit more general and not so DevOps focused)
- https://kubernetespodcast.com
- https://www.inteltechniques.com/podcast.html (a bit more security/privacy focused)

Would love to learn of some new things to listen to that people rate highly.

https://redd.it/p4kdl4
@r_devops
Sigstore: A Solution to Software Supply Chain Security

Hi /r/DevOps,

Recently, I've been digging through security tools and playing with Project Sigstore and it took me a while to get a hang of how it works, so I made a quick write-up of what I learned, so in case any of you are interested in supply chain security or want to learn about sigstore, then this might be a good starting point.

Here's link to the article: https://itnext.io/sigstore-a-solution-to-software-supply-chain-security-35bc96bddad5

Feedback is very much appreciated!

https://redd.it/p5ezjq
@r_devops
Need advice getting into Devops: Recently rejected after 2nd round interview

Hello all,

A bit of my background - I have a BS in IT with a concentration in database and programming, however the bulk of my coding knowledge is what I learned in school and primarily in Java.

I got a job as a Tier 2 IT help desk before I graduated a few years ago and stuck there for about a year and a half, then recently got into a Jr. Systems Admin position at a law firm.

The problem is, I feel like I was baited into this "Systems Admin" position and basically am doing only desktop support for these lawyers, and I don't get to touch a lot of the cloud/networking/vmware side of the role a lot, so I wanted to look for more of an engineering role before I get pigeon-holed as an IT support guy.

I recently interviewed for a Junior DevOps position in a city I would love to live in, and I made it to the "Take Home Exercise" portion of interview process. The exercise was as follows:

**Using the scripting language of your choice, write a script that adds “Hello World” to a new line at the end of a text file, and then saves that file. A path to the text file should be provided to the script by an argument given at runtime (e.g. hello.sh path/to/file.txt).**

I don't have much scripting experience, as I stated earlier I only got up OO-Java in school, but I gave it a shot in Powershell and came up with:

$output = "`nHello World"
Add-Content -Value $output -Path "C:\\Users\\ProfileDisk\\username\\Documents\\test.txt"

I tested the script and it seemed to be working fine, but after submitting the exercise and not hearing back for 4 days, I got the "we are moving forward with a different candidate" stick.

I wanted to know from any of you senior DevOps people if my code was bad, what I need to learn etc. to land a DevOps position. My mental health cannot stand anymore "fixing printers for non-IT people" type of jobs, as I feel like I am wasting the time and money I put into getting an engineering degree in IT.

Any advice or help would be greatly appreciated, thanks!

https://redd.it/p5fl6d
@r_devops
How long does it take for new starters to contribute.

I’m about a week into my first ever job and last week I asked the question to my manager as to when I should be expected to contribute, he said not until the end of the month or two. Which is kinda scary given that it’s my first devops job and I’m new to this whole thing and learning new tools takes time.

Just wondering how long it usually took for other people.

https://redd.it/p5gknf
@r_devops
I’ve been having trouble finding a role in the NYC area, as a junior engineer.

Hello all. I am about 2 years into my first DevOps role out of school, and my contract is coming to an end by the end of the month. This is an associate level role. I have been actively looking for new roles this past month. I’ve applied to about 40-50 different places, and have only had one interview, which was a no go as well. There aren’t many junior listings that I see. The ones I do see, the competition is crazy. There are even senior engineers applying, there are people with masters degrees applying, etc. The problem is, most of the roles I find, are mid-senior level. I obviously still apply, but I don’t know if it’s a waste of time. Any help would be much appreciated. It feels like I need another 2-3 more years until I can officially call myself a mid level engineer(I’m 23).

https://redd.it/p5h7ag
@r_devops
SaaS custom domain application

Hey guys,

I'm kind new to devops and aws, I will explain my problem, I'm bulding an SaaS e-commerce plataform (like shopify), what I'm struggling is finding a way, to each customer has his own domain (with TLS), in a scalable way.

So I looked in Aws Cloud Front, but there is limit to cnames, certifications and others things. I looked into a cloudflare service too, that is made for this, but is not affordable, so that's not a way out.

There is like, this package https://github.com/auto-ssl/lua-resty-auto-ssl that is very tempting, the problem is, that I think I will have scalability problems, like, how will I put a Load balancer in front of my application or a CDN, if the certificate should be installed in them?

Have you gone through this? What solution can I approach?

https://redd.it/p5gtuv
@r_devops
Successful Kubernetes Development Workflows

This is a talk from the GOTOpia Chicago 2021 conference. I've pasted the full abstract below for some more context before you dive into the video.

https://youtu.be/9csPAXYEf7M?list=PLEx5khR4g7PKSASVAXXiAhkyx02\_OeruP

ABSTRACT

Kubernetes solved a lot of problems, but it created a clumsy development workflow: Every code change requires fiddling with containers, registries, and manifests. Managing config files isn't trivial. Distributed debugging; a mystery. Dev clusters are tricky to set up, and sharing cluster state among team-members is mostly fiction.

L Körbes, an expert in Kubernetes development tooling, outlines successful development workflows in three different settings: a very large enterprise, a small and agile startup, and a popular open source project.

L will share how they set up dev clusters, manage configs, automate the development feedback loop, share context across teams, debug, and, finally, deploy to production.

Come learn how these teams made their Kubernetes dev workflows not only seamless, but amazing to use!

https://redd.it/p5etst
@r_devops
Sparrow plugin to run gitlab pipelines

Meet sparrow plugin gitlab-run-pipeline to run gitlab pipelines through Raku API.

https://redd.it/p5lcgj
@r_devops
What open source projects or free/freemium/low-cost hosted services do you use for personal/homelab purposes?

I have what I call a "completely unnecessary" personal and homelab setup (unnecessary because I can live without any of the things I have, but I do it for fun and I also get to experiment with things I can incorporate at work). It runs mostly on open source software or hosted services with a free tier, so the recurring costs are quite low.

I was wondering if anybody is using anything they're currently using that they would recommend.

Here are some of the things I'm currently using:

* [Kubernetes](https://kubernetes.io/) (obviously), on top of which most of these projects run on
* [Terraform](https://www.terraform.io/), with the state hosted on the free tier of [Terraform Cloud](https://www.terraform.io/cloud)
* [Prometheus](https://prometheus.io/)
* [Grafana](https://grafana.com/)
* [PagerDuty](https://www.pagerduty.com/)
* [Minio](https://min.io/)
* [Okta Developer Plan](https://developer.okta.com/)
* [Longhorn](https://longhorn.io/)
* [CloudFlare](https://www.cloudflare.com/)
* [ImprovMX](https://improvmx.com/)
* [PiHole](https://pi-hole.net/)

So, what are you using that you can recommend?

https://redd.it/p5j7w2
@r_devops
What tools to use for CICD pipeline of a Python webapp

I am going through a DevOps certification, because my organization demands it. In the tutorials they demonstrated whole CICD pipeline for a Java project. SCM - gitea; unit testing - junit; orchestration - Jenkins; artifact repo - Jfrog; code review and coverage - sonarqube; containerisation - docker; server mgmt - ansible; and deployment - Tomcat.

Now I am expected to use a similar CICD pipeline for my own project. I am not comfortable with Java. So, made a small project in Python, thinking that same tool can be used. But apparently not true. And now I am stuck and don't know what to do.

I am not in development roles (I am in quality function, and deal with mostly process related things) so, don't have any idea on the tools used.

Currently, I have gitea for SCM, pyunit for testing, docker for containerisation, ansible for server mgmt and flask deployment. Rest all I am not able to find. Please suggest what all tools can be used to complete a Python webapp CICD pipeline.

Thanks

https://redd.it/p5nzm0
@r_devops
On the learning Boat of DevOps, looking for more ways to learn

Hello there!
I started learning DevOps recently using online resources. Currently I have learned a bit of Jenkins and integration with Dockers. I've gone over integration of MySQL and S3 bucket for AWS. I want to learn things as quickly as possible and I'm quite adaptable and quick at learning as well.

I am looking for one of these things:
1. A small group Working on some project who won't mind getting me on board as a learner, I'll learn alongside and contribute to the project.
2. Some one who is experienced in DevOps and can help me by directing me on things like what should I look into next, what are the main components of automating etc, basically a guiding hand.
3. Mentor in his/her free time who will like to help me learn it.

I know it sounds a little bit selfish but I'm really excited to learn this and probably make a career in this, and I am also a firm believer that spreading your knowledge to others is a great ability and a kindness.

Even if our time zone won't match, I'll work to make things work and I can easily provide 3-4 hours daily and much more weekends for just this as I work on Monday to Friday.

Let me know if someone has some free time and will like to help me out a bit.

https://redd.it/p5otoj
@r_devops
What am I ?

Hello,
I've been working in my company for about two years. My title is backend developer, but since I've started I've been handling stuff like automating load balancing clusters management, integrating security into k8s clusters, dockerizing APIs that I write, creating CI/CD pipelines, debugging and handling application performance, automating DBs synchronization , designing applications, securing code, Docker images and basically I have the right to do any task without limiting myself to a specific field.
I just call myself a software engineer that does some DevOps sometimes, I know DevOps is a culture, but I'm talking about the mainstream definition of the word, automation + tools. But is this more than what is asked of a software engineer to do ? I can't even imagine just writing code and letting someone else handle its deployment.

https://redd.it/p5nnrr
@r_devops