Reddit DevOps
269 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
How Do You Know You're Ready For A DevOps / SRE Position?

Hey All,

sorry for such a nebulous question I dont really have a network to reach out to about things like this. I'm currently a jr / sys admin at a large corporation and I'm stagnating. I'm not learning anything new Professionally or technologically and I'm not being exposed to new technology. so How do I know I'm ready to step up into a DevOps / SRE position or if I should wait a while longer and look for another kind of position and if I DO look for another position, what should it be?

I have my AZ900 and CCP, 1 year ex as a sys admin and work with powershell and python regularly. I feel comfortable digging in to things and coming up with a hypothesis. previously I've done everything from technical support to POS implementations. Insight or guidance would be MUCH appreciated, trying to make '21 my year.

https://redd.it/ko479t
@r_devops
Building OVAs with Packer

I have a requirement to generate Ubuntu and Windows OVAs for consumption by VMware Workstation or Player, and I've been experimenting with a few ways to do this in GCP using vmware-iso. My initial efforts have relied on Cloud Build, both with community remote builder and packer containers. I also tried doing a custom Ubuntu remote builder based on an image that had nested virtualization enabled. The pipeline looks something like this:

Launch builder from Google Cloud Build
Install Linux package dependencies on builder with apt
Install VMware Workstation on builder
Run Packer with vmware-iso builder, configured to perform an OVA export

The above fails because vmware-iso (and the other VMware builders from Packer) rely on a VMware installation on the builder, which won't launch without the right virtualization extensions. The GCP nested virtualization is limited to KVM. The closest thing I've found to a solution is using VMware Engine, which seems complex/pricey based on the documentation I've reviewed. If I could spin up / spin down a builder in VMware Engine, that might be possible, but it doesn't seem like this will easily integrate with Cloud Build as a remote builder. It also doesn't seem to cover smaller requirements like this one.

I'm interested in knowing if anyone has tried connecting VMware Engine with Cloud Build, or has another perspective on delivering this requirement in any cloud provider.

https://redd.it/knyntg
@r_devops
Help with an API deployed in Azure that doesn't work and i dont know why.

Hello, i deployed my API to azure via bitbucket piplene using FTP, but when i open the link of the API it displays "Error 500.30"

I want to kudos and did dotnet projectName.dll and it showed that it cant find newtonsoft.json version = 12.0.0.0 . I cant realy understand why this message shows as i have installed version 12.0.0.2 and localy, even when i do dotnet publish i works fine.

Any ideas?

https://redd.it/kohp3u
@r_devops
Monthly 'Getting into DevOps' thread - 2021/01

What is DevOps?

