Reddit DevOps
270 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Concept for an app/platform - code it myself or hire right away?

Hey everyone,

I have a very concise idea of an app I would like to create, very simple user input, small size, some social media elements. I know Python (background mostly in web automation) but I have not done anything in Kotlin yet which I would like to go with because of nativity on Android and the option of using a KMP to ideally make it less of an effort to deploy it on iOS.

Now I'm wondering: Should I build a first version on my own or hire someone right away to do it? I enjoy coding but I am sure it would take me longer than someone who knows his/her way around better; also because I do enjoy directing overall working processes and want to focus on that more (i run my own business with a few employees).

In case anyone has experience in this field: What would you recommend?

Thanks in advance!

https://redd.it/qwn83o
@r_devops
Install a Kubernetes cluster on Hetzner in 5 minutes (7X cheaper than AWS)

Having an out-of-the-box Kubernetes installation can be a big hassle, and I couldn't find a good step-by-step tutorial to set it up until I discovered this open-source project by u/Vitobotta.

I wrote a full article that goes over how to create a cluster using k3s on Hetzner – and how to set up monitoring.

The cluster has one master node and 3 worker nodes, for a total of 12 vCPU and 48 GB of memory – with a monthly cost of \~$54 (while the same config on AWS is $407).

You can read the full article here.

Any feedback is welcome :)

https://redd.it/qwpsna
@r_devops
Looking for a simple, managed cloud provider with CI/CD

Hi folks!

I've worked with the big clouds like AWS, Azure and Google and they're doing a great job, but I'm now **looking for something more guided** and limited.

The options of the big clouds are a bit overkill, depending on the user. As far as I know, Heroku and Digital Ocean are more what I'm currently looking for, but I'd like to get some more **recommendations from you guys**.

Some requirements:

* CI/CD (take source from GitHub and deploy automatically)
* Virtual machines (not managed)
* Managed apps (like AWS Elastic Beanstalk)
* Container (Docker, ...)
* Managed databases
* Highly scalable
* Enterprise support

Any recommendations?

**Thanks** in advance!

https://redd.it/qwqdl7
@r_devops
BLOG Unpacking Observability: The Observability Stack

I am sharing this article prepared by my colleague at Tucows that gives an overview of the Observability Tech Stack. The post is the second piece in their "Intro to Obersvavility" series.

Link here: https://storiesfromtheherd.com/unpacking-observability-the-observability-stack-93d4733e2a72

https://redd.it/qwsf0n
@r_devops
Why use the Docker image and Azure Registry, and not just deploy to Azure App Service?

what would be the advantages and disadvantages

https://redd.it/qwwwxf
@r_devops
Just wondering, career question(s).

Hey everyone, to cut straight to the point: I’m 25 years old and currently in IT support (entry level). My goal is to eventually become an infrastructure engineer / SRE.

How long would you say it would take someone to get from an entry level support job to at least a Junior Infrastructure Engineer?

How much would you say I could accomplish in five years time? I know this is super subjective, but yeah.

Every time I scroll this sub I always see comments full of people talking about the intricacies of all these technologies etc, like how did some of you even get to that point?

https://redd.it/qwx2ur
@r_devops
Github actions - How to compile .scss files to .css files?

Hey all,

When I try to compile it, I am receiving this error in github actions:

Error: /src/scss/main.scss: no such file or directory
at Object._newRenderError (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:2203:19)
at StaticClosure._renderSync (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:2004:18)
at Object.Primitives_applyFunction (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:6525:30)
at Object.Function_apply (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:13852:16)
at _callDartFunctionFast (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:15558:16)
at Object.renderSync (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/node_modules/sass/sass.dart.js:15536:18)
at build_CSS (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/index.js:122:28)
at Object.<anonymous> (/home/runner/work/_actions/gha-utilities/sass-build/v0.4.7/index.js:167:5)
at Module._compile (internal/modules/cjs/loader.js:959:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:995:10) {
formatted: 'Error: /src/scss/main.scss: no such file or directory',
status: 3
}

