Reddit DevOps
270 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Future of DevOps

Hi All,

I am a fresher and was offered DevOps role which I accepted. Please enlighten me about the demand for DevOps engineers, salary growth I can expect after 2-5 years and the difference between SRE and DevOps.

Should I try to switch to developer role or DevOps is as rewarding as development?

Also, if anyone can share learning path or material, that would be helpful.

Thanks in advance.

https://redd.it/klurdu
@r_devops
Are there any online services that provides Win-10 VM's with an nvidia GPU? (for debugging).

Not sure if this is the right place to ask, but figured it was worth a shot!

Does anyone know of any services that provide Windows 10 VM's and also specify which GPU (if any) they use under the hood? (Or possibly even provide an option to choose from different GPU configurations)

I have an AMD graphics card, but I need to do some debugging on a Windows machine with an NVidia card. Only need to install visual studio on it, and transfer a few files to it. So don't need a lot in terms of perforamnce.

Thanks!

https://redd.it/kly9sz
@r_devops
How many people are on your DevOps team compared to the size of your company?

Half of my team was laid off this year, and the survivors are feeling overwhelmed. I know DevOps is different in each company, but it'd be nice to have some perspective on whether I'm just spread thin or I stink at my job.

https://redd.it/kml0y1
@r_devops
How we compress Pub/Sub messages and more, saving a load of money

https://blog.lawrencejones.dev/compress-everything/

I was reflecting on some optimisations we've made recently, both for cost saving and performance, and realised how useful compression is.

Especially in a cloud environment where you are charged by the byte, you can find many situations where costs can be cut by ~80% with very little effort.

Wrote an article about how we used compression to save ~$11k on a migration of logs, and then ~$3k/month thereafter. Also mentions compression of databases and Postgres' wal_compression parameter as more examples of compression in non-standard places.

Hope you find it interesting!

https://redd.it/kmltbx
@r_devops
Typescript for infrastructure-as-code/infrastructure-as-software

Hey Everyone,

I primarily write automation code so I've used JS with Node a bit, but it's definitely a language that I use the least amount. I'm usually in Go or Python.

One thing I've noticed ramping up in the infrastructure-as-software space recently has been Typescript. I've been following what AWS CDK and Hashicorp CDK is doing for a while and noticed one really important thing:

One of the first languages they're incorporating support for is TypeScript.

This got me thinking - Is Typescript going to be a core focus for people wanting to write their infrastructure-as-code/infrastructure-as-software using a general-purpose programming language?

It definitely makes sense because Typescript and JavaScript are incredibly popular. To be honest, I thought we would be seeing this kind of code written more in Go and Python, and it is, but Typescript seems to be the most popular for this type of implementation.

Are you all seeing the same thing in the Typescript community? I'm curious about your thoughts on this. If you haven't seen what I'm referring to, I recently put on a new video on the topic, which you can find here: https://www.youtube.com/watch?v=Z4aEH5xME08

https://redd.it/kmhki4
@r_devops
Using GitLab Pages to Host a Helm Registry

Hosting your own Helm Registry is helpful for making Kubernetes deployments reusable. GitLab Pages is a great way of hosting your own Helm Registry without any hosting charges and by setting up a few triggers, is easy to incorporate it into your automated workflow. https://simonemms.com/blog/2020/12/27/using-gitlab-pages-to-host-a-helm-registry

https://redd.it/kmmsio
@r_devops
CI/CD for ios on AWS

In reinvent 2020 there is now ability to use mac's, has anyone tried to build a ci/cd for ios with device farm included? I see no updates in any documentation anywhere.

Example
Code pipeline --> code comit/github --> codebuild --> Device Farm --> S3 bucket (ios app file)

https://redd.it/kmkh7s
@r_devops
how to write if conditions in bash and how conditions get tested using a command 'test'

In the video below, we will discuss the weird part of bash. Bash if conditions structure does not look different than any other if statement structures in other programming languages. However, how the test condition is written and get tested is a bit confusing at the beginning.
https://youtu.be/BdU5SflFHKk

https://redd.it/kme2j7
@r_devops
linux GUI+CLI app to manage servers, credentials, notes...

Projectpad allows to manage secret credentials and server information that you need to handle as a software developer or sysadmin.

Projectpad's target audience are people who today have to use several tools to do their work effectively: a keepass-like application, a series of text files with notes, and a few shell scripts. Instead of that, projectpad offers a streamlined, integrated solution.

https://github.com/emmanueltouzery/projectpad2

https://redd.it/kmbxf8
@r_devops
SQL Injection Quetion

Hi,

How do I verify this result that I had from ZAP report?

​

Description SQL injection may be possible.

URL https://localhost:8080/*****/*****/*****

Method POST

Parameter ******

Attack 1' AND '1'='1' --

Other information

The page results were successfully manipulated using the boolean conditions [1' AND '1'='1' -- \] and [1' AND '1'='2' -- \]

The parameter value being modified was stripped from the HTML output for the purposes of the comparison

Data was returned for the original parameter.

The vulnerability was detected by successfully restricting the data originally returned, by manipulating the parameter

CWE Id 89

https://redd.it/kmj5ea
@r_devops
Introducing Amazon Managed Service for Prometheus (AMP)

This fully-managed service is 100% compatible with Prometheus. It supports the same metrics, the same PromQL queries, and can also make use of the 150+ Prometheus exporters. AMP runs across multiple Availability Zones for high availability, and is powered by CNCF Cortex for horizontal scalability. AMP will easily scale to ingest, store, and query millions of time series metrics.

The preview includes support for Amazon Elastic Kubernetes Service (EKS) and Amazon Elastic Container Service (ECS). It can also be used to monitor your self-managed Kubernetes clusters that are running in the cloud or on-premises. It is fully integrated with AWS IAM for access control and activity audit via CloudTrail. https://aws.amazon.com/blogs/aws/join-the-preview-amazon-managed-service-for-prometheus-amp/

