Reddit DevOps
269 subscribers
4 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Doubt on Terraform resources sharing between tf states

Just an imaginary scenario,if I define same AWS resource in three tf states (dev,prod,staging) as that resource is shared for using in all environments.If I destroy tf state or remove that resource in any one of the environments tf state ,Will that actually cause deleting that resource? How normally handle these type of scenario? Or we have to keep different statefile for shared resource?
If this question is dumb,pardon.am just a beginner🤝

https://redd.it/1dqhrxk
@r_devops
For a DevOps role, how deep should I dive into learning PromQL?

Share your experiences! Is basic understanding enough, or is diving deeper a must? Let's discuss the importance of PromQL in the DevOps toolkit and how much knowledge is truly necessary.

https://redd.it/1dqjmdp
@r_devops
I systemized a True-Fans-Based Growth Model to make launching new products easier for myself

I launch new products cyclically. Just an indie makers life. Some were very successful, and some less so. I've been in the industry for many years, and I've heard many stories of enterprises from my friends in the industry. I love reading about successful startup stories and adopting the best strategies for myself. I believe that learning from those who have succeeded by thinking outside the box and pioneering new marketing strategies is the foundation that allows us to break patterns ourselves

Some time ago I decided to start writing down ideas and strategies that I personally find most useful so that I could return to them and draw inspiration from them. As it often happens with personal notes, the idea evolved

I divided the product launch into 5 stages (before the product is made, when the MVP is being made, pre-launch, launch, and post-launch), identified the problems I most frequently encountered (and still often face despite a long history with product launching and management) and wrote down strategies to deal with them

What ended up in the final version?
Primarily solutions. Lists of universal possibilities that can be applied in various niches and markets and my favorite - case studies, which allow me to draw inspiration. Of course, I also included articles and books that I used for support

I tend to overthink every obstacle that comes my way and having a simple, clear strategy with examples of their application helps me a lot. Sometimes it's enough for me to read about how industry giants solved their problems to “unlock” the creative process which is key to a success.

If you want to check this out, here's the link: bigfootatemysandwich.com/l/hdvic

Maybe it will help some of you too. Would be awesome if you left a comment. I want to give the knowledge for free as much as possible and so the only reward we get is the impact we are able to give.

PS The file is also available in PDF format, but honestly, it is much easier to use in Notion. It's 48 pages. It's hard to read as a wall of text.

https://redd.it/1dqk6nz
@r_devops
Google maps api not diaplaying all data

Through an AI Html code (as I have no coding knowledge). The map is more or less working but I have some issues:
The places display full information. Actually picture, website etc is missing
Not consistent results. He has to lookup for a specific keyword but does not show up always the same places.
The maps behaves wierd. The places information stays up when you click away

Api enabled: maps embed api, maps java script, maps static api, geocoding api, paces api new

https://redd.it/1dqmea2
@r_devops
VM create by Packer, no IP assign and can not an IP

Hi friends,

I use this link for create Qemu ubuntu image by packer,

https://shantanoo-desai.github.io/posts/technology/packer-ubuntu-qemu/
after create an image I run it by this command



Virt-install --import --name Ubuntu --memory 8200 --vcpu 2 --vcpu host --disk Ubuntu,format=qcow2,bus=virtio --network default --os-variant=ubuntu22.04 --graphics spice --noautoconsole 
but when I run this command I see no IP assign to this VM

Virsh domifaddr Ubuntu
Name MAC address Protocol Address
-------------------------------------------------------------------------------
and I see this too



virsh dominfo ubuntu
Id: 10
Name: ubuntu
UUID: 93f6a9fb-e331-4a07-b7c1-c324771b3ca8
OS Type: hvm
State: running
CPU(s): 2
CPU time: 306.8s
Max memory: 8396800 KiB
Used memory: 8396800 KiB
Persistent: yes
Autostart: disable
Managed save: no
Security model: apparmor
Security DOI: 0
Security label: libvirt-93f6a9fb-e331-4a07-b7c1-c324771b3ca8 (enforcing)

I do know which part of this guide must change



https://redd.it/1dqrfu5
@r_devops
Creating a Custom AWS API Gateway REST Terraform Module

Hi everyone! I hope you're all doing well.

Has anyone worked on a fully custom AWS Terraform API Gateway module for a PRIVATE REST API? I'm trying to set one up, but the API Gateway (REST) has some of the most challenging Terraform modules and syntax I've encountered.

We're aiming to create a REST Private API with several endpoints that will forward incoming private traffic to other private resources.