Here is my main.yml, I am following[Sass Build Action](https://github.com/marketplace/actions/sass-build#quick-start) as the template to convert .scss to. css.

build:
runs-on: ubuntu-latest
steps:
- name: Compile CSS from SCSS files
uses: gha-utilities/[email protected]
with:
source: /src/scss/main.scss
destination: /src/scss/main.css

#deploys to heroku
- uses: actions/checkout@v2
- uses: akhileshns/[email protected] # This is the action
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: "ga" #Must be unique in Heroku
heroku_email: "[email protected]"
- name: Compile CSS from SCSS files
uses: gha-utilities/[email protected]
with:
source: /src/scss/main.scss
destination: /src/scss/main.css

Here is my project directory

.github
-> workflows
-> main.yml
src
scss
-> main.scss
-> main.css (untracked in git, and is used locally)
package.json

From my understanding, main.yml starts with the directory level of package.json. Thus, why is it giving out the error?

https://redd.it/qwz5r6
@r_devops
How you decide, if Scale Out or Scale up, your app ?

what is the approach for one case or another thank you very much

https://redd.it/qwwisc
@r_devops
GitLab Runner Infrastructure

What approach do you guys use for hosting GitLab runners?

I’m building out test automation infrastructure. I have the test runner in a docker image. Mostly web based GUI and API testing, with quite a bit of GUI testing that takes a while to run. (I know API>GUI testing but I work on large project with large distributed team, I can’t control everything)

I have a static EC2 image that handles jobs sent from the test pipeline. The tests run in parallel in a number of separate containers.

I’m fairly new to DevOps and not sure how to scale this up. My boss suggested a kubernetes cluster which from the sounds of it can do all that and a lot more. I’ve seen ECS and autoscaling EC2 groups in my research as other possible approaches. Any guidance or words of wisdom for a novice?

https://redd.it/qx49xs
@r_devops
Looking for a calendar web app prederably hosted in docker to add events and send reminders to some emails list before the events

Hey all. I'm looking for some simple web application to add some events (downtime and similar) with some date, time, details which will then send us some reminders X hours prior to the event. Preferably I would like to host this app in some docker container. Bonus part is to be able to subscribe to the calendar through Outlook for example to show the events with the normal calendar.

Any suggestions? Thanks.

https://redd.it/qx66st
@r_devops
Azure or AWS?

I am a system engineer with no cloud experience and when I browse job boards most all are looking for cloud experience. Which cloud infrastructure should I most focus on learning? I'm sure the concepts carry over but I want to focus on the one which will make me the most marketable.

https://redd.it/qxh397
@r_devops
Equivalent of Consul/Consul-Template in AWS for real-time configuration management?

New to cloud esp. to AWS. Unfortunately I could not find anything that I could use in AWS in-place of consul-templates that I am used to when working on-prem. Basically, right now we are having to manually change config files and update them again and again which is very annoying and cumbersome. What is the standard for this on AWS?

https://redd.it/qxctw9
@r_devops
Individual dev environment?

I'm currently working at a company where each developer has their own designated environment in AWS. Curious if anyone else out there uses a similar model. And, if so, very curious how much you all are spending per dev environment?

https://redd.it/qxkjax
@r_devops
History of SRE: Why Google Invented the SRE Role

We got curious and wrote about the origins of SRE and how they got started at Google here :)

https://redd.it/qxik9w
@r_devops
Why DevOps is paying so much?

Curious question, DevOps seems to be bombing and payscales seem to be at the top.

I am college dropout working as SRE and compared my salary to a data scientist with a master and I am earning a little above him when we discussed openly about salary.

I think like cheating because I believe the learning curve for being a data scientist is higher than someone who does SRE. Is this a bubble? Will it explode someday?

https://redd.it/qxop7b
@r_devops
Pulling/Pushing out any AWS ECR images from/to AWS ECR through AWS Route53 CNAME

The main idea of this article is to show how to use CNAME of Route53 to pull or/and push images from/to AWS ECR service. By default, Amazon doesn’t allow to do it (SSL handshake is not working. SSL has been signed by Amazon side).

I played around with Amazon API and Python and proxy and I have found several solutions:

* Use Python and develop wrapper to log in, pull & push AWS ECR images from/to ECR through AWS Route53 CNAME of AWS ECS service.
* Use Some proxy (Ex: Nginx, Traefik, etc) and make forwarding rules with needed headers. This implementation is \`TBD\` soon!
* Amazon ECR interface VPC endpoints (AWS PrivateLink).

The full article you can read here: [https://medium.com/@solo.metalisebastian/pulling-pushing-out-any-aws-ecr-images-from-to-aws-ecr-through-aws-route53-cname-7c92307f9c25](https://medium.com/@solo.metalisebastian/pulling-pushing-out-any-aws-ecr-images-from-to-aws-ecr-through-aws-route53-cname-7c92307f9c25)

The code: [https://github.com/SebastianUA/ecr-pull-push](https://github.com/SebastianUA/ecr-pull-push)

\#AWS #AWSRoute53 #Docker #AWSECR

https://redd.it/qxo7hr
@r_devops
Is docker swarm good enough for production?

I'm getting into docker swarm lately. Everything I've done with it I've done locally of in a test environment.

Especially looking for someone well versed in docker. I've heard swarm is great for dev environments but not for production. Is this true? And if it is why is it not good for production environments?

I haven't seen any issues so far but like I said I've never even considered using it for production until now.

https://redd.it/qxq1q9
@r_devops
Why is the Interview Process a pain in the ass?

Interviewing for my second title within the DevOps/SRE space.

Why the hell do so many companies have a multiple-hour interview or technical task as a part of the interview process?

I understand that they want to ensure that the person they're hiring understands what they're doing, but I simply cannot schedule a 2, 3, or even 4 hour block (all numbers that have been estimated to me) out of my free or working time to further myself along in the interview process. What happened to references, or simple 1-hour technical interviews?

So far, I've declined further candidacy for 3 jobs, and I'm sure that number will grow.

Anyone else commonly experience this mess? How do you handle it? Am I being ridiculous?

https://redd.it/qxqia2
@r_devops
How to learn high level devops concepts as a dev ?

Hi guys,

I'm a full stack dev but I must say my understanding of many devops concepts are very poor, I can get around by following some tutorials and using dev friendly solutions but it comes with limitation, sometimes vendor locking and I don't really like using GUIs as in my experience they cause more problems than they solve and I rarely use those since I mostly live in the shell anyway.

I believe even a higher level understanding can help troubleshoot some problems so I'm looking forward to better understand concepts like, reverse proxies, CDN, load balancing, understand docker better etc.

Thanks in advance.

https://redd.it/qxzecm
@r_devops
Can readfromhead work with posfile together?

Set pos
file only will send data correctly. But if set with readfromhead will get error

<source>
@type forward
port 24224
pos_file /a/pos_file/path
read_from_head true
</source>


Because of readfromhead, fluentd can't start successfully.

If set readfromhead only, fluentd can start but can't send data.

Can't they work together?

https://redd.it/qxww8p
@r_devops