Reddit DevOps
273 subscribers
64 photos
32K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Any coupons for ACloudGuru or LinuxAcademy?

Hi All,


Is anyone aware of any coupons for ACloudGuru or LinuxAcademy?


Thanks in advance!

https://redd.it/p8w2p7
@r_devops
C++ builds best practices

Hey gurus,

Just wanted to know the best practices for building c++ applications on windows. I know cmake , visual studio can do that.

But i am looking for something CICD prospective.
Please share the best tools and practices.

https://redd.it/p8qbs1
@r_devops
How to automate browser to stop asking to store passwords?

Hi community,

I am tired of browsers asking to store my password and I switch between computers a lot ( I have 7 for work purposes)

I also use multiple browsers: Edge, Chrome, Brave, Firefox and Safari.

Is there any way to run a script or playbook that configures my machine in "Secure mode" so these browser dont offer the option to store passwords?

Thanks

https://redd.it/p8nmsf
@r_devops
Switch to a better hosting platform for security and operational benefits.

We recently helped one of our US-based clients to recover from a huge malware injection into their data. They are an established firm in the branding & marketing world for more than 3 decades. With a good number of customers who trust them, they are supporting several businesses through their digital services.

Here is the link for the complete article if you wish to go through it.

https://redd.it/p8nizb
@r_devops
Anyone have experience with pv-migrate for Kubernetes?

I've been looking at https://github.com/utkuozdemir/pv-migrate and am curious if anyone has used it in production? Been thinking about what options I have available if I need to migrate storage and resize is not available. Seems like the above would do the trick but want to see if anyone here has experience with it in a prod environment.

https://redd.it/p90hkr
@r_devops
In a real world scenario, do testers still wait for fixed code to be manually deployed before manually performing tests even though there is a CD pipeline in place? Or are all tests automatically performed?

Sorry for noob question

https://redd.it/p8jj87
@r_devops
PM here. Is there a technical reason that a release cant/shouldn't go forward just because two tickets aren't completed?

Ive got minimal technical knowledge on this and cant just google it. Talking with the Sr. Architect on Wednesday. In my last job we wouldn't extend a Sprint two weeks when we had doned multiple other pieces of functionality.

Let's assume the two tickets aren't codependent on others.

https://redd.it/p92i9z
@r_devops
Need suggestions for Terraform Deployment strategy with multiple environments

We have 4 different environments, dev, qa, stage, prod. Our repo structure includes a module per folder and we're using terragrunt. Our gitlab ci pipeline currently only runs a terraform validate on every module and creates an artifact that contains the repo to be deployed via Jenkins later on within each of the environments. Due to compliance reasons, we have no choice but to use Jenkins in production, but I would like to deploy directly to dev/qa/stage from gitlab. I'm having a hard time setting up the pipeline to match our current work flow.

Today, we push to a feature branch, the artifact is created and synced to an s3 bucket. Then we run a Jenkins job within the environment we want to run it in, manually.

I would like to deploy to dev, run tests, etc.. then deploy to our QA environment. Then our QA team validates and "approves". Hopefully this could all be tracked within the gitlab merge request right up until the stage environment has been deployed to.

I can't decide if the branch per environment method is the way to go, where we would have different stages in the pipeline run based on which branch was being merged OR deploy to our DEV environment on every commit and use the manual pipeline trigger for the other environments. Could anyone else provide some insight into how they are solving this?

https://redd.it/p94hg3
@r_devops
Bringing a Domain from another registrar to aws domain custom email ?



Hello I currently have a few domains registered with namesilo.
I'm also using there hosting which includes 2 custom domain email addresses.
When I migrate my domains using Route 53 how can I keep my custom domain email addresses?

https://redd.it/p91r1i
@r_devops
vROPs and True Visibility Suite for APM

Hi all! Long time listener, first time caller.
Looking for some insight from this community to see if there is any familiarity with using vROPs and True Visibility Suite for their application monitoring.


Some background:

At the moment my company is using Dynatrace and is using it quite poorly. We have run into a scenario that the DevOps teams are too busy to learn the tool proprerly and due to it's high cost we are really not seeing the ROI. This has really put on the pressure to either find a way to upskill or retire.

We are also mid conversations with Splunk for logging as we currently have no logging solution outside our external hosted SIEM. They have been trying to sell us on their Observability offering but considering teams don't configure something like Dynatrace properly, the likelihood of them properly instrumenting that part of Splunk seems like a stretch.

The question at hand:

vROPs for infrastructure monitoring is really quite cheap and our VMWare SME swears that it is one of the best tools for anything VMWare. I can see that the cloud edition (which we are moving to) has a number of content packs for APM and there is also the ability to purchase additional packs through True Visibility.

