Reddit DevOps
269 subscribers
5 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Is learning Linux through VM sufficient?

Hello all,

I’m still a little early in my IT journey, so please bear with me. My end goal is to be in devops or a cloud engineer.

I really want the new M1 Mac, and need to buy a laptop ASAP (long story).
(Also getting a friends employee discount, and enjoyed the iOS experience this past decade, so please don’t recommend a different laptop 😅)

I know i need to learn Linux if i want to achieve my goals, but it seems M1 is incapable of using bootcamp at the moment for windows and Linux.

It also seems parallels came out with a way to run windows and Linux through VM, albeit still in its early stages.

My question is:

Because i don’t know exactly what the learning process is for Linux, will I be fine running/learning Linux through a VM, or will i need it to double boot through bootcamp to get my learning done properly for some reason I’m unaware of?

Also a bonus:

Is it fair to assume that the M1 will be able to use bootcamp with Linux OS eventually?

https://redd.it/nboqs9
@r_devops
Ci/Cd projects

Hello guys, I am new to ci/cd world. I studied about Jenkins and realised how it works. Can you suggest some hands on ci/cd
projects?

https://redd.it/nc6w1c
@r_devops
Can anyone explain the dip in searches for DevOps related terms in Sept/Oct 2020?

I was doing some research for an article I'm writing and noticed this: https://trends.google.com/trends/explore?date=all&q=CI%2FCD,devops,kubernetes,docker,AWS

There's a clear dip across all terms (and all of the other DevOps/software engineering technologies I could think of) starting end of September/start of October 2020.

Interesting points:

It seems to be present across most countries with the notable exception of China
Non-technical terms don't seem to show the pattern (I tried random things like 'fender', 'water bottle', 'Ralph Lauren' and found no equivalent dip)
There seems to be a smaller dip around the start of the pandemic, though this is much easier to explain
Consumer tech doesn't seem to be impacted. Only engineering terms

Now I might be missing something *really* obvious here, but if so I'd love for someone to enlighten me.

Any theories?

https://redd.it/nc5t43
@r_devops
Can anyone help me with the flow for my first pipeline?

I want to do a full CI/CD pipeline where I can push code changes to my repo and they will be automatically deployed to my app. The app is a flask web app written in python. I think the flow should look something like this:

push code to repo > perform lint tests > package code into container > upload container to a container registry > use ssh/ansible to connect to server > pull container > stop old container > start new container

Is this a decent plan? This is all just for my own learning and not a production app used by anything important.

https://redd.it/nc9a47
@r_devops
What is your most appreciated learning experience with a DevOps tool or other?

Hi everyone,

​

I started a new role which is focused on making the developer experience great. Of course I know that many people who work with a tools just look at the docs and API description to learn about a tool and its capabilities .But there is also a considerable amount of people who love to e.g. have a sandbox environment, an interactive tour through a product and so on.

I'm not a developer, so what might look solid & shiny on the outside for me, may be confusing and inefficient for real users of a given tool. Hence, it would be super helpful if you could share your most appreciated learning experience with a devops tool or any other technical product.

Thanks a lot in advance!

https://redd.it/nc88aq
@r_devops
Devops COP?

Hey,

I am working at a big IT company (1k Devs, 7k in total) . We have a community for EVERYTHING, including Development itself. However we do not have a community for devops. Do you think it is a good idea to fund one? Do other companies have dedicated devops communities?

I am very interested in any experience or opinion.

https://redd.it/nc3ggj
@r_devops
packaging a SaaS cloud product

I'm looking for guidance around packaging a SaaS cloud product in a kubernetes cluster for deployment on-prem or in private cloud. The solution should be generalized to work for the broadest set of customer cluster flavors (EKS, AKS, GKE, Openshift, hard way, etc...). The packaged app consists of stateless application services and MongoDb. The driver is customer reticence to let their own customer/user data beyond the firewall.

https://redd.it/nckk3i
@r_devops
Portainer vs Mirantis: My Experience in 2021

