Reddit DevOps
278 subscribers
70 photos
32.2K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Help needed with Canonical MAAS CLI

I've been trying to create a boot-source-selection for CentOS in MAAS, but MAAS spits out not found as stdout.

I only want to use MAAS CLI to select CentOS7 image as well as Ubuntu 18.04 ( which already is selected and imported ).

https://redd.it/eq9k5v
@r_devops
Implementing DevOps through GitHub Actions for Xamarin iOS & Android

This sub reddit has some awesome posts from the past:

[AWS Solution architect exam and notes](https://www.reddit.com/r/devops/comments/ckpbhl/just_passed_the_aws_solutions_architect_exam/), [Getting Started with DevOps](https://www.reddit.com/r/devops/comments/aqc8cj/interested_in_getting_into_devops_start_here/), [DevOps Interview Questions](https://www.reddit.com/r/devops/comments/dj9ffy/a_collection_of_devops_interview_questions/)

For years DevOps has intrigued me. I always wanted to apply DevOps in mobile apps, and GitHub Actions made it really accessible for me. Once GitHub actions started supporting MacOS runners and "Xamarin", I decided to dive in and figure it out. But I wasn't able to figure it out, getting my most downvoted StackOverflow question, and also no proper response on the GitHub community forums.

After months of trying, I was able to finally get the GitHub Actions working with Xamarin Android & iOS solutions! It helped me learn a lot more about DevOps in general.

I wrote an article on what I learnt, with a video walkthrough, and it became really popular! If you guys are interested

[https://levelup.gitconnected.com/using-github-actions-with-ios-and-android-xamarin-apps-693a93b48a61](https://levelup.gitconnected.com/using-github-actions-with-ios-and-android-xamarin-apps-693a93b48a61) (Unmetered link: [bit.ly/30crWpc](https://bit.ly/30crWpc))

The article was curated by Medium in their "Programming", "iOS Dev" and "Android Dev" categories. In all this, I became more optimistic of the future realized that there's still a divide in Software Development and DevOps, that's continuing to shrink, and there's also a huge demand for developers to learn and improve!

https://redd.it/eq5vg5
@r_devops
What is Serverless ?

Welcome everyone,
In this video, we will talk about serverless which is one of the most widely used paradigms in the world of cloud computing.
Don't hesitate to share your thoughts.


PS: it's an educative video
Thanks !!
https://youtu.be/9mZV2ZJBbHM

https://redd.it/eq77az
@r_devops
Open source OPA for Terraform project

Hi all,

CTO of [Fugue](https://fugue.co) here - we just launched a new open source project at [https://github.com/fugue/regula](https://github.com/fugue/regula) for doing security policy checking of Terraform templates using [Open Policy Agent](https://www.openpolicyagent.org/). There are numerous rules available today, covering SGs, VPCs, IAM, EBS, KMS, etc. and we'll be adding a lot more in the future. We plan to extend to other infrastructure as code tools like CloudFormation as well. We'd also love to get contributors to the project!

https://redd.it/eq3rmj
@r_devops
How do you use manual actions in your CircleCI pipeline?

We have manual actions on E2E tests as they take quite some time and you want to run them just when needed. And then on the master branch we have manual actions that approve the deploy to production.

How about you?

https://redd.it/eq37tn
@r_devops
Route 53 DNS taking long to take effect

I'm trying to create a subdomain on AWS Route 53. I'm following exactly what the docs say:
1) Create a hosted zone for the domain
2) Create a hosted zone for the subdomain
3) Copy the NS records of the subdomain and make a new record set in the hosted zone of the domain
4) Make an Alias Record to point to the service I desire in the hosted zone of the subdomain
Following this I noticed that I have to also change the NS record of the domain with the nameservers associated with the domain.
It' been twelve hours since I have done this and I cannot query my subdomain. Does DNS changes take long to take effect or did I just miss out something?

https://redd.it/epc34r
@r_devops
Self-registering compact k3OS clusters to Rancher Server via cloud-init

Here's some k3OS content for you all :P