I realise that RUM and Synthetics will not be covered by this solution, but wondering if anyone has any experience with using these products for APM? Does any one have any issues or thoughts on the products?

Also happy to hear other suggestions.

https://redd.it/p97dpz
@r_devops
where to place deployment configuration

Hey everyone, I am currently working on building a CI/CD pipeline for my team who currently is used to deploying applications to production from their local machines.

I have been able to demonstrate how a CI/CD pipeline would work and have gotten buy in from the rest of the team. One of the issues which we are facing is where to store the deployment configuration, for example: the AWS Region, OS limits (CPU / RAM), number of replicas, etc. We currently have 3 environments (DEV / TEST / PROD) and we aim to size our applications differently on DEV than we do on PROD.

I see two options:

1. Have the deployment configuration be stored within the application's source code repository; or
2. Have the deployment configuration be stored within an external repository, and then checkout the repo at some point during the CI/CD pipeline.

The first option feels wrong to me simply because of the way Git works. For example, if my deployment configuration for DEV has to change to downscale the machine's OS limits, that commit would be included as part of the next application's release when branches are merged from "develop" to "master". One benefit of this approach is that it keeps everything "close together", and any changes can be kept within the same repository.

The second option feels like the right approach because it separates application from deployment. I feel that the two have independent lifecycles but oftentimes impact each other. For example, an application may be deployed multiple times to the same environment but only built once. On the other hand, a change to the application might require a change to its deployment (such as increasing of its OS limits due to a more complex ETL job). Similarly, if a sidecar needs to run alongside the application to target some non-functional requirement, this can be done independently of the application code. In this case, storing the deployment configuration elsewhere from the application code repository makes sense. One benefit of this approach is that the "release" part may be managed by a different team who is authorized to carry out production deployments, however, if the release team is the development team, this might just slow us down unnecessarily.

I'd be happy to hear your ideas on how best to approach this scenario. Thanks for your time, looking forward to your replies!

https://redd.it/p9891d
@r_devops
How to Become a Certified Kubernetes Application Developer

This guide is a summary of my study notes for the Certified Kubernetes Application Developer (CKAD) exam that I recently passed.

Even if you’re not interested in the certification, consider this as your one-stop shop for Kubernetes: you have all the main technical concepts explained along with a myriad of examples in one place.

Furthermore, it has some extras that come from my experience preparing for and taking the exam.

https://redd.it/p9bgsx
@r_devops
Connect AD to AppStream 2.0 fleet

Just started a project and I was wondering where some of you would start if you were given this story.

AD and AppStream Fleets were previously created.

https://redd.it/p9e76i
@r_devops
Alternative to Rundeck / Selfservice GUI for non-devs

Hi community.

We've been using Rundeck internally to create simple "jobs" that enable non-devs (or non authorized personal) to run simple scripts, without them having database or other type of credentials.

Basically we are using Rundeck as a cheap/quick to deploy backoffice where QA, PMs, Support team can run jobs that query the database, or call APIs. This is working and it's simple to create jobs with inputs (text, date, dropdown).

Right now I'm looking for alternatives to Rundeck, not so much for it's automation or devops capabilities, but to achieve this goal: a web interface, with self-service jobs for less technical/dev teams.

Do you use Rundeck for this? Do you know any better/more friendly alternative?

I think there is a big market for this. Maybe some of the solutions of low-code/no-code on the market could also achieve this goal.

Thank you.

https://redd.it/p9f2r9
@r_devops
Free Docker registries

Since Docker announced that it would remove unused images from Docker Hub, I’ve been interested in listing places where I could host mines. As it’s for personal purposes, I’m interested in free plans. Here’s what I found.

https://redd.it/p9fi7w
@r_devops
Create containers on events

My entreprise is using elasticsearch to store user data. I need to run containers on the events that exists in the elasticsearch database. New events are created Everytime. The containers will process the user data and add new fields on the event from elasticsearch that is being processed. New events can also be created from the services run in the containers if needed.

There are million events to process : users web accesses, users purchases, etc

The tasks run by the containers are very short : they take from 10 secs to 1 min to process.

The process would be the following (I think) : a deamon would be picking events to process and create pods on nodes which have a few pods running.

I want to be able to limit the number of containers working on specific events. For example : x containers working on users purchases, and x containers working on users web accesses.

As I saw, k8s is made to process normal services like a web server, not quick tasks as I want to do.

I saw that there are many tools that could be used for what I want to do like kubeless, knative, brigade, etc but the features looks almost the same and I don't really know what to choose...