A while ago, I came across a video about two types of people - one managing and writing lines and lines of code and the other using Portainer. Quite exciting, and back then, I started to compare the available GUI options in the market to get my bucks’ best value.

https://www.p3r.one/portainer-vs-mirantis-my-experience-in-2021/

https://redd.it/ncjatc
@r_devops
Design structured diagrams, built to increase your team's trust in your docs.

Hey,

We’re looking for feedback on a new tool we’re building for cloud teams.

IcePanel allows you to design, maintain and explore structured diagrams, built to increase your team's trust in your docs.

It would be a great help for us if you could try it out and let us know your initial thoughts.

Please check it out below.

https://icepanel.io

Thanks!

https://redd.it/ncy6yi
@r_devops
Wie man mit Gitlab CI/CD und NSIS eine .Net WPF Anwendung erstellt und veröffentlicht

Hab gerade einen Blogbeitrag darüber geschrieben mit man mit Gitlab CI/CD eine .Net Framework WPF Applikation builden, mit NSIS zum Setup packt und über ssh auf einen Server deployed. Vielleicht hilft es jemanden :)

https://www.protoncode.eu/post/gitlab-cicd-fuer-dotnet-und-nsis-anwendungen/

Man könnte das jetzt noch ausbauen indem man einen Unit Testing mit einbaut

https://redd.it/nd3fdv
@r_devops
What tools or strategies do you use to measure your team's performance?

I just recently came across Google's Four Keys Project as a nifty tool to measure how a team performs according to DORA's metrics. Our DevOps team was formally created only recently so we're still adopting best practices. I'd be interested in learning some of the other ways your teams measure how well they're doing.

https://redd.it/nd1rmm
@r_devops
Git branching strategy

How to implement Git branching strategy in DevOps for multi tenant application

https://redd.it/nd25fm
@r_devops
Fewest Manual Steps to setup Terraform IAC plus CI/CD in new AWS account?

Hi all

Recently, I've kicked off a personal side project built on AWS, and I aim to do everything "right" from the start. That means everything defined fully in infrastructure-as-code, and built/tested/deployed automatically with Continuous Integration and Continuous Deployment. This is ridiculous overkill for a toy project obviously, but I'm interested in how feasible it is.

Starting from scratch, I'm dismayed by how many manual steps are necessary to get to the stage where merging to main on my Git repo kicks off the automated steps to releasing a change to production. At my current count it is:

* create the AWS account
* enable MFA on the root user
* create an IAM user for day-to-day access with Administrator access
* create a CMK KMS key to encrypt my S3 bucket
* create an S3 bucket to store terraform state
* create another IAM user dedicated to applying terraform state with a policy allowing access to the KMS & S3
* attach resource policies to the KMS & S3 allowing the terraform user to access them
* export the terraform IAM user's access key ID & secret access key to my local workstation
* create a new project on github, with appropriate branch protection rules & webhook configuration
* write my terraform to create basic CI/CD infrastructure (in my case using CodePipeline/CodeBuild, but not super relevant to this question)
* run terraform plan/apply

Obviously, all of this is just a once-off per project, and in the context of a larger company AWS Organizations would help with a lot of the grunt work. But just for fun, is there any way to cut down on the number of manual interventions in creating a new project without sacrificing security? Would other IAC tools such as CloudFormation or Pulumi be less cumbersome?

https://redd.it/ncuwn8
@r_devops
Progressively Build an Optimized Docker Image for Golang Projects

Hi, I'm working on building a series of blog posts about cloud native, containers, CI/CD, devops and microservices.

I'm starting by describing how to build images, and more specifically Golang with [this\](https://www.codingholygrail.com/build-docker-image-for-golang-projects) post.

If this is something you're interested in please let me know in comments below!

https://redd.it/ncyhe0
@r_devops
How to configure hashicorp nomad service to service network?

I want to use nomad to replace docker-compose. In docker compose you can specify the dependent containers and you will be able to reach the container with the name.

