Reddit DevOps
268 subscribers
1 photo
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Is testing automation part of devops?

Is testing automation part of devops? In my understanding, it's a part of it, but I am unsure what needs to be done to automate it. Let's say you are using Jest, Enzyme for unit and integration testing and Cypress for e2e. What are the tools you would use to automate it and is it all code or do you need to use console scripting and configure a cloud application too to make everything run at the push of a button?

https://redd.it/frgmnn
@r_devops
What Slack structure and integrations are you using to support your DevOps adventure?

Where I work most of our notifications and alerts go through Slack, and it works as a primary source of information for everything except for critical alerts, those go through VictorOps.

We mostly use Datadog with its Slack integration, which also sends a message upon resolve. For appplication errors we track and alert via Sentry. Both messages from Datadog and Sentry typically goes to `#<appname>-alerts`. Slacks GitHub bot gives us status on Pull Requests, commits and issues to `#<appname>-notifications`. Jenkins also reports on successful builds and deployments to this channel.

Even though the platform/infrastructure is not an «app», it also has follows the same schema with `#infra-alerts` and `#infra-notifications`.

We use Pull Panda for Pull Request reminders, which is quite effectual.

Each team on the other hand structure their communication around the public Slack channels `#<teamname>-{status,support,social}` in addition to a private team only channel.

There are also two special channels which are just `#alerts` where critical errors are relayed, and it also works as a war room – and `#notifications` where the GitHub bot reports on commits to master on all projects, to broadcast a sense of company feature velocity awareness.

I'm interesting in hearing your experiences and thoughts, thanks!

https://redd.it/fraxz2
@r_devops
What is the maximum number of Google source repository have can have?

Experimenting with some stuff, largely a theoretical question for curiosity sake.

https://redd.it/frcrn8
@r_devops
What differences are between a NAS, a shared disk file system on a SAN, and a distributed filesystem?

https://en.wikipedia.org/wiki/Clustered_file_system#Network-attached_storage says

> Network-attached storage (NAS) provides both storage and a file
> system, like a shared disk file system on top of a storage area
> network (SAN). NAS typically uses file-based protocols (as opposed to
> block-based protocols a SAN would use) such as NFS (popular on UNIX
> systems), SMB/CIFS (Server Message Block/Common Internet File System)
> (used with MS Windows systems), AFP (used with Apple Macintosh
> computers), or NCP (used with OES and Novell NetWare).

https://en.wikipedia.org/wiki/Network-attached_storage

> Network-attached storage (NAS) is a file-level (as opposed to block-level) computer data storage server connected to a computer network providing data access to a heterogeneous group of clients. NAS is specialized for serving files either by its hardware, software, or configuration. It is often manufactured as a computer appliance – a purpose-built specialized computer.[nb 1] NAS systems are networked appliances that contain one or more storage drives, often arranged into logical, redundant storage containers or RAID. Network-attached storage removes the responsibility of file serving from other servers on the network. They typically provide access to files using network file sharing protocols such as NFS, SMB, or AFP.

> ... A clustered NAS is a NAS that is using a distributed file system running simultaneously on multiple servers. The key difference between a clustered and traditional NAS is the ability to distribute[citation needed] (e.g. stripe) data and metadata across the cluster nodes or storage devices. Clustered NAS, like a traditional one, still provides unified access to the files from any of the cluster nodes, unrelated to the actual location of the data.


Does a NAS provide both block level and file level operations?

Does "Network-attached storage (NAS) provides both storage and a file system, like a shared disk file system on top of a storage area network (SAN)" mean that NAS and a shared disk file system on a SAN are the same?

Does "NAS typically uses file-based protocols (as opposed to block-based protocols a SAN would use) such as NFS (popular on UNIX systems), SMB/CIFS (Server Message Block/Common Internet File System) (used with MS Windows systems), AFP (used with Apple Macintosh computers), or NCP (used with OES and Novell NetWare)" mean that NAS and a distributed filesystem are the same?

Thanks.

https://redd.it/fr3l0l
@r_devops
For those who have managed to reach 100k in terms of salary in 4 years or less, what’s your process / story? I’ve always been interested in how people have done this. Did you focus on certs? Networking? What was your process?

