Reddit DevOps
271 subscribers
11 photos
31.1K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Looking for specific Udemy Courses or other good learning sources

Hello everyone,

I am leaving my current position and have the opportunity to get more into DevOps. I already have some experience with it on the Dev side of things and know how software shipment works too.

We are currently planing to migrate our TFS to Git and use GitHub Actions in the future.
Also we are using Azure as our Cloud Service and current Pipelines.

So what I need would be some good courses about Azure DevOps and Git/GitHub Actions. I am planning in the not so near future to get an Azure certificate too.

I would be the first full DevOps Engineer in the company, just for info and need all the help I can get.

Are there any recommendations that makes the switch for me easier? Any courses you would suggest?

Thanks!

https://redd.it/1d6igay
@r_devops
What must I study to work in the area of data?

So I'm 18 years old and Brazilian. I'm going to start college in a few months, that being said, what must I study? At some point, I want to work outside my country.


https://redd.it/1d6n73b
@r_devops
Encryption of terraform state using OpenTofu

OpenTofu is an opensource fork of terraform. It now from v1.7 allows client-side encryption of terraform state in remote backend.

Lets find out how we can encrypt terraform state, also how can we change and remove encryption key using OpenTofu in this article.

https://linuxshots.navratangupta.in/encryption-of-terraform-state-using-opentofu-04fd9dd2f562


https://redd.it/1d6xoo0
@r_devops
How to sell this?


I made a tech for real time design to production. Its a cool technique and scales to design a designer tool, designs a developer tool, and can design to usable softwares too.

I'm trying to do something new in my learning pattern, I have a rough thought of putting this in a demo page. The first version, with a minimal feature, will be put on sale.

The payment is to let customer's do over postal, I receive it. After confirming the payment, I'll courier instructions to build this tool, with instructions to build other tools as a written copy.

I'm not sure about where to share this product page with. could you tell me where to put and the price for it?

Link to the demo - https://www.youtube.com/watch?v=KHpf8h0JMuo

https://redd.it/1d6y562
@r_devops
Help Needed: MongoDB Authorization Issue with Docker Containers


Hey Reddit,

I'm facing a problem with MongoDB authorization and would really appreciate your help.

Here's the situation:

- I have MongoDB 4.4 running as a Docker image.
- There's another Docker image that connects to this MongoDB container to run my application.
- When I enable authorization in MongoDB and use the URI:
  mongodb://<username>:<password>@mongoContainer:27017/<database>?authSource=admin

I can access MongoDB using the mongo shell without any issues.
- However, when my application tries to access MongoDB using the same URI, it throws an authorization/authentication error.

This is becoming a blocker for my application, and I need to solve it urgently.

Have any of you faced a similar issue? What steps did you take to resolve it? Could there be something I'm missing in the configuration?

To get a clearer picture and help me troubleshoot, here are a few questions:

1. Are there any specific settings or environment variables in Docker that I should be aware of when enabling authorization in MongoDB?
2. Could this issue be related to network configurations or Docker bridge network settings?
3. Is there a difference in how MongoDB handles connections from the mongo shell vs. an application?
4. What are the common pitfalls when setting up MongoDB authentication in a Dockerized environment?
5. Are there logs or error messages I should check that might give more insight into the authorization failure?
6. Could this be a version related issue, but if so how am I able to access it using the mongo shell?

Any tips, suggestions, or guidance would be immensely helpful.

Thanks in advance for your support!

https://redd.it/1d6x1ti
@r_devops
Integration Testing with GitHub Actions

So you write integration tests, what's next!?

Where do you execute the tests that require database, caching, etc.?

Do you offload that task to a CI somewhere?

You better.

If not, here's a write-up on how to do that with GitHub Actions, using the Fullstack FastAPI Template by the famous author Sebastián Ramírez Montaño (I always admire his work 🙌 ).

In this blog post, you will see a practical example of running integration tests inside the CI using the GitHub Actions services. These services help set up ephemeral containers for your application, which will then be torn down (to pieces).

If you enjoy automation, this blog post is for you.

Share it with your network if you enjoy the content.

<https://developer-friendly.blog/2024/06/03/integration-testing-with-github-actions/>

https://redd.it/1d6zw7m
@r_devops
How can DevOps be beneficial for software development companies?

Faster Time to Market - By automating processes and removing bottlenecks

Improved Collaboration - Closer collaboration between development, operations, and other stakeholders

Increased Reliability and Stability - Automation and monitoring in DevOps practices help detect and resolve issues more quickly

Cost Savings - By automating repetitive tasks and optimizing resource usage helps reduce operational costs

Enhanced Security - DevSecOps practices integrate security into every phase of the software development lifecycle

https://dynatechconsultancy.com/devops-services-solutions

https://redd.it/1d720vq
@r_devops
Best Azure Devops live Course online