Things doesn't seem that easy with nomad somehow. I have this test job that creates mysql container and another application container.

        job "hippo_services_db" {
datacenters = ["dc1"]

group "services" {

volume "mysql_data" {
type = "host"
read_only = false
source = "mysql_data"
}

network {
port "mysql_srv" {
static = 3306
}
port "toad_srv" {
static = 8080
}
}

task "mysql" {
driver = "docker"

volume_mount {
volume = "mysql_data"
destination = "/var/lib/mysql"
read_only = false
}

config {
image = "mysql:8.0"

ports = ["mysql_srv"]
}

env {
MYSQL_ROOT_PASSWORD = "root"
MYSQL_DATABASE = "hippo"
MYSQL_USER = "hippo"
MYSQL_PASSWORD = "m06rs011e9h9ihuboi7s"
MYSQL_ALLOW_EMPTY_PASSWORD = "no"
}

resources {
cpu = 100
memory = 900
}
}

task "toad" {
driver = "docker"

config {
image = "clivern/toad:release-0.2.4"

ports = ["toad_srv"]

command = "./toad"

args = [
"--port",
"${NOMAD_PORT_toad_srv}",
]
}

env = {
IS_STATEFUL = "false",
}

resources {
network {
mbits = 10
}
}
}
}
}


from the application container toad i want to access the mysql container. You can install mysql client inside toad container as explained below:

    $ docker ps
# Get the toad app container id
$ docker exec -it $ID bash
$ apt-get update && apt-get install -y git curl libmcrypt-dev default-mysql-client
$ mysql -h $IP -P3306 -u root -proot

I am struggling with this for a day so any help would be much appreciated!

https://redd.it/ndaqfb
@r_devops
Getting started

Hey there smart people. Well I just finished college in cybersecurity and now I am enrolled in VET TEC. It's a program that the VA has added to the pathway program. Which give Vets like me the opportunity to gain a career in IT.
So I will be working on getting my security +, then CEH, and lastly Splunk certification. This will take most of the summer and well I feel like am ready. So wish me like because it's a new career path since I was a chef for 20 yrs.

https://redd.it/ndbtbu
@r_devops
Three Monsters: The path to Self Growth

If you ever take a journey down your daily journal, you would find certain traits that set you back and harm your trajectory to success. Now, if you are busy and don’t have time to write a journal (aka no time for self-discovery) but want to discover these traits (I like to call them monsters), you

https://www.p3r.one/three-monsters-the-path-to-self-growth/

https://redd.it/ncwdul
@r_devops
From a REST Api to a Time serie

Hi all,

I'm trying to find a solution that will cover this case: I have a REST api that allows me to ask for instant reading of some IoT sensors.

What I would need to do is to frequently poll this API and store such metrics in a TSDB so that I can visualize data with Grafana and such.

Do you have any suggestion?
I read something about Apache Kafka but I couldn't find any free REST connector.

Thanks a lot

https://redd.it/ndj37o
@r_devops
How does a “day in a life of a DevOps engineer” looks like?

Trying to become one myself, wanted to know what is going on in your day of work?

https://redd.it/ndn7sn
@r_devops
spotinfo - cli for exploring AWS spot instances

The spotinfo is a command-line tool you can use for exploring AWS Spot instances across multiple AWS regions.

Under the hood, the tool uses the same data feeds as AWS Spot Advisor and AWS Spot Pricing.

Compared with the AWS Spot Advisor, the spotinfo supports advanced filtering and sorting (also with regex), in-place spot prices, cross-region comparison, and multiple output formats (plain text, JSON, table, csv).

A short overview blog post is available here

https://redd.it/ndq6bg
@r_devops
What will be the future of DevOps?

Hello,
As things are getting automated and there are many easy to use tools for automation.
Will DevOps be merged with development?
Single guy doing Full Stack + Deployment and Maintenance?
Will DevOps Engineers who don't have knowledge of Development will lose their jobs in future?

https://redd.it/ndv7bp
@r_devops