Any advice ?
Thanks

https://redd.it/p9bjs8
@r_devops
Whats are the more common ci/cd pipeline builds

Hi, as the title suggests, I'm just after some insight from those who are in roles which include building ci/cd pipelines..

I just wanted to know;

- what sort of projects crop up more times depending/regardless of industry..

- the tools which are highly required ( terraform etc )


Thank you !

https://redd.it/p9kxwd
@r_devops
DataDog or AWS based monitoring solution?

So I am looking to build a monitoring solution for several AWS resources (redshift, EMR, EC2, etc.) and have the option to use DataDog. However, I have seen some suggestions to use AWS services to build such a solution. My understanding is cloudwatch is AWS's monitoring solution, but better dashboarding can be offered by Quicksight, so I was considering trying to pair the two services to have a cloud native solution, or a similar combination.

​

Has anyone seen anything similar to this? Or am I making this unnecessarily complicated by not just relying on DataDog?

https://redd.it/p9n7lh
@r_devops
Getting a DevOps Engineer job in the EU or UK as a US citizen?

Does anyone have any experience with this? How difficult is it to land a job and relocate for a couple of years?

The market is pretty hot right now and some of the salaries Im seeing here in NYC are crazy. However, there is a part of me that wants to see the world and explore but also continue to work as a DevOps engineer since I enjoy it. While the money sure is great here, I do feel like there is more to life. For reference, the places I was interested in are Madrid, Barcelona, and maybe London. How important is the language for landing a job? Id love to practice and learn Spanish fluently but don't think I could pick up that German easily.

As far as Ive researched you need a work visa to work anywhere in the EU (and the UK). Is it always done through the company? Im assuming here one would have to REALLY impress the company to have them go through the process of filing for visa sponsorship, right? Do companies even bother interviewing candidates from the US or just non-EU citizens in general?

In terms of salaries, I do see they are very low compared to US (using NYC,SF,Seattle as a reference for myself here). Is it possible to negotiate for more or can I generally expect under €100k/yr net (or even gross) no matter where I go? What are some of the tech hubs in Europe (I only know of London)? London salaries threw me off the most because afaik the cost of living is pretty much equal to NYC yet the salaries are almost halved in the UK.

Finally, for anyone who successfully relocated to the EU or UK, what is the process like in general?

Thanks!

https://redd.it/p9qrhv
@r_devops
Story defeated by Notepad++ (baby's first play book)

Howdy,

Last week was my first week on the job. I accepted a sysadmin role for an app team. The job uses devops methods to help bring different aspects of the this company's IT departments. I have done systems work and IT support before but this is my first big boy job. So while I am waiting on my company equipment to come in my manager gave me a pretty simple task. They basically just wanted me to create a simple Ansible playbook that would automatically update Notepad++ because he was tired of seeing the update pop up on his servers. No problem, it's a simple task because he understands I am fresh when it comes to Ansible so this is a good none destructive way to dip a toe. I hyped it up and was like no problem. I was like, "I am gonna get this done quickly and efficiently to impress my new boss. They will be like "Woah!""

Well life happens and for some personal reasons I am super stressed and to make matters worse it doesn't look like notepad++ has any hooks to just automatically update the app without having to have some manual intervention. (At least that I can find) so I am trying to juggle this very easy task and my personal issues and started to get frusted because the app has a third party update tool just not away to pass it commands.(again, at least that I can find) So I come up with the strategy to just simply do the task at hand and make a script that would Uninstall the application and install it using the new version from a share. Then rename the auto updater folder so the notification doesn't appear. The assignment was just so I could learn how to use the different systems anyway so I thought it was good to go. But now comes the fun, my playbook sucked! Since I couldn't use my stuff and was relying on slow VDI my code took forever to just type out so I resorted to just typing it on my machine and passing the code to remote app. Cool, my spacing was jacked and intentions off so now I have a ton of commits that are just like "debug...debug..debug." and a bunch of failed Ansible task that all the departments can see on a simple update. I finally got it to work and we are all good. I explained the situation and played it off like having automatic updates wasn't a good idea anyway as we should be doing something like "minus one version" to ensure security and reliability. (Which is the truth) I was just upset that something so simple turned out to be so frustrating, I am sure my personal stuff had something to do with it too as the script is super simple. But that is it that...that's baby's first playbook. I am now a Sublime fan.

TlDR: Baby's first Ansible playbook was more of a headache than I would like to admit. And I didn't get to look like a smooth hackerman at my new big boy job :(

https://redd.it/p9s41r
@r_devops