[AWS has a great article](https://aws.amazon.com/devops/what-is-devops/) that outlines DevOps as a work environment where development and operations teams are no longer "siloed", but instead work together across the entire application lifecycle -- from development and test to deployment to operations -- and automate processes that historically have been manual and slow.

Books to Read

The Phoenix Project - one of the original books to delve into DevOps culture, explained through the story of a fictional company on the brink of failure.
[The DevOps Handbook](https://www.amazon.com/dp/1942788002) - a practical "sequel" to The Phoenix Project.
Google's Site Reliability Engineering - Google engineers explain how they build, deploy, monitor, and maintain their systems.
[The Site Reliability Workbook](https://landing.google.com/sre/workbook/toc/) - The practical companion to the Google's Site Reliability Engineering Book
The Unicorn Project - the "sequel" to The Phoenix Project.
[DevOps for Dummies](https://www.amazon.com/DevOps-Dummies-Computer-Tech-ebook/dp/B07VXMLK3J/) - don't let the name fool you.

What Should I Learn?

Emily Wood's essay - why infrastructure as code is so important into today's world.
[2019 DevOps Roadmap](https://github.com/kamranahmedse/developer-roadmap#devops-roadmap) - one developer's ideas for which skills are needed in the DevOps world. This roadmap is controversial, as it may be too use-case specific, but serves as a good starting point for what tools are currently in use by companies.
This comment by /u/mdaffin - just remember, DevOps is a mindset to solving problems. It's less about the specific tools you know or the certificates you have, as it is the way you approach problem solving.
[This comment by /u/jpswade](https://gist.github.com/jpswade/4135841363e72ece8086146bd7bb5d91) - what is DevOps and associated terminology.
Roadmap.sh - Step by step guide for DevOps or any other Operations Role

Remember: DevOps as a term and as a practice is still in flux, and is more about culture change than it is specific tooling. As such, specific skills and tool-sets are not universal, and recommendations for them should be taken only as suggestions.

Previous Threads
https://www.reddit.com/r/devops/comments/k4v7s0/monthlygettingintodevopsthread202012/

https://www.reddit.com/r/devops/comments/jmdce9/monthlygettingintodevopsthread202011/

https://www.reddit.com/r/devops/comments/j3i2p5/monthlygettingintodevopsthread202010/

https://www.reddit.com/r/devops/comments/ikf91l/monthlygettingintodevopsthread202009/

https://www.reddit.com/r/devops/comments/i1n8rz/monthlygettingintodevopsthread202008/

https://www.reddit.com/r/devops/comments/hjehb7/monthlygettingintodevopsthread202007/

https://www.reddit.com/r/devops/comments/gulrm9/monthlygettingintodevopsthread202006/

https://www.reddit.com/r/devops/comments/gbkqz9/monthlygettingintodevopsthread202005/

https://www.reddit.com/r/devops/comments/ft2fqb/monthlygettingintodevopsthread202004/

https://www.reddit.com/r/devops/comments/fc6ezw/monthlygettingintodevopsthread202003/

https://www.reddit.com/r/devops/comments/exfyhk/monthlygettingintodevopsthread2020012/

https://www.reddit.com/r/devops/comments/ei8x06/monthlygettingintodevopsthread202001/

https://www.reddit.com/r/devops/comments/axcebk/monthlygettingintodevopsthread/

Please keep this on topic (as a reference for those new to devops).

https://redd.it/koijyu
@r_devops
Best way to learn DevOps

Hey r/devops!

I am a self-taught Python developer, and so far I have experienced building various projects. From developing a desktop GUI app, writing web automation, and building web apps and APIs using Flask.

I am at a point where I want to start looking for a job in a field that involves scripting (Bash/Python) and "making things work" so I started to learn about DevOps and found it very interesting.

I do not have any degree/diploma and everything I know I learned by myself.

Although my full-stack skills are decent, I am not attracted to this field. And as I don't have a CS degree, finding a job as a Python developer can be pretty hard (as they always prefer someone with a degree).

This is why I want to get a grasp on DevOps as I truly believe that this is something I am capable of doing, only I am not sure how hard it will be to find a job once I am ready to start looking for one.

I would really appreciate it if someone could shed some light and what exactly I need to cover and learn to be at a point where I can start applying for a DevOps position.

Thanks!

https://redd.it/kofxzi
@r_devops
What is Vagrant ? Why Vagrant is important in DevOps World ? | Part 1 | Beginner | Vagrant Commands

Hello All, 
In this tutorial, we all will learn complete vagrant in three different parts.
[Part 1 includes](https://www.randomskool.com/2021/01/what-is-vagrant-why-vagrant-is.html) **-** 

* *Introduction of vagrant*
* *Why vagrant is used?*
* *Different commands used in vagrant*
* *Example - Provisioning using a simple bash script*

### [Introduction of Vagrant](https://www.randomskool.com/2021/01/what-is-vagrant-why-vagrant-is.html) -

A vagrant is a tool for building and managing virtual machine environments in a single workflow.
Vagrant is used to setting up one or more virtual machines by:


* *Importing pre-made images (called "boxes")*
* *Setting VM-specific settings (IP address, hostnames, port forwarding, memory, etc.)*
* *Running provisioning software like Ansible and SaltStack.*

### [Why vagrant is used?](https://www.randomskool.com/2021/01/what-is-vagrant-why-vagrant-is.html)

Vagrant allows us very easily to share setups between team members allowing a very easy spin-up of a work environment. Suppose, one reason to use Vagrant is to test how your deployment works, i.e. provisioning, locally before pushing those changes to other environments.

For Complete Tutorial - [https://www.randomskool.com/2021/01/what-is-vagrant-why-vagrant-is.html](https://www.randomskool.com/2021/01/what-is-vagrant-why-vagrant-is.html)

https://redd.it/koeu14
@r_devops
Question: How to make your own server

I have been making websites and purchasing vps to host them, I know how to configure things and start the server to listen to any elastic ip address, I figure having a raspberrypi running my server would be far more economical,

I figured that I could just set up the nginx with proper configurations there, my question is, how do I make it accept requests over the internet, do I need a custom dns? Also how would that ip be static for that to work? Is there any tutorial I can refer to?

https://redd.it/koapek
@r_devops
How worth it is a degree at this point in my career? What's the max earning potential with vs without one for an IC technical tract?

So I've reached a point where I'm making six figures in a medium COL area in my late 20s without a degree and am doing alright for myself, but I've been thinking about going for WGU BS Cloud Computing degree to see what additional options would open up. Is it worth the time, effort, and cost though? Should I just grind leetcode instead? I can get interviews easily enough though passing them is another story altogether.

https://redd.it/kop54x
@r_devops
How to move to Devops

Hello,
I need your advice on transitioning my career to DevOps from a developer role. Currently, I work at a small-medium company doing their operations like deploying manually to servers and sometimes doing developments with C#, etc. But my role is designated as a junior architect as I take care of mainly Website Deployments, database deployments, etc to different environments. By the way we are not cloud yet. I also take care of the TFS. Code reviews and check in before the deployments. Please advise me some steps to begin with. Thanks.

https://redd.it/kp27ie
@r_devops
What is the best way to solve a problem

So devops and the cloud are all the rage theses days. A lot of the problems that we are facing these days aren't necessarily new to the industry but they may be new to you. I have years of experience as a developer but not a lot of experience in operations and in IT. As a senior devops member on my team, I don't think it is expected that I have answers for everything but should know how to get to a reasonable solution. As all companies are different, there are many ways to solve a problem and it depends on the context of the problem and how it affects the company. How do you develop insight of all the different factors that relate to a problem. One of the ways is to get first hand experience or to learn from somebody in your company. But what happens when you or anybody your company doesn't have insight? If they don't have any idea what they are doing, they should be honest and admit that they don't know

Here is an example. I don't have any experience with protecting systems against DDoS nor does anyone else in my company. But suppose I am now the person responsible for resolving the issue. I can search on Google, AWS docs or ask reddit, but is the industry standard way of finding solutions for problems that are new to you. Another resource would be to refer to books on devops, security or Google SRE on possible solutions.

How do you approach problems that you are unfamiliar with? Is an acceptable answer to tell your team that you don't know and will need to spend a day reading a book or AWS articles on DDoS, in order to get enough background information

https://redd.it/kpaojh
@r_devops
Windows IAC?

Is it possible to setup a windows environment in a way where everything is defined as code, or is this a futile thought? I'm vaugly familiar with some devops practices but I work in a smaller business where Windows is a large share of our environment. Would be nice to have everything in code so if something needs to be rebuilt it could be done quickly.

https://redd.it/kpbr6z
@r_devops
How to practice devops learnings?

Hi I am an release engineer and planning to move to devops role. I've been learning different tools like ansible, docker, kubernetes. But I do not have scope to implement them at my work. Can you please help me finding a best way to get hands-on experience and practice with the devops tools I learn.

https://redd.it/kp5udn
@r_devops
What are the best books on systems design philosophies?

I know this is a pretty broad question, but the parameters are broad. I want to learn more about the current leading philosophies on building systems that are not only efficient but secure. What are your top picks?


BONUS: If you have any good picks for books on both ORGANIZATIONAL and COMPUTER system philosophies, the better!

https://redd.it/kp57tk
@r_devops
Tutorial about Azure for beginners

Hello.

Started to make video guides/tutorials about Azure fundamentals. Tried to be short and clear. Looking for recommendations, tips, and constructive criticism. Currently are ready 3 parts:

https://youtu.be/U5qlgZeBZAo

https://youtu.be/ndNf0amiwhk

https://youtu.be/I5rOxq56NnU

https://redd.it/kp3roh
@r_devops
How long would it take to read all of the AWS documentation?

I can vaguely remember reading somewhere that it would take the average human reading at 250 wpm 100+ years to read all of the official AWS documentation, from start to finish, but I can't recall where I read that and I can't attribute the quote (I already tried google).

Does anyone know the quote I'm talking about, and, if I only imagined it, does anyone know roughly how long it would take someone to read all of the AWS documentation? Are there similar stats available for the Azure/GCP documentation?

https://redd.it/kozpbb
@r_devops
Beginner question: Understanding workflow with stages, specifically conflicts.

A devops pipeline usually has multiple stages, like development, staging and production. In each of these stages, there can be a deployment of the build to a resource, like a VM in the cloud.

What I don't understand is when people are working on multiple feature branches.

In production on the master branch, each feature comes one after another. So no conflicts there.

In development, there might be multiple feature branches and each feature wants to be tested in the dev environment. But assuming there is only one resource, one branch will overwrite the deployment of the other one. I see a conflict here.

Can someone clear up how it is usually done or if I am missing something? Thanks.

https://redd.it/koyrca
@r_devops
Provision AWS IAM with Terraform

Over the last two years I've been constantly working on improving our terraform AWS IAM module to make it as flexible as possible and ensure it covers all use cases. It is now in a state that I'm pretty satisfied with and it serves an 20+ AWS account landscape with all the edge cases one could think of.

Thought to share it here as it might be useful to some of you.

GitHub: [https://github.com/cytopia/terraform-aws-iam](https://github.com/cytopia/terraform-aws-iam)
Registry: https://registry.terraform.io/modules/cytopia/iam/aws/latest

Features

It is only required to have a single module definition per AWS account, as this module allows the creation of unlimited resources and you will therefore have an auditable single source of truth for IAM.

Completely configurable via `terraform.tfvars` only
Arbitrary number of IAM **policies**, **groups**, **users** and **roles**
Policies can be defined via JSON or templatable JSON files
Policies can be defined via `aws_iam_policy_document` (Example here)
Groups, users and roles can be attached to an arbitrary number of custom policies, inline policies and existing policy ARN's
Users can be added to an arbitrary number of groups
Users support AWS access/secret [key rotation](https://github.com/cytopia/terraform-aws-iam/tree/master/examples/access-key-rotation)
Roles support trusted entities
Arbitrary number of [identity providers](https://github.com/cytopia/terraform-aws-iam/tree/master/examples/saml-login) (SAML and OIDC)
Account settings: account alias and password policy

Documentation

I've made sure to document as extensive as possible in each of the examples and also add best-practices and certain workflows. If you find certain functions unclear, please drop me a comment here.

https://redd.it/koy2vz
@r_devops
Free Kubernetes workshop

Hi there! Six months ago I've created a survey about Kubernetes basics, and the results were showing a strong interest.

So here we go: at 9th of January, 12 PM (EST) or 18 PM (CET) I will be hosting a free online event about the very basics of Kubernetes. Here is the event link.

What will we cover:

1. We'll talk about Kubernetes architecture a little.
2. We'll talk about tools for creating Kubernetes cluster.
3. We'll try to create a small cluster (1 node, 2 nodes) as virtual machines with VirtualBox.

Once again, it's completely free, I'd like to have your feedback.

https://redd.it/koxydf
@r_devops
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