[https://medium.com/@jamesdavidbohrman/self-registering-compact-k3os-clusters-to-rancher-server-via-cloud-init-d4a89028c1f8](https://medium.com/@jamesdavidbohrman/self-registering-compact-k3os-clusters-to-rancher-server-via-cloud-init-d4a89028c1f8)

https://redd.it/epbl16
@r_devops
Want to Play with Terraform for AWS without using Credit Card

Is there a way to play with terraform for AWS without using any credit card? I am fine with terraform working on some mock AWS playground. Does anyone know about this?

https://redd.it/eqknwf
@r_devops
In what extend (if at all) do you use pull requests in your job?

I recently got a new job on witch I support devopswise a product along with another fellow. Although the devs use PRs we dont use them at all. Whenever for instance an update to a script is needed we just push directly to develop branch, we then validate the functionality on a staging environment, and finally release a new tag on master branch.

https://redd.it/eqlkmh
@r_devops
What are alternatives to microservices?

I have heard that some people don't use microservices any more. But they don't say what they are using. What are alternatives to microservices? What make microservices fall out of favor?

In [https://www.reddit.com/r/devops/comments/eqb6vz/is\_this\_an\_opposite\_ways\_to\_the\_microservice/](https://www.reddit.com/r/devops/comments/eqb6vz/is_this_an_opposite_ways_to_the_microservice/), I said that I wrote Martin Fowler's book written in 2004, and he said he favors replicating processes to run the same program, over partitioning a program and distributing its parts to run in different processes and locations. Is his way common nowadays? Is combination of his way and partition way (e.g. microservice) common nowadays?

https://redd.it/eqg233
@r_devops
message queue between devices

Hy,

I would need a second opinion about my project. It's my home/pet project but I would still want to learn from it. I have 3 raspberry pi and they will be sending data to my home computer/server. There will be 3-5 messages for every senod per raspberry pi(9-16 total per second). Now, I know how to implement API, but since they're only sending data I think async communication is better choice. I'm looking at kafka, rabbitmq, zeromq etc. but they seem to have a lot of functionality I don't need and I keep wondering, is there something more simple for this use case?

https://redd.it/eqklqq
@r_devops
How do you use manual actions in your CircleCI pipeline?

Lets share some inspiration. We have manual actions on E2E tests as they take quite some time and you want to run them just when needed. And then on the master branch we have manual actions that approve the deploy to production.

https://redd.it/eqkboy
@r_devops
How do testing/development environments in the cloud work?

I am building a REST api (spring) on my machine (personal project). I want to test if it successfully makes calls to AWS resources like S3, RDS etc. But I don't know exactly how it's supposed to be done.

I watched 2 videos on accessing RDS with a library that makes API calls to secrets manager (cus I don't want to hardcode my DB credentials) but I am stuck in configuring it into Spring Boot. Then I saw there is this thing called AWS Java SDK.

But how can my local spring boot server use an IAM Role to access whatever API I want to test? And generally speaking, should I even be doing all of this from my local machine?

I know quite a few pieces already (ec2, linux, programming in Spring and Angular etc) but I find it hard to put them all together in context. I've yet to get a job in SWE so I wasn't exposed to how it's all done in the real world.

https://redd.it/eqh6el
@r_devops
Docker and AWS Certification

I just received my first web development internship offer and I like web development a lot especially back-end with Node, Express, and MongoDB. I now want to level up myself to the next level, by learning some DevOps and Automation. Which AWS certification would be great to have in my resume and can be achieved within 6-12 months (assuming I have regular classes at University and later work).? I have heard a lot about Docker lately and I want to get certified in it as well.

https://redd.it/eqfviv
@r_devops
Hello everyone

I am a waanna be devops engineer who is almost finishing uni. I woild want to ask everyone here how to get started to befome a decent devops.

https://redd.it/eqh0ub
@r_devops
Looking for SSH server practice in coding boot camp

Hello, I'm currently atending to a course on web development, and the class now its creating a server, and uploading a custom website trought ssh and Nginx, and then setting up a custom domain.I don't have credit card to pay for DigitalOcean, and its just for this single practice, are there any other way to do it?

I've tried mounting a custom server with filezilla but I cant use it because my IP isnt static, and I cant access to my router configurations, they are locked for my INSP

https://redd.it/eqn7eg
@r_devops
What are the hardest things you had to do as a devops engineer?

What are the hardest things you had to do as a devops engineer?

https://redd.it/eqmf0s
@r_devops
aws management and tagging

Hi guys, I have a big question for you. Imagine to have a very big aws infrastructure with thousands of resources but nothing is tagged. Now we want to tag everything because of IAM policies and better cost management.

How would you retroactively tag those thousands resources? No way I'm gonna manually tag every single line because it would be impossible.

I see 2 possibilities. (maybe 3)

1. tag father resources like EC2 and do a script to tag child resources (problem with shared resources).
2. activate an auto tagging system that when a resource call another resource a tag is added. No idea how to implement this
3. (tag everything in excel and import all tags. not very devops style)

Thank you for your ideas and suggestions and for sharing your tagging experiences

https://redd.it/eqdp04
@r_devops
Serverless Terraform remote backend

TL;DR:

I build a custom terraform HTTP backend. Link [https://github.com/derBroBro/TerraDepot](https://github.com/derBroBro/TerraDepot)

What do you think about this approach?

​

Long version:

For me, one of the largest problems in terraform is state handling. Especially if you have a lot of terraform projects, different accounts and team members it becomes quite messy.

Even if there are some builtin options like s3, gcp, artifactory or the offerings by hashicorp, they are altogether not what I was really looking for. Some are a mess from the permissions management (s3, gcs etc.) others (like terraform cloud) are more or less an included CI/CD System which we already have.

Therefore I spend some time on my holidays developing a backend as I would need it.

The result can be found here: [https://github.com/derBroBro/TerraDepot](https://github.com/derBroBro/TerraDepot)

What do you think? Do you have any further ideas or hints?

https://redd.it/er1v1n
@r_devops