https://redd.it/kn3hsc
@r_devops
How to implement an email integration functionality like Hubspot?

I don't know if this is the appropriate sub to post in, so feel free to redirect me to more suitable sub.

I want to implement email integration functionalities like in Hubspot for my business. (Log email automatically with BCC or forward). Basically, at Hubspot, after signing up, I get a unique [email protected] email address. Then anyone can BCC [email protected] and the content of the emails including attachments will automatically appear in my Hubspot dashboard.

I want to implement the same feature for my business. A registered client will get an email address from me that they can CC to (says [email protected]), and then I can access the contents of the emails sent to [email protected] and do some data processing.

At the moment, I think of:
1. Setting up my own mailserver (using programs like mailinabox) that can receive email
2. For every client, I can give a newly created account from my mailserver, that I can then check for incoming email contents and attachment.

Is this a viable way? What other alternative tech stacks can I use to achieve this? Are there any services that already did this that I can integrate to my server?

Thanks a lot in advance.

https://redd.it/kmz0rl
@r_devops
Chef habitat delete origin

Chef Habitat builder

I have searched a lot but cannot find an answer. Chef also says that you can delete origin but nowhere can see how to delete one. I have gone through all the options in builder GUI but cannot delete it.

Can I delete it from CLI, if yes how? builder is building it as public....I changed to private but still will not give any option to delete

Thanks in advance

https://redd.it/kn0ruj
@r_devops
A distributed shared state for your Kubernetes pods

Hello all.
I’m working on an open source project and would love to get your feedback.


The C19 Protocol is a distributed shared state (replicated cache) for Kubernetes (and other platforms) and can be embedded within your pods.


It allows a set of services to agree on a service-wide state. C19 agents are running alongside your containers in a pod and the data is being distributed amongst them. This makes the data available locally to your application.


I designed it to be extensible so different patterns can be used, based on your use case.
The project itself is written in Rust.


Code:
https://github.com/c19p/c19


User Guide:
https://c19p.github.io/user-guide/title-page.html


Developer Guide:
https://c19p.github.io/developer-guide/


Any feedback appreciated! And please let me know if you believe it might be a good fit for a use case of yours
Thank you!

https://redd.it/kmxru3
@r_devops
Anyone else here use Onetimesecret.com or 0bin.net? Self-hosted? Quimby?

I'm looking into ways to allow secure sharing of one-time secrets.

Supposedly there are ways out there to do this via a blockchain, but I'm looking for something safe and convenient (including convenient to deploy) for keeping stuff out of chat logs in a way that I have at least a modicum of control over.

I have experience with Vault, ReDiS, Python, and various cryptocurrencies.

Quimby: https://github.com/brianknight10/quimby

Algolia: https://www.algolia.com/blog/secure-tool-for-one-time-self-destructing-messages/

0bin.net: https://github.com/Tygs/0bin

OneTimeSecret: https://github.com/onetimesecret/onetimesecret

https://redd.it/kmsway
@r_devops
What are some interesting public projects on GitHub that are easy to dockerize?

What are some interesting public projects on GitHub that are easy to dockerize? I want to dockerize some projects, but I need to start with some projects that are easy to dockerize, perferably php projects.

https://redd.it/kmuove
@r_devops
Introducing a new version of Prometheus ExportHub

Hi Folks,

Introducing new features in Exporterhub([https://github.com/NexClipper/exporterhub.io](https://github.com/NexClipper/exporterhub.io)) for ease of use and management of Prometheus-Exporter.

* Release 0.3:
* Personalized list for new prometheus-exporter add & edit
* Daily Crawling to update list
* Mobile view support
* Search & Sort function

Best-practice, ruleset, and dashboard will be included in the next release.

Thanks :)

https://redd.it/knk6ca
@r_devops
Roadmap to obtain a devops position guidance

I’ve just graduated this past week with my bachelors in Computer Engineering technology. I was considering a devops position but I know it’s going to take time to be able to obtain that job. What would you recommend is the best route to take that’ll ultimately lead me to land that position. I am very interested in learning all about the cloud and starting to use this free time I have to learn until I can land some type of entry level job. Any advice would be appreciated!

https://redd.it/kncf25
@r_devops
Transition from tutoring to part-time consultancy

So, I started working for a company doing DevOps. I got to know one woman, who we got bonded and became good friends. But she didn't like the position/company and left to work for a different start-up company.

When she made the transition, she asked me to tutor her 3 times a week. And it was going great. She was learning much, and I was learning also about her company and got some tutoring experience.

But this arrangement is kind of weird for me. Because it's not like she's studying for exams. She comes to me with the hardest things she faces and we work through those together, and she pays me out of her own pocket.

I was considering offering her/her company something like this but official. I know they have consultants for big products such as AWS. I don't know if they could "hire" me for 3 hours a week. This could be a relief for her financially, and perhaps give other people value in the company as well. But I don't know if my niche applies to any-one else.

I was wondering if any of you have been in this situation, or something similar. Perhaps do you hire consultants and can give me advice on how to make this transition? Or any advice on the subject.

Thanks

https://redd.it/kn63hj
@r_devops
Cloud hosted log management tool for Spring boot application?

I have two Java applications written using Spring Boot and running on AWS. Unfortunately, browsing logs in an application hosted by AWS beanstalk is not very convenient. Therefore I am thinking about a cloud solution for collecting and viewing logs. I want to avoid self-management of ELK stack. What solutions do you recommend / use?


I thinking about :
\- logz.io
\- logdna.com
\- datadog
\- cloud hosted graylog?

https://redd.it/kn827j
@r_devops