Reddit DevOps
269 subscribers
4 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
How difficult is it to find a DevOps jobs in the US from Germany?

Hi everyone, I would like to hear your input and nationality is German.

Thanks.

https://redd.it/kov742
@r_devops
Send newly created posts on WordPress to GitHub to open for outsource translation?

As the title says, I'm trying to run a website on WordPress where I publish posts in a certain language and want to open that post for outsource translation where people I know and other people out there will help in translating the posts into various other languages. Can I achieve this somehow with GitHub Actions and/or webhooks to automate it?

Why GitHub? I want to have a version control / pull request abilities to check the translation.
Has to be free.

Open for any other suggestion that can cover what I need. Thanks

https://redd.it/koug9u
@r_devops
Has anyone here compiled DroneCI from scratch?

Sorry if this is oddly specific but I'm looking to follow the instruction noted here and getting the following error:

ubuntu@foobar:~$ go install -tags "oss nolimit" github.com/drone/drone/cmd/drone-server
can't load package: cannot find module providing package github.com/drone/drone/cmd/drone-server: working
directory is not part of a module

When I do a go get I get the following error:

ubuntu@foobar:~$ go get github.com/drone/drone/cmd/drone-server
go: found github.com/drone/drone/cmd/drone-server in github.com/drone/drone v1.10.1
go get: github.com/drone/[email protected] requires
github.com/h2non/[email protected]: parsing go.mod:
module declares its path as: gopkg.in/h2non/gock.v1
but was required as: github.com/h2non/gock

Any ideas? It works when building in DroneCI using the default .drone.yml file so I know it must be something I'm doing wrong on my end, just can't figure out what exactly.

https://redd.it/kpsnp7
@r_devops
What's your experience as an SRE with TS Clearance?

I'm currently a DevSecOps Engineer with a secret clearance. I'm wondering what it would be like if I go further down this path and try to get my TS from my current employer. What has your experience been in your career in terms of WLB (work life balance), compensation, work quality (interesting vs boring), job competitiveness, etc? And do you feel like there's an advantage in being in the Washington DC/DMV area for these types of roles?

https://redd.it/kpsxg0
@r_devops
Need guidance on approach for CI/CD for ECS + Docker



Hi All,

A friend and I (software developers) started building out an app on the side and decided to go with angular/node stack with AWS infrastructure. I'm thinking of using Docker with ECS to containerize and host the application. I'm looking for a free / open source build / deploy tool that will pair well with this stack. Ideally, the flow would be once master is merged, the tools recognize the merge and deploy a new container within ECS. I may be bastardizing the flow but I've just started looking into docker so I'm not super familiar with it. Any feedback would be appreciated.

https://redd.it/kpoagd
@r_devops
Does anyone feel that there’s so many CI/CD tools that it’s impossible to keep up with?

I’m still very early on in my career but there are soooo many technologies that comes out on the daily. Being a contractor, i have to learn new tools almost every job. “Hey have you heard of StrumCI? No, we use Jenkins but are moving onto Drone?” I love it too because there’s something for everyone.

https://redd.it/kpuhkd
@r_devops
Turn existing setup into code

I have an existing setup that I want to turn into code. I need some advice regarding tools and strategy.

What I have:

* Infrastructure
* A couple of linodes
* A bunch of linode block storage volumes
* A bunch of Backblaze buckets (S3-compatible)
* A bunch of somains and a whole lot of DNS resords

I run:

* A few Wordpress sites
* A few other PHP-based applications
* A couple of Ruby on Rails applications
* A MySQL server
* A PostgreSQL server
* Nginx for webservers
* A rather complex mail server (Postfix, Dovecot, OpenDKIM, rspamd, virtual domains, etc.)
* Backups with Duplicity

What I want to achieve:

* I'd like to turn this setup into code so that I could nuke all (or part) of it and recreate with a single (or at least very few) command.
* I'd like to be able to move things around relatively easily. Ideally, tools would be able to move data around, too. E.g. if I move MySQL db from one linode to another it would make sure MySQL server is set up there and would move data from the old server to the new one, and maybe remove MySQL server from the old linode if nothing uses it there any more. Is this even a thing?
* I'm fine with changes that would make making changes easier.
* Ideally, I don't want to add much complexity/cost on top the existing setup (apart from my time). That sort of disqualifies configuration servers, turning everything into containers or moving to AWS, etc.