I’ve always been interested in hearing the process somebody has used to achieve this. What type of certs, etc.

https://redd.it/fqxkg3
@r_devops
What technology and platforms are open-source and don't require you to spend money?

I know that AWS cost money so I try to avoid it at all cost, but a lot of devops course require AWS. Is there any technology that's open source like MySQL?

https://redd.it/fredz8
@r_devops
Amazon DynamoDB Streams - Video Tutorial for the AWS Developer Associate from digital cloud training

Do you fully understand Amazon DynamoDB Streams? This is a popular topic for questions on the AWS Certified Developer Associate exam. This feature of DynamoDB captures a time-ordered sequence of item-level modifications in DynamoDB tables. Other AWS services can then process the data in a stream.

DynamoDB Streams is often used for archiving and auditing, analytical reporting, search, real-time lookup and messaging / notification use cases. In my upcoming course for the AWS Developer Associate, you'll learn several use cases for DynamoDB Streams and get straight to the facts you need to understand for the exam.

In the linked video, which is an excerpt from my upcoming course, you'll also gain practical experience as you follow along and build the architecture working with DynamoDB Streams, AWS Lambda and Amazon CloudWatch.

Watch the video here: [https://youtu.be/\_D2Uiufn7NA](https://youtu.be/_D2Uiufn7NA)

https://redd.it/frn8cm
@r_devops
API implementation has a lot of complications and im stuck can anyone help me?

Can anyone help in API implementation?
I am facing a problem with the implementation of API, it's a bit complicated thing and I'm done searching it, can anyone help?

https://redd.it/fruo56
@r_devops
Current state of CM tools for a mostly MS environment?

If you were designing configuration management for an environment that was mostly comprised of Windows workstations & servers, which tool/framework would you lean towards? For the sake of this scenario, let's leave SCCM off the table.

The goal is to ease the burden of deploying policy changes & software versions/updates, as well as establish desired states for different groups of machines. Let's say there is currently heavy use of GPO, but nothing to enforce state, nor a way of handling 3rd party applications and such.

If you choose an open source platform a la Chef/Puppet/etc, why would you pick it over say... Powershell DSC + Chocolatey?

TIA!

https://redd.it/frvwt9
@r_devops
I've been a "Software Engineer" for the last 4 years but I don't think I am a good Engineer - want to switch to Devops.

Hey guys, I've been a software engineer by title for the last few years. Not at any big tech companies, just small and mid sized places. I've come to realize I have no interest in DS and Algs, nor do I have the intellectual capacity to memorize/learn them for interviews, nor the patience to grind out Leetcode questions, nor a penchant for moving pixels on a screen (or anything frontend related for that matter). That's not to say that I consider myself a bad dev or that I dont like coding (I love writing APIs and backend code), I can build a scalable SaaS app (decoupled frontend (web and mobile) + backend api codebase + infrastructure + DB + Redis + Message Queues + Linux Env for the app, etc) from start to finish on my own and tie all of the components together, but I dont think I'd ever cut it at a FAANG as an actual ENGINEER. Lately I've noticed I really enjoy the infrastructure side of things, and at one of my old jobs I wrote an entire auditing suite for our 200+ AWS stacks, which was super fun. So, I'm looking to take the plunge into devops since I am unemployed right now and going through Cloud Guru courses (starting with the Solutions Architect). Have any of you successfully switched over to Devops who were not "top tier engineers"? Would you suggest I take an internship in devops and hope for an offer? Salary wise, entry level devops pays more than PHP (my career language of choice) so I dont really care about taking a step backwards in pay as an intern. Your input is appreciated, thank you!

https://redd.it/frvfdj
@r_devops
How does your team handle sentry / newrelic errors?

We have alerts channels in slack for all our projects in sentry.
However, the noise to signal ratio is ultra high. It's impossible to keep up now.
Theres often no prioritisation given to errors from POs unless theyre critical errors, in which case it's a no brainer.


How does your team handle app exceptions?

https://redd.it/frzjsr
@r_devops
best practice for Dockerfile, declare ENV in Dockerfile or not?

Hi,

I am wondering which one is the best practice to handle ENV variable in Dockerfile?

If I don't declare it in Dockerfile, I can still inject environment variable using docker run -e or docker-compose.yml + environment section, and I don't have to expose the name of the environment variables .

If I declare it without value, I feel it can be served as documentation purpose so developer don't forget such variables are needed.

&#x200B;

Please provide guidance.

&#x200B;

Thanks!

https://redd.it/fryafw
@r_devops
Introducing: AsCode an Alternative Syntax for Terraform

Today the first stable verison of AsCode was released:
AsCode allows you to describe your infrastructure using an expressive language in Terraform without writing a single line of HCL.

https://github.com/mcuadros/ascode

https://redd.it/frogd4
@r_devops
Just use a managed service

Friends don't let friends roll their own

My [new post](https://medium.com/@alonisser/managed-services-6e205f502098?sk=d5652737b87eb780c36eea2592b6c8f9) on why you probably shouldn't role your own metrics/persistence/search etc infra

https://redd.it/frqavd
@r_devops
Do you know any good GitHub repository with an example of a perfectly well crafted devops "infrastructure" for an API?

Do you know any good GitHub repository with an example of a perfectly well crafted devops "infrastructure" for an API? It can be made using any framework/language, but preferably Node, Spring, ASP.NET or Python. Also, could you tell us why you think it's a really good repository for learning?

https://redd.it/fs4e14
@r_devops
Implementimg DevOps in the Endpoint space

I'm curious if anyone has gone down the path of implementing DevOps concepts into the Endpoint space (Desktop/Laptop/Mobile/VDI). The Endpoint space is part of infrastructure & operations, and has traditionally been a very Ops-focused role.

I understand the need for getting code into Git and to version control everything from the code side. But for enterprise Endpoint departments, most of the tools are very GUI-driven.

CI/CD works for some routine operations. Packaging software and distribution come to mind.

When talking Infrastructure as Code or Immutable Infrastructure - this becomes even harder to apply in the Endpoint space. When you have thousands of endpoints and users configure those endpoints all to their liking, it's hard to treat the fleet as "cattle" when they intrinsically pets.

In summary, for Microsoft shops that use tools like ConfigMgr/SCCM/Intune, Group Policy, and other standard management tools, how does one fully implement DevOps? All the research and practicing I've done over the years has been applicable in the Server space. I haven't seen or heard from any IT shops using DevOps in the Endpoint space. Have you?

https://redd.it/frvgsd
@r_devops
Is it good for my career to shift to devops after being a full stack web developer for 3 years?

I'm also interested in data science and artificial intelligence fields. I've been a .NET developer and wanted your opinion if I could be hurting my career growth by going into devops field. As few people told me it's not as lucrative as AI or data science.

https://redd.it/frp5s1
@r_devops
Azure Prioritizing Workloads in regions hit hard by COVID-19 related demand

Azure has announced that they will be limiting new accounts and requests for resources in regions hit hard by covid-19 induced demand. This includes many regions in the USA and Europe. In their release they mention that demand in some regions is up by 775%!

AWS has not made a similar announcement and continues to run normally. Could this be because Azure is used by government, medical and the like more than AWS?

You can learn more about this and other announcements this week at This Week in DevOps: [https://thisweekindevops.com/2020/03/30/weekly-roundup-march-30th-2020/](https://thisweekindevops.com/2020/03/30/weekly-roundup-march-30th-2020/)

Have you experienced any issues with Azure personally? If so how are you remediating them?

https://redd.it/frrt83
@r_devops
Learning more about DevOps, Container, and Cloud Solutions

Article with workshop, books, courses, lab and articles around DevOps, Cloud, container, and Kubernetes. I hope it can help to increase your knowledge on those topics, enjoy it: [https://medium.com/@fernando0stc/learning-more-about-devops-and-cloud-solutions-cfd86b4a7f43](https://medium.com/@fernando0stc/learning-more-about-devops-and-cloud-solutions-cfd86b4a7f43)

Any other recommendation share here, please

https://redd.it/frre2q
@r_devops