For context, we're avoiding the messages/publisher/receiver architecture between microservices (as per the CTO's preference).

If any of you have experience with this, could you share some advice on managing communication between microservices? We currently use REST API requests between microservices, but we're open to other methods.

Thanks a ton!

https://redd.it/1dqtcsn
@r_devops
Is LPIC-1 worth it?

I'm officially starting out as an SRE, and I'm looking to strengthen my fundamentals, and I believe that LPIC1 is perfect for this case.

My question is, is it worth investing in LPIC1? Would you recommend another cert?

https://redd.it/1dqu9qh
@r_devops
Crossplane for IaC

Is anyone here using crossplane for their IaC and what has the experience been like? We are currently evaluating it and I’m just starting to understand the concepts of composite resources and definitions. Seems like it could be a powerful tool for environments that are k8s based.

https://redd.it/1dqu68q
@r_devops
Recommendations on learning PKI / TLS/SSL implementation

As title states, I do want to learn the theory but also want something to maybe help me learn how to implement TLS/SSL certificates and establish chains of trust etc. I realize im weak in this area and need to improve, as i dont have a background in doing this , ever . Just want to learn, hoping someone has a good course or book they can recommend. Ideally something not 1000+ pages long lol or 60hrs for video.

https://redd.it/1dqskoq
@r_devops
Recommend course or project

Everybody is saying that certificates aren’t that good in devops and real experience is much more appreciated here, so what can I do to get that experience? which projects? already made Pipeline in aws with github and etc but now I can’t really think of some other interesting ideas and also which course would you recommend or certificate for beginner (cs student for second year had small experience of working in IT)

https://redd.it/1dqs6na
@r_devops
What is the standard policy for testing in lower environments

A few years ago I was the sole devops engineer at seed round startup. I created all the infrastructure, pipelines, etc but once the company went to get a large multimillion dollar contact I was laid and replaced with a senior SRE with 20 years of experience. The company had very tight SLA requirements and I had only worked with seed round startups in the past and they told they wanted someone with more experience with a large production customer. I automated Al the terraform, schema changes, CICD pipelines and a variety of other tasks.

I was focusing on security and I went through a soc 2 audit when I found out the news that I was being laid off. I asked for feedback and my manager said some of the infrastructure in the lower environments were not fully tested. In the seed round with no customers I tried to ship code quickly to the development environment to test. The feedback I got was although I was testing in the development environment, the developers felt like the development environment was unstable at times and were hesitant to trust me when it came to production. We never had a production outage with a customer but the fact that wasn’t battle tested with enterprise traffic scared them.

Is there an acceptable protocol for testing terraform or helm charts in a development environment. We were using argocd and had a limited budget so I could only deploy in the shared development account for testing.

Is there a recommend way to unit test boto3 calls in a lambda function, modern ways to test terraform and ansible ? Is this a realistic expecting that development environment always be bugged free or should I have deployed to development environment only on weekends when other developers were off work to test a configuration?

https://redd.it/1dqzoqc
@r_devops
AZ-104 and AZ-400 or CKA

Hi everyone

I am looking for my first devops role. I know they are completely different certificates and serve completely different purposes but still, which certificate will be more valuable in my CV and increase my chances of HR contacting me?


https://redd.it/1dr0gfk
@r_devops
What cloud to use for my project

Hey, devoos community. I'm working on my side project and made MVP and not it is time to deploy on production. Can you please share your experiences or recommendations what Claude or solution to use for a website for a cost effective.



https://redd.it/1dr48ib
@r_devops
Learning devops, help

No supported authentication methods available ( server sent: public key ) This error is showing in mobaxterm
I know it's a silly thing to ask but I don't find any proper solution on internet

https://redd.it/1dr5l8h
@r_devops
Would you pay for a tool to generate the infrastructure as a code for you?

Do you spend a lot of time with integration?


Last time, I spent 21.4 hours building a predictable infrastructure with Pulumi. It was for a simple Golang app. Unfortunately, it was a convoluted process:
1. I had to set up service accounts.
2. I had to review the scattered documentation for permissions and roles.
3. Dealt with obtuse errors
4. ChatGPT, Gemini, et al. failed to give me the proper answers.
5. Had to orchestrate the services so they'd turn on one after the other.
I know there are wrapper services, cloud management solutions, and tools.

​

But in the end, they all either:

a) A wrapper service for the main cloud providers (AWS, Azure, GCP),
b) An alternative cloud for managing the main cloud providers (and they charge you per month)

​

And all charge you for a monthly fee on top of your current bills.