I have very little exposure to DevOps tools but I'm willing to learn. The question is what to learn.

https://redd.it/kpia73
@r_devops
How does one calculate toil and measure toil reduction?

There's lots of talk of toil reduction but, how exactly do we know that we are reducing toil? Is there a quantifiable way of knowing which items to tackle to reduce x% of toil?

https://redd.it/kq1nm2
@r_devops
Need advice on microservices and database access.

I currently have microservices connecting to one database. i have every service connect to the DB with its own role with specific permissions. For example, the auth service has a DB role which has only SELECT access to the "users" table I'm using PostgreSQL btw.

Questions: Is there a better/easier way of doing this? Am I going the right direction here?

I ask because this might be overkill. On the flip side, some may think I'm not going far enough and that I need a different schema for each service.

I've read that to do ms properly, each service should have its own DB. I think that's impractical and a maintenance nightmare. At least for my project it is. So, i'm not going that route. But, I need to somehow isolate activities between the services regarding the DB.

I'm speaking only for production environments.

https://redd.it/kq67ix
@r_devops
Dev2Prod


Hey y'all!

I'm a self taught developer. I'm a college student. I've never been into an IT company and worked on anything from scratch.

I've developed a web app. I've written it on MERN stack and with some technologies like Redis, RabbitMQ, Firebase, Algolia and other stuffs. I've eight different services which talk among themselves using RabbitMQ. And Redis to store my active auth tokens in it.

I need some advice from you guys on DevOps. What is the process that happens from development to production? All my service aren't in a docker. I just have repositories for each and every services and my frontend. I am the only developer who developed this web app. So I didn't feel anything hard which coding. I've no CI/CD pipeline or any other sort of it.

Now I need to deploy my product in Heroku. What should I do now? Should I manually deploy every single service or is there any other way to do it? I will migrate from Heroku to AWS in a year mebbe. Just because of financial limitations, I use Heroku for now.

Also now it is in development environment. Should I stage it and then to production or dev env to prod env?

I need some advices from you people on how an IT industry develops a software from scratch to production release.

I'm going to release my app in publicly for everyone to use.

What are the checks should I look before it gets into production and how should I release my app in a production environment?

https://redd.it/kq8tvv
@r_devops
If your team does ML, what is your "MLOps" stack?

I'm getting more interested in/involved in machine learning, but the DevOps ecosystem around ML feels... rough, to say the least.

I'm looking for anyone with experience running ML in production. What does your MLOps stack look like? What platforms have you found that you love/hated?

https://redd.it/kqabgb
@r_devops
Release Dash - Dashboard for Visualising Commits in Pipelines

I've put together a simple dashboard for seeing what commits/changes are waiting to be released in your pipelines - https://github.com/lobsterdore/release-dash.

This dashboard is useful for teams that have multiple environments with manual gates in between, offering a quick overview of the pipelines of all registered services, I find it useful for preventing a buildup of changes and getting developers to stick to small releases.

