Reddit DevOps
278 subscribers
69 photos
32.2K links
Reddit DevOps. #devops
Thanks @reddit2telegram and @r_channels
Download Telegram
elassandra questions

Hey guys,

My company and I are looking into setting up elassandra to be one of our data stores. We want to start small, so what would the difficulty be in setting up a single elassandra cluster? Also, are there any good resources out there besides the docs?

https://redd.it/efz9ek
@r_devops
write ansible playbook that outputs each configuration items in a format that can be imported into a spreadsheet in tab-delimited format

I need to write a playbook an output printing in csv file using python. The output is the ip address config.

https://redd.it/efykws
@r_devops
What’s in store for Kubernetes Operators in 2020?

Here are some thoughts on how Kubernetes Operator movement will evolve in the coming year.

[https://medium.com/@cloudark/whats-in-store-for-kubernetes-operators-in-2020-98263aa23fb9](https://medium.com/@cloudark/whats-in-store-for-kubernetes-operators-in-2020-98263aa23fb9)

Will be happy to discuss any thoughts or questions that you may have.

https://redd.it/egb7as
@r_devops
Using Graylog for doing cool dashboards

Hey buds! I'm kind of newbie in the devops world, so now I'm using Graylog in order to know what it is happening with the infraestructure.

I'm trying to create some histograms with the response codes of my server, but Graylog show me all the messages since 1970! I read that I should add some boundaries but I dont know how to do it. Does reddit can help me? 😁😁

https://redd.it/efy0uw
@r_devops
write ansible playbook that outputs each configuration items in a format that can be imported into a spreadsheet in tab-delimited format

I am trying to write an playbook to parse the output in a csv file using python. Each output is an ip address config. i need the output to be send a csv file. I tried youtube videos but it does not help me.

https://redd.it/efxrfb
@r_devops
Pay to play

A company in Germany asked me to solve a coding problem during a job interview process, but they want me to host a complete API at my own cost at GCP.

Writing a program to demonstrate I know what I am doing is one thing, but it seems they ask a little bit too much. Especially the part where I need to pay money just to apply to a job.

My first thought was "Have they lost their marbles?".

What do you think?

https://redd.it/efv7ns
@r_devops
Migrate large size or Mongodb and MYSQL to another server (low bandwidth)

Hey guys,

Any tips about migrating/cloning large size of mongodb databse and MySQL (100gb++) from one server to another.
Also, I’m on AWS and their instance are on China cloud services, so the network connection could be unstable.

https://redd.it/efwtwl
@r_devops
Hashicorp Vault for temporary aws/gcp/az web console logins?

Hey
I work for a team that often has to give Cloud related demos, workshops, etc.. at schools or other organizations. The demo accounts we use for this are usually created manually now, but we'd like to provision these with an expiration date automatically so we don't have to think about credentials being left active.
These are fairly low level workshops so all we need is an ability to generate a few accounts with Console access and limited permissions to spin up a VM etc. On all 3 major cloud platforms.

Hashicorp Vault seemed to be a great platform-independent tool at first glance but it looks like it is more aimed at provisioning service accounts.
Can this be done Vault? Is there a better tool for our use-case?
Thanks

https://redd.it/efvk7s
@r_devops
Single dev startup: Moving from Heroku to ???

The company I work for runs everything in Heroku. It does a good job and allows us to focus on building stuff, but now that the user base is growing so are the costs... So we are considering other options.

For context, our backend consists of a pretty standard Django/DRF monolith plus Celery, backed by Postgres and Redis. I am the sole backend dev and have very ilttle devops experience, so I want to avoid something overly complex or that will use up too much of my time. I am comfortable with Docker, but not with Kubernetes/swarm/etc.

A self-hosted Heroku would be the holy grail I guess, but I don't think it exists. I've used Dokku before and it works great, but doesn't provide clustering/HA. Flynn is similar and supports clustering, but the docs aren't great and the database support is described as "experimental".

So I've gone on to think about more complex alternatives. Maybe a cluster with docker swarm? Maybe managed Kubernetes from GCP or DO? Maybe Beanstalk or similar?

Has anyone made a similar transition or have any ideas on how to do this without embarking on a massive learning journey/taking up all my time?

https://redd.it/efsjo0
@r_devops
Job offer to associate devops

Hi guys,

Recently been offered a role to an associate devops role for a msp. It is what I have been looking for, except, its a junior role and the pay is slightly lower than mine (8k aud less, I am on 98k)

I am a sr sys admin, but my work dont have much to do with clouds and they lack the cloud vision to move forward as a cloud company. The offered company has been cloud Consultant in aus for some time now, so big clients like major banks and Airlines.

What would you guys do? Stay with potentially becoming a SE or go to a junior devops role?

https://redd.it/efmq5w
@r_devops
Docker consumes too much of storage space

Hi everyone,
I have been working in DevOps from the past 2 years now. Everyday we face challenges that we somehow manage to resolve, but there are some challenges that still needs to be addressed by me and I think I have researched a lot and haven't got any relevant solution.

I have an Ubuntu EC2 instance on which I do PoC's using Docker. In order to create a container I build a docker image from scratch and then I run that docker image. When I'm done with my PoC I usually remove that container and it's associated image, then during night my cron job runs a script that triggers docker system prune in order to remove dangling images/containers/volumes.

I have observed that docker still is filling up my storage space even after deletion of all the images/containers/volumes. I have also cleared the system cache, but somehow storage space is filling up fast.

Any idea/suggestions on what I'm missing or what the issue is?


Thanks

https://redd.it/efgfnu
@r_devops
Ansible Vulnerabilities 2019

Hey,

Christmas time and ansible does not get unnoticed throw the security team

Read all about it:

[https://blog.firosolutions.com/exploits/ansible-monday-2019/](https://blog.firosolutions.com/exploits/ansible-monday-2019/)

https://redd.it/efftnb
@r_devops
Continuous Infrastructure Testing, how much do you all do it today?

Obviously testing for applications is a no brainer and best practice....there are numerous approaches including TDD for traditional software engineering. But for infrastructure as code I feel like testing gets discussed far less often. To what extent are people testing their infrastructure code? What tools and frameworks if any do you use? What pain points have you run into?

https://redd.it/efdzzl
@r_devops
Upcoming Project - Is Kubernetes the right choice?

I am currently tasked with building some automation around enduser's requesting the provisioning of a long-lived Amazon Linux/Windows Servers in our AWS environment.

These servers will host a wide range of services for customers e.g. file storage, database server, etc. This service is primarily a "We give you the Infrastructure. You do what you want with it".

Would it beneficial to develop the infrastructure around Linux/Windows containers in a Kubernetes cluster via AWS EKS?

Or would it make more sense to spin up long lived EC2 instances and manage them that way?

Thanks!

https://redd.it/efdf0w
@r_devops
Remote Devops/Cloud Engineer Job Possible?

Its been around One year since I have been introduced you cloud(Google cloud platform) since then I have been building my skills at up till now i Knows quiet few things about GCP and Aws other that this I also knows Docker,Linux,And kubernetes planning to take certification of Google cloud Associate Cloud engineer Next month.
My question is,
Is it possible if I have mastered this tools and script in languages I'll land a remote job if I'm fresher and not live in US?

please comment (Thanks)

https://redd.it/ef8ssk
@r_devops
Alerting when a GCP instance fails

This article shows a way to turn Stackdriver logs into mobile notifications (with a non-Google notification tool). Particularly useful when dealing with VM being restarted, and also potentially useful for any other kind of logs-to-notification.

https://medium.com/@cmaster11/alerting-when-a-gcp-instance-fails-c6cc3d60ff7

https://redd.it/egnp01
@r_devops
IAM Role for CloudFormation

I have a requirement to create an IAM Role for CloudFormation. I found a great document in AWS showing the IAM policy needed: [https://aws.amazon.com/blogs/devops/aws-cloudformation-security-best-practices](https://aws.amazon.com/blogs/devops/aws-cloudformation-security-best-practices/) What would be best practice for configuring the IAM role that it should be attached to though?

https://redd.it/eglk5b
@r_devops
Is there a "friendlier" tool to replace saltstack in our infra? (details inside)

Our infra is a combination of cloud servers plus multiple servers at our clients office's that we manage.

Therefore we need to manage both our cloud + "bare metal".

Because of this combination and my past exp, I went forth with SaltStack.

We prepare the client machines in house and then they become salt-minions and managed using salt.

Our cloud is setup as well using saltstack.

\---

The problem?

\- It doesnt feel 2020 (almost), although saltstack does what I need it feels there is room for improvement

\- learning curve. We are hiring and the problem is that we either need to look for hires with existing knowledge of salt or wait for them to catch up.

\- Shouldnt there be a more "user" friendly tool out there?

\- the client machine's run containers only - but we dont have the ability to "see" those machines as simple containers that we deploy to, they are still servers that SaltStack manages.

​

Let me know what you think.

https://redd.it/egq946
@r_devops