What if you had a tool to generate a Pulumi or Terraform code for you? Something that you'd paid once, and then could you maintain or freely extend it as you please?


View Poll

https://redd.it/1drg6na
@r_devops
Career Path Choice Paralysis

I'm sure this is something a lot of other people on this sub have faced, so I'm here to see what other people might've done to get over it.

I'm currently working solo IT at a law firm with my only other experience being 1.5 years of helpdesk at an MSP. The job is ok, but I know it's not where I want to be in the long-term. What I'd really like to get into is DevOps or anything really where I can spend more time coding or scripting. I just really enjoy making automated systems and making them run smoothly via code. Spending more time in an IDE would be awesome. Playing around in CLI is fun as well.

There's a lot to go into and learn for a potential role in DevOps from linux to k8s and a lot more, especially if I lean more into the ops side considering my current work experience. Ideally I'd like to just make the full leap, but I'm not expecting to be able to go straight into a DevOps jobs from this role, so I'd like to at least get something closer, so that the next transition is easier. I start second guessing what I should study and I've wasted so much time not actually learning anything at all outside of my job.

I'm so confident that I'll start studying networking one night(because my networking is kinda weak), then the next day I'll be second guessing my choice and think that maybe I should delve deeper into Linux or Python. Something a bit more directly in line with DevOps. I imagine the route to getting this DevOps job would be to lean more on the ops side considering the experience I already have, then trying to transition more to the dev side after landing my first role. I end up not knowing which path to pursue because I want to lean more heavily into the dev side, but I also still enjoy the ops side and feel like it might better land me a job.

Honestly, I'm not entirely sure how to put this feeling into words. Even with all I've written I don't think I'm quite getting across my problem. I'm being kind of vague, but I can't think of a better way to word it. If anyone has been in a similar position, any advice would be appreciated. I'm worried about my career coming to a standstill at this rate. Currently I'm thinking about studying for the RHCSA and doing a little networking study on the side, but knowing me, I'll change my mind again soon.



tldr; I want to get into some kind of DevOps or linux sysadmin role. I end up not being able to choose a path and have not effectively studied in over six months. I was just curious if anyone has been in a similar position and had any advice.

https://redd.it/1drqbrf
@r_devops
Docker Compose ECS Integration Migration