Hi all,
I am a software engineer working in Accenture in India
I am currently working on azure infra with 2 years of experience and want to shift my career to azure devops and obtain a good package later on so i need some suggestions for some good online live courses for devops with azure which include placement program too(do suggest me which does not include also)
Also do suggest me some YT channels which are free of cost for devops with azure

https://redd.it/1d72zju
@r_devops
Switching role from QA to DevOps: Seeking Advice

# Hey everyone,

I am currently working as a QA Engineer (Manual + Automation) with 1 year and 7 months of experience at a single company. I am looking to switch my role to a DevOps engineer. To achieve this, I am currently learning Linux basics through Udemy and other online resources. I have also started applying for Linux/System Administrator roles.

Am I on the right path by applying for Linux Admin jobs now, even though I haven't completed any formal courses and am relying on self-taught knowledge? How challenging will it be for me to secure a Linux Administrator/ DevOps fresher job with my current background? Can anyone please guide me?

Thank you.

Ps: I am from India & I have a notice period of 2 months in my current company.

https://redd.it/1d73yq6
@r_devops
UPDATE: OneUptime - Write Synthetic Monitors in Playwright.

ABOUT ONEUPTIME:

OneUptime (https://github.com/oneuptime/oneuptime) is the open-source alternative to DataDog + StausPage.io + UptimeRobot + Loggly + PagerDuty. It's 100% free and you can self-host it on your VM / server.
OneUptime has Uptime Monitoring, Logs Management, Status Pages, Tracing, On Call Software, Incident Management and more all under one platform.


UPDATES:


We have launched Syntheic monitoring product. With the integration of JavaScript and Playwright, synthetic monitoring has become more accessible. The same code that has been utilized in your CI/CD pipelines can now be employed to monitor your user flow journeys!


Here's a quick 10 minute demo: https://www.youtube.com/watch?v=Ae5UG1zXURc


REQUEST FOR FEEDBACK & FEATURES: This community has been kind to us. Thank you so much for all the feedback you've given us. This has helped make the softrware better. We're looking for more feedback as always. If you do have something in mind, please feel free to comment, talk to us, contribute. All of this goes a long way to make this software better for all of us to use.


OPEN SOURCE COMMITMENT: OneUptime is open source and free under Apache 2 license and always will be.

https://redd.it/1d72ho2
@r_devops
Dev Container Advice - Standards in legacy projects

I was pointed to this community by a member of r/vscode

My team are exploring devcontainers across multiple repositories that are interdependent (legacy projects we're trying to enhance for better local development).

Devcontainers seem like an excellent solution, and we've managed to get a few working. However, I'm looking on advice on best practices with legacy projects, as the available documentation doesn't seem to cover standards or shared experiences of these - they're very much about setting up new projects.

Here are a few questions we have:

1. Cloning vs. Mounting Code: Is it better to clone the repository into the container or mount the local code into the container? Mounting seems preferable despite the performance hit.
2. Using Existing Dockerfiles: All our repositories have existing Dockerfiles. Should we use these Dockerfiles as the base for the devcontainer, or should we create new Dockerfiles in the .devcontainer folder, which feels redundant? However if we were to create new repositories, creating a new Dockerfile in the .devcontainer folder seems logical.
3. Pulling Production Images: We considered using tagged builds of our 'production' images from as the base for our devcontainers. However, we believe this would result in many pulls due to updated base images. Instead, we plan to set up a watch on specific files that impact the base container and create devcontainer-specific images to minimize pulls. Our root Dockerfiles include ARM-specific dependencies that we can't build locally, and this approach addresses that issue. Is this a good practice? Is this a good practice?

Apologies for the basic questions – we've only been exploring this for a week. Any advice would be greatly appreciated.

https://redd.it/1d773cf
@r_devops
Devops Professional Certificate Course under 10 days.

I was interviewing for a company and they have asked me to do a professional devops certification course before I join them.
Problem with that is that the one suggestion they've given in excessively boring and weird.
I want something that is hands on interesting and a Lil fast paced with actual work and not 2 guys chatting about devops topics where I need to nibble on parts of their conversation to make sense about devops

About me :
1. I'm a fresher so don't know jack shit about the field but somehow managed to clear all the interviews.
2. Previous experience of working as a Data analyst ( internship only )
3. The role I'm going to be working in is for data engineering.

Key Requirements :

1. Professional Certificate ( so udemy , Coursera etc won't do cuz would only get completion certificates and AWS and Azure ones are 3 to 6 months long )
2. Should be able to do it under 10 days ( that's the time I have before joining )



https://redd.it/1d73y2d
@r_devops
Stuck in DevOps role

I’ve posted on here before about my current position. I’m an associate DevOps engineer. Have been for a little over a year and a half. I make $61k and everyone says I’m way underpaid. (DMV btw)

But I only have an associates degree in cybersecurity and a year of digital forensics grunt work before I got into this DevOps role.

Everyone tells me on here I’m way underpaid and I’m being taken advantage of and my company is getting cheap labor.

But the thing is I’ve applied and applied and have been getting nothing back.

I know the job market generally sucks rn. But for DevOps some of these requirements are insane. The active secret clearance is what gets me. How are you supposed to have an active TS clearance if the company won’t sponsor you? Also clearances are EXPENSIVE, if you have one, why would you be jumping ship to another job??

8+ years of exp required
Must have bachelors with 4 years exp.

I’m only at an associates with a year and a half of DevOps experience.

My tech stack is Azure, K8s, PostgreSQL DB, Terraform, Azure Bicep, Debian, Ubuntu, Python, Docker, YAML, some node.js.

Kinda stuck here. What do I do?

I’ve got an AZ-900, studying up for the AZ-104. But even if I had AZ-104 I don’t think I’d have much better luck.



https://redd.it/1d7bjdt
@r_devops
DevPod vs VSCode devcontainer extension

What value does DevPod brings compared to the VSCode's devcontainer extension?

https://redd.it/1d7csns
@r_devops
TBD: Where do you draw the line between a long lived branch and a shorts lived branch?

So I am reading about Trunk Based Development and they talk about not having long lived branches.

I find the term subjective. For you, where do you draw the line between "long lived" and "short lived"?

https://redd.it/1d7cpz8
@r_devops
I put together slides for a presentation our teams presenting, and our tech lead only made one edit lol

I ordered our names in alphabetical order just because (not really much thought behind it)..

My name happened to be first, and he swapped my name out for his..

so now its

Lead
Me
Dev
Dev

instead of

Me
Lead
Dev
Dev

Is he insecure? lol

https://redd.it/1d7g0me
@r_devops
Learn Helmfile and Helm

I'm looking for the best way to learn Helmfile , besides the documentation. At least some place where I can find examples on how to use certain features of the tool. For example how to implement post rendering with bash scripts and kustomize. I want to do this declaratively, instead of adding arguments upon execution of the installation command.

https://redd.it/1d7e7cq
@r_devops
What metrics to use for Dynatrace alerts?

What is a good candidate for metrics for Dynatrace alerts?
They have alerts based on service failures or response time but I believe it's also possible to use custom metrics based on the log analysis, e.g. number of purchase per day, etc.
Dynatrace has so called anomaly detection for those alerts. Which means it should be based on AI analysis of the metrics. Does anyone use it?




https://redd.it/1d7hlbj
@r_devops
Resumes (I know…)

Today I got handed a stack of resumes to peruse through, and it got me wondering - how do you keep yours updated/hiring manager friendly?

Out of all the resumes I looked through today for our Jr position that’s available, some were fantastic (explained their experience with particular tooling, environment etc) and some were absolutely terrible (“I have two years K8’s experience, I use AWS”). It appeared that there wasn’t a happy medium, they were either great or absolutely terrible.

So it got me wondering… AI? Hiring Resume Writers? Using a basic template from MS Word? How do you keep yours up to date or unique to grab attention?

https://redd.it/1d7jeen
@r_devops
Stay in current role or Jump for Kubernetes Experience? Advice needed

Hi everyone,

I’m a DevOps engineer with 5 years of experience at a growing company that I enjoy for the most part. I work from home, pay is good (153k salary, NYC), 9-5. My current role exposes me to a wide range of tech (AWS, CI/CD, Terraform, GitHub/GitLab, ECS/Docker, Datadog, scripting, etc.) and even some Python work with Data and Analytics teams. However, the one thing missing is that feels substantial (to me?) is Kubernetes (k8s) experience – at a previous role I used it for just over 1 year. Our tech stack is composed mostly of EC2/ASG (bootstrapped with poorly written chef from a company we bought, bleh), Lambda, CDNs, some ECS and API GW.

I’m 29, and while my current company offers room for advancement to senior roles and beyond, I’m worried that not having more k8s experience, right now, could impact my career for the worse. There’s a possibility we might use Kubernetes in the future as we are in the early stages of migrating most of our applications to containers and ECS, and if the use case for orchestration arises, but it’s not certain.

Would you recommend jumping to a new job where k8s exposure is guaranteed, or should I stay put and hope for future opportunities with k8s at my current company?

Looking forward to your advice!

# TL;DR:

Enjoy my current DevOps job with good pay and growth potential, but lacking Kubernetes exposure. Should I stay and hope for future k8s opportunities or jump to a new role where it’s guaranteed?

https://redd.it/1d7l2lu
@r_devops
Best app for transcription?

Is there an equivalent of a "Google Recorder" app on iOS? I got a lot of search results when I searched for a transcription apps, but a lot of them seemed a bit fishy. I'm transcribing business meetings, so I'm hoping to find a safer app, e.g. something from Apple, Google, Amzn, MS, etc. Some of the meetings will be in foreign languages, so unfortunately Otter.AI wont work

https://redd.it/1d7ko6d
@r_devops