The dashboard needs a Github PAT to read repos, each repo needs a YAML config file so the dashboard can figure out what tags needs to be diffed to construct the changelogs. Images are available on Docker Hub (https://hub.docker.com/r/lobsterdore/release-dash) and I've knocked a simple Helm Chart for pushing to Kubes (https://github.com/lobsterdore/release-dash-helm).

All feedback and suggestions are welcome, this dashboard is obviously not intended for lucky people that are releasing straight to production.

https://redd.it/kqb8tl
@r_devops
Create a Quick and Easy Prometheus Exporter

Create a quick and easy Prometheus exporter is a blog post I recently wrote. Prometheus is a really powerful platform, but it does require a strict metrics format for consumption.

This blog post shows how to quickly and easily write a Prometheus exporter. Let me know what you think!

This also might be helpful for those implementing AWS' new managed Prometheus service.

https://redd.it/kqak3r
@r_devops
Deployment Strategies Every DevOps Should Know

Hey guys i wrote an article today and I am interested if I've missed out on anything or if I could improve it since as you can see my articles are more of a reminder for myself, that's why they are not monetized. At least not yet. Let me know what do you think, cheers!

Article

https://redd.it/kqariv
@r_devops
why is my package manager missing newer versions?

So I do DevOps at a small company. Part of our build pipeline scans our docker images for vulnerabilities. When it does find them, more often than not I have to go into the Dockerfile and tell apk/apt/yum to upgrade to the version where it was fixed.


Why doesn't apk update && apk upgrade do this for me? My assumption is that some package versions are marked as stable or something so it will only upgrade so far, but I'm curious to know what the actual answer is.

https://redd.it/kqdv6f
@r_devops
I am a jr. web developer looking to move to Devops. Career Advice

I'm currently working as a jr. web developer mostly using html and css not so good with javascript or typescript. On my team I build the required webpages using html, css and my other team members will do the functionality part of the webpages using javascript. I am looking to move to devops as it involves much to little of programming and also I know how important devops is as part of a software development lifecycle so I am not worried about future in devops.

I wanted to move to devops because I am not so good with programming but can handle identifying and fixing bugs and devops mostly involves working using tools (this is what I heard from couple of my friends in devops role) correct if my understanding is wrong on this.

As most of the members here are on devops, it would be helpful for me if you could give me some insights on this.

https://redd.it/kqdgnk
@r_devops
IaaS providers in Europe

Hi All,

​

​

I'm currently looking for an IaaS provider which should be based in Europe and have European datacenters.

Would prefer not dedicated servers but at least a public cloud/VM-based solution.

The goal is for a small one-man startup launching a SaaS product.

So, based on the above, immediately out of scope are: Azure, Google Cloud, AWS, DigitalOcean, Vultr, Linode. As I said: European.

What I experienced myself until now:

\- OVH: have tried their public cloud last year - absolutely terrible with regard to stability and uptime.

\- Hetzner: tried a dedicated server there in the past, not impressed.

Others I've found until now:

\- Scaleway: looks as bad as OVH, would rather stay away from them.

\- Exoscale: looks ok I guess, can't really find a lot of info on their quality.

\- Cloudsigma: looks ok I guess, can't really find a lot of info on their quality.

\- Ionos: seems like a lot of negative info on them online?

\- Leaseweb: also looks like a lot of negative info on them online?

​

So, my 2 questions:

\- of those listed above (not OVH, not Hetzner, not Scaleway): anyone here has any positive experiences with them that they would care to share?

\- are there any other relevant European providers I missed and some here have good experience with?

​

Thanks!

https://redd.it/kqa4bc
@r_devops
Slack is down on the first work day of 2021

Looks like we're going straight into Episode 1 of the new season of 2020

https://redd.it/kqc3ga
@r_devops
What's your thought about AWS having downtime today again?

Seems like AWS had the second in a row downtime https://downdetector.com/status/aws-amazon-web-services/

Seems like like Notion, Slack, Zoom was affected by that. Seems like solutions like CAST AI https://resources.cast.ai/blog/when-aws-sinks-why-sink-with-it or not independent but still even Anthos might be a solution

https://redd.it/kqi7md
@r_devops
WebMap : A Python tool used to automate the execution of the following tools : Nmap , Nikto and Dirsearch but also to automate the report generation during a Web Penetration Testing

I am very excited to showcase my new python script : WebMap

https://github.com/Anteste/WebMap

All started from a small idea: how to automate a Web Penetration Testing .

I used to run every tool in his own terminal and it was taking a lot of time, but now with this tool you can execute all of them just with a simple command : ./webmap.py

This project is free and Open Source so use it as you want and if you have any suggestion you can submit a pull request 😉

https://redd.it/kqk645
@r_devops
DevOps Adoption

Has anyone here followed the Three ways from the DevOps Handbook by Gene Kim?

https://redd.it/kqlwx2
@r_devops