I have an application developed and deployed using the retired Docker Compose ECS Integration (https://docs.docker.com/cloud/).

In short, my docker-compose file included some sections which are specific for deployment. Then, by switching to an ECS Docker context, I was able to deploy these containers on ECS, such that Docker elements are translated into AWS elements automatically.

I am looking for an easy and efficient way to convert my already existing deployment pipelines.


Would appreciate any help.

https://redd.it/1drz6mk
@r_devops
Did you know Apache Softwares?

Hi everyone ,

During the last 2 days I have been learnin a course in my master's degree about software platforms. And it keep mentionin a lot of Apache <x> for each type of approaches.
I do have a 3 year experience as a Cloud and Devops engineer , but to be honest except Apache web server , tomcat and kafka i have not worked with anything from apache. Mostly because we live at a time that large cloud providers provide a lot of video /courses/certifications on public clouds that are easier to learn so that is why a lot of people go along that path .

But I made a question to ChatGPT and it gave me a great response that I didn't even know.

The Apache software.

# Web Servers and Networking

Apache HTTP Server: A widely-used web server software.
Apache Tomcat: An implementation of Java Servlet, JavaServer Pages, and Java Expression Language.
Apache Traffic Server: A fast, scalable, and extensible HTTP/1.1 compliant caching proxy server.
Apache MINA: A network application framework for Java.

# Big Data and Analytics

Apache Hadoop: A framework for distributed storage and processing of large data sets.
Apache Spark: A unified analytics engine for big data processing.
Apache Flink: A stream processing framework for high-performance, scalable, and accurate real-time data processing.
Apache Hive: A data warehouse software facilitating reading, writing, and managing large datasets in distributed storage.
Apache HBase: A distributed, scalable, big data store.
Apache Druid: A high-performance, column-oriented, distributed data store.

# Database Management

Apache Cassandra: A highly scalable, high-performance distributed database.
Apache CouchDB: A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API.
Apache Derby: An embedded relational database engine.
Apache Drill: A schema-free SQL query engine for Hadoop, NoSQL, and cloud storage.

# Machine Learning and AI

Apache Mahout: Scalable machine learning and data mining library.
Apache Spark MLlib: Machine learning library integrated with Apache Spark.
Apache MXNet: A deep learning framework designed for efficiency and flexibility.

# Messaging and Integration

Apache Kafka: A distributed streaming platform.
Apache ActiveMQ: A message broker which fully implements the Java Message Service (JMS) API.
Apache Camel: An integration framework that allows you to integrate various systems consuming or producing data.

# Developer Tools

Apache Maven: A build automation tool primarily used for Java projects.
Apache Ant: A Java-based build tool.
Apache Subversion (SVN): A software versioning and revision control system.

# Content Management

Apache Jackrabbit: A fully conforming implementation of the Content Repository for Java Technology API (JCR).
Apache Roller: A Java-based blogging software.
Apache Lenya: An open-source content management system.

# Data Visualization

Apache ECharts: A charting and data visualization library written in JavaScript.
Apache Superset: A modern data exploration and visualization platform.

# Cloud Computing

Apache CloudStack: An open-source software designed to deploy and manage large networks of virtual machines.
Apache Libcloud: A unified interface into various cloud service providers, written in Python.

# Other Notable Projects

Apache Zookeeper: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
Apache Groovy: An object-oriented programming language for the Java platform.
Apache Lucene: A high-performance, full-featured text search engine library.
Apache Tika: A toolkit for detecting and extracting metadata and structured text content from various documents.


There are so much opensource software that we can use , it has great documentation , they are meant for
enterprise level usage.

Did you guys knew all of this ?
IT even has its own private cloud software O.O

You can leverage fully Apache software for an entire project.

What are your thoughts?

https://redd.it/1ds1jnb
@r_devops
Need Advice: Aiming for a DevOps Internship

Hey, I'm an applied CS (bachelor) student and would like to get some help & discuss some things about choices I have.
I will have my internship next year and I'm thinking to find one in devops as this seem to be the field the closest to what I'm looking for (I love automation, learning a bit of everything, like coding a bit but would hate to be a full time dev, I find docker&linux hella fun) but it seems like a lot of ppl seem to refer to devops as a non starting position and I'm also seem to lack a lot of skills linked to devops as they are simply not taught in my studies, so I wonder if it's the right choice and what I need to do to achieve it.

My current skill set include:
- Programming (python, c++, java, web, sql,...)
- Git/Github (Ik git pretty well, github is more essentials like PR & github actions)
- Linux (not advanced, good enough to feel natural to work in it)
- Docker (best skill ig)
- (ELK (really basic, did one project w it where we made a dashboard to display heartbeats of different services (we didn't even used logstash)))
- It operation stuff (AD, DNS, web server, (reverse)proxy,...)
- Rabbitmq (really basic, same project as for ELK, we received the heartbeat via rabbitmq)
- Unit testing (basics, up to mockobjects in java)
(and some base networking but I havn't taken it in 2nd year cz I'm stupid)
As you can see I have never touched most devops skills like ansible, Jenkins, terraform, K8 (although K8 especially looks really fun),...
And it seems both too much to do in those vacations (w what I already have to do) and I'm not even sure I know my current skills good enough.

I also can choose those courses next year and have to pick 5 (beside my final work which I have an opensource project which has nothing to do w devops I would want to contribute and my internship itself):

|Courses||
|:-|:-|
|Android Development|Hell nah|
|BI Analysis||
|Data Management|Advanced sql & no sql databases|
|Data Science||
|**Datacenter Technologies**|About virtualisation & azure, will take this one|
|Enterprise Applications|"We study application servers, object persistence, Java EE frameworks, web services and build tools. Relevant frameworks in the Java web ecosystem will be discussed. An open and free development tool will be used as a programming environment so that programming details can be exchanged for more attention to building something. The student can design and implement professional applications through thorough knowledge of advanced frameworks, using tools such as Maven and Git." (basically java ecosystem?)|
|Ethical Hacking||
|Future Proof Project|Propose my own project|
|Futures Studies|I think it's similar to future proof project but for studies?|
|Generative Application Design|No/low-code stuff|
|Machine Learning||
|Network Security|They hardly recommend to have taken networking in 2nd year for this.|
|Start my business|Literally start a real business|
|Structure of computer programs 1|1st year course at a linked university about: Procedural Abstraction Data abstraction Modularity, objects and state|
|**System automation & scripting**|Powershell scripting, will for sure take it.|
|iOS Development|Hell nah|

Btw If I have to learn a particular skill I would prefer ideas to make where I could deploy it and really be usefull on a little homelab (I just run a pi w a couple of containers)

Btw I'm in EU.
(and sorry for the 3km long boring post)

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