Reddit DevOps
269 subscribers
4 photos
31K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
Java / Spring - 2020 Application Deployment?

Hi All, I've been dumped back into Java world after a 10+ year hiatus.

In terms of shipping applications, what is the go to in 2020 for shipping monolith applications?


In a previous life I would just spin up Jenkins, build and scp JAR files around. Yuck, but it got the job done. I don't have K8s handy, and I really couldn't be bothered spinning up a cluster for for a single application + database that doesn't need to scale.

Infrastructure will most likely be VMs in the public cloud (AWS, Azure or GCP). Something that could handle all three would be great.


Help / pointers greatly appreciated.

https://redd.it/fpq9cu
@r_devops
Beginners Luck!! (Looking for help)

Hey there,


Let me tell you about my background a bit. I am someone who has pretty good exposure in the development area and knows and comfortable with Java, C#, Python, etc. I have worked as a game development using unity3D.

Currently, I am a student of Network and Security field. I like networking as much as I loved development and I am constantly looking for something to merge them. From what I researched I think DevOps is the way to go further. However, for something as big as DevOps I am still a beginner and have basic exposure working with Python, Linux or Cloud tech. I wonder if there is something pretty basic that I need to know.


Looking for a list of courses for beginners. (Free courses preferred(As there are so many things going free during these quarantine time)/paid welcomed) Also, it would be a great help if someone can guide me further for my said path. How right is it and how can I get good at it.

P.S. Feel free to private message me if you want to discuss it.

https://redd.it/fppmzk
@r_devops
GitLab CI CD deploy CloudFormation Template

Team is looking to switch from Jenkins to GitLab CI/CD and I am doing some exploration. We have cloudformation template in git and use Jenkins to run aws cli to deploy the cloudformation template and rolling update. What is the best way to do this with GitLab CI/CD?

https://redd.it/fpnf24
@r_devops
Kibana dashboard question. I don't get it.

I am attempting to build a dashboard using Elasticsearch + Metricbeat where I have successfully sent data from metricbeat to the elasticsearch server.


What I think is simple is not, at least for me, and would like a quick understanding.

I am attempting to get a dash of Numbers reflecting the current CPU usage on each machine. This way at a glance I can tell if our CPU spikes after a push.

https://redd.it/fpltdv
@r_devops
Do distributed file systems partition a file across nodes?

In HDFS, a file is partitioned into blocks which are distributed across several nodes.

I am wondering if that is also true in the following distributed file systems: NFS, Andrew File systems, Bayou, Coda?

Thanks.

https://redd.it/fo64ew
@r_devops
Speed up Docker image build (> 2GB image)

Hi guys!

​

I'm a juniur DevOps member and i received a project. The project is that need to reduce deploy time.

One of these are the build, what is taken \~ 12-13 minutes. In the dockerfile has 27 layer now. Included app copy, node and composer install and push to dockerhub.

How can i reduce build time? I finded about docker cache but at this point i don't know how can i implement.

​

Thank you very much any advice, help.

https://redd.it/fo4wxp
@r_devops
is Ansible "exact_count" provisioning the same as Terraform provisioning ?

hi guys, I havent used both tools enough, but when i was looking at the [AWS provisioning feature](https://docs.ansible.com/ansible/latest/scenario_guides/guide_aws.html#provisioning) of Ansible...i find it exactly similar to Terraform's declarative feature.

It basically gets you to the desired state. isnt it pretty much the same as terraform then ?

https://redd.it/fo3zs5
@r_devops
Install Hashicorp Vault independently without Consul

Hi, my organisation is looking forward on installing Hashicorp Vault as our K/V manager to provide secrets to our K8s cluster and local development securely.

Most of the examples and Terraform files were bundled with Consul. Do I really need Consul? I don’t think Vault will not function without Consul.

All help will be appreciated.

And also maybe you can point me to some tutorials or Git repos. Thanks!

https://redd.it/fo0weo
@r_devops
cloudformation or terraform

Hi guys,

what do you think is a better choice to study as a DevOps beginner?
cloudformation or terraform?


thanks, any further comments on the topic much appreciated

https://redd.it/fo2j4e
@r_devops
PoP: You Don't (Always) Need Kubernetes

Episode 87 of the [Practical Operations Podcast](https://operations.fm/) is out! We're talking about Kubernetes again and trying to pull apart the fads from the facts. Is Kubernetes the right environment for everyone? Do you really need Kubernetes in your startup? Listen to find out if you don't (always) need Kubernetes!

[https://link.chtbl.com/dDlLnNPR](https://link.chtbl.com/dDlLnNPR)

We really appreciate hearing from our listeners. If you have comments or suggestions about the show we'd like to hear from you! Maybe you do always need Kubernetes -- let us know right here on Reddit.

This episode sponsored by [42 Lines](https://www.42lines.net/devops?utm_source=practical_operations&utm_medium=podcast&utm_campaign=sponsorship-2020-03) specializing in DevOps consulting including observability, cloud migrations, cost control, security practices and team mentoring.

https://redd.it/fpx2lm
@r_devops
Building DevOps Team for StartUp

Hi DevOps,

I am working for a Startup and We are building the DevOps team, I need some input to on the below.

\- Enterprise DevOps tools - We are planning to go for partnership with Enterprise DevOps tools, Basically our intention is to get the business from the tools. Please suggest which are the tools we can consider as enterprise DevOps tool tools like Splunk, Sumo Logic etc.


\- Best SIEM tools as part of DevSecOps for Enterprise.

\- APM tools.

​

Please suggest. Thanks.

https://redd.it/fpy1gs
@r_devops
Nightmare on the way to SecDevOps

I was a cyber / jr systems admin hopping my way through various jobs in the IT industry, with the goal of trying to get to SecDevOps / DevOps one day. I have an eclectic background with a graduate degree in cyber security, Linux training, Full Stack Web Dev training and experience with ELK, LAMP, and MERN stacks. I ended up landing this job in the financial sector with potential for growth and an excellent boss. There was a lot of work to do but the C-Level seemed receptive and willing to grow. One day the company announced it was going to sell to another company. They ended up not consulting with my boss and kept him in the dark the whole time. This led to him quitting and getting another job as a senior director at a much bigger place. The C-Level came to me and asked if I could do what he did with the aid of all our vendors. I was taught to never lie in IT so I said no, but I told them with the right vendors it’s possible. They seemed to half listen to me, promoted me to IT Manager and aren’t listening to any of my recommendations now. I feel like a doctor who was suddenly asked to become a lawyer. The company still has a small business attitude and is on the verge of some very bad decisions. The director that left called me one day and told me he would like to pull me over into their environment. They have a huge IT team with every department possible, including a full DevOps team! I said yes, with the actions of the C-Level I’m going to leave no matter what now, but I still feel guilt in the back of my head. I know I’m not responsible for a company making bad decisions but I was curious about others DevOps stories. How did you become what you are, was your path as crazy as this; or was it worse?

https://redd.it/fpwzd7
@r_devops
automate setting up and provision Windows build PC

I do automation at a gaming studio - we have a build farm consisting of several consumer gaming PCs (lets call them slaves) that we compile and test games on. Each slave has an SSD (this can be clean formatted) and specific CPU/GPU combo, virtualization of any kind is absolutely out of the question, we need this running pure and on-the-metal, as this is how games are played in the wild.

I need to install a specific version of Windows 10 on a slave, add it to our Windows domain, install software like Visual Studio and various SDKs in a process that is fiddly with lots of user interaction, and then run some shell scripts to register the slave with our build master server so it's ready to work. I would like to be able to redo this process periodically to update Windows or build tools as needed.

Right now, I'm doing this by maintaining a single clean slave, that is not on our domain so it has no domain ID. I keep Windows and software updated normally, and snapshot it periodically with Clonezilla. I then manually go to each running slave, and from a USB key boot into Clonezilla and use it to completely overwrite the local OS drive with the latest snapshot. I re-add the slave to the domain using its fixed name, add local drivers if needed, and run a shell script to register with the build master.

I would love to automate this process, at least more than what it is now, as we could in theory scale up a lot of slaves to cover various hardware profiles, console devkits, etc etc. Is there a better way of doing this?

https://redd.it/fpvd2k
@r_devops
Using Vsphere customization specs with Terraform

I've been pouring over the terraform docs and the internet all day and I cannot for the life of me figure out how to actually apply a customization spec to a vm clone by terraform. All I can find is how to turn it off, not apply a specific one.

We use customization specs to support older infrastructure so I'd like to not have to build separate templates for use with TF, I will if I need too.

Anyone out there using Vsphere's customization specs with Terraform and can point me at the right option to call to use it? I'm fairly new to Terraform, but I've been using vagrant for about 3 years.

https://redd.it/fq7shh
@r_devops
Bob: A composable and inclusive CI/CD platform.

Hello folks,

I have been working on re-thinking the whole CI/CD problem from scratch and trying to address the issues at the very core and came up with [Bob](https://bob-cd.github.io/bob/). Its a *CI platform* than a CI and is aimed at being able to be adapted to the problem its trying to solve.

Following the Unix philosophy and inspired from clojure and emacs' design, I gave the first talk on it at [ClojureD](https://clojured.de/) and here it is:
[https://www.youtube.com/watch?v=KtMJ4lHI\_qM](https://www.youtube.com/watch?v=KtMJ4lHI_qM)

Being an infrastructure developer myself, addressing these issues and making lives of other peers easier has been my goal when building this. Hopefully some of you find this useful! 😄

https://redd.it/fq39lz
@r_devops
How can we integrate security into the DevOps pipelines?

Hello everyone,

I wrote one article about how to integrate security into the DevOps pipeline. Still, I would like to hear some feedback and new idea on how to keep improving the safety in pipelines. This is the based article if someone would like to take a look. I appreciate any thoughts. I hope it can help somebody too.

[https://medium.com/swlh/how-to-integrate-security-on-the-devops-pipeline-e36dea836d7b](https://medium.com/swlh/how-to-integrate-security-on-the-devops-pipeline-e36dea836d7b)

https://redd.it/fqabf3
@r_devops
Managing resources and software with Windows applications

This is a beginner's question, I hope this is the right place to ask. I am converting an existing interactive desktop OpenGL-based Windows application to work over WAN. In short the application processes live user input, renders 3D frames (requires "gaming-grade" GPU) and streams video back to the user. While the system is already distributed, it was designed with LAN in mind and a limited scale. The application may be converted down the road to run on Linux , but at the moment it is deployed as native Windows binaries with an installer.

The main requirements are:

* Start and manage resources for a user facing web application, video streaming gateway (Wowza / Haivision / in-house), relational database (postgres), and similar, with either on-premise or cloud deployment. All can run on Linux and/or as docker containers. While I can live with some latency, it is better if the video streaming gateway is geographically close to the GPU machines.
* Based on user interacting with the web application, start and manage the application remotely on Windows GPU machines, which can be on-premise computers at customer sites or cloud machines (preferably on-demand as I don't expect 24/7 usage). The application is composed of several Windows processes. For on-premise that should include wake on lan as well.
* Load: in the near future up to 10-50 concurrent users (will hopefully grow), but each user currently needs a single GPU machine and about 300-1000 kbps bandwidth.

What approach or stack would you recommend to manage the resources and software? I am reading about Kubernetes and think it might be an overkill. Thanks!

https://redd.it/fq5ebz
@r_devops
Is it possible to go from Security to DevOps?

Hey guys I was wondering if anyone has made the jump from security to devops? I got in to security not too long ago because I began applying to get literally anything that isn't helpdesk and get experience beyond that and now I'm there. What can I do now to get closer towards DevOps? In my current role, I am required to have a basic understanding of powershell and be comfortable with bash and python so I am working on that now.

https://redd.it/fq69u9
@r_devops
Automating deployments to Kubernetes with Pulumi

hi all, I have created a repo for some code I am using to automate the deployment of some apps to Kubernetes with Pulumi. With this, I can rebuild my cluster with essential stuff needed for my app very quickly. Check it out if you are interested in Pulumi.

https://github.com/vitobotta/pulumi-kubernetes-deployments

https://redd.it/fqozpg
@r_devops