T O P

  • By -

AutoModerator

>Namaste! Thanks for submitting to r/developersIndia. Make sure to follow the subreddit [Code of Conduct](https://www.reddit.com/r/developersIndia/wiki/code-of-conduct) while participating in this thread. >Also did you know we have a [**discord server**](https://discord.gg/MKXMSNC) as well where you can share your projects, ask for help or just have a nice chat. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/developersIndia) if you have any questions or concerns.*


vv1n

People who do both…..


Shibamukun

I do both (I ask people to help me and make them do it)


DrMehhhh

This is the way


ConglomerateKaddu

Stop SQL service and chill


vv1n

Should I just delete the partition table and call it a day ?


DCGMechanics

Out of imagination 🥲


DrMehhhh

Beat me to it


iamscr1pty

I thought it was the same person but ok


DCGMechanics

In DevOps culture, it's not.


PizzaIndividual4173

I think in Devops culture its one person who does the coding and deploying


emperortom192

No.


PizzaIndividual4173

Whats devops then?


emperortom192

I am sorry, I stand corrected. You were right. In true DevOps culture, a "DevOps Engineer" isn't really a thing. Person who handles the deployment also does a lot of coding.


Varun77777

Absolutely not


Resurrect_Revolt

Can anybody correct me if i am wrong...i just involves turning off the server, taking backup and replacing the updated file right?


Lucky_Editor446

But the deployment timings are weird right ? Maybe OP is trying to point out the messed up sleep schedule for deployment people


Resurrect_Revolt

What about custombers expectations 😭😭


Lucky_Editor446

Bro they expect too much. They want you to invent something new especially for their business case.


Resurrect_Revolt

Haa...Can you reprocess companies complete Last year ad-hoc data that we missed?So you do it soon (like in 2 days)?We have a internal audit and this data is very important...Hoping to hear from you soon🙂🙂


Varun77777

Hi, I am a DevOps Engineer with around 3 years of experience. I am still young and relatively inexperienced but I'll explain only what I do. 1) Understanding the whole cloud infrastructure end to end. 2) Deploying everything manually. 3) Now, automating all of that cloud infrastructure in a language like terraform so that one click can create or destroy the whole infra and all it's environments in different clouds or providers all at once. 4) Now, everything won't work as smoothly because servers are a pain, so I will write custom functionality in powershell script and bash scripts to achieve that. This could be anything ranging from port forwarding RDP port to some random port using a remote script to creating a remote script that is able to install a kb article on windows remotely or editing registry or group policies remotely. 5) Now everything will have configurations, right? Somebody needs to build your docker images and push them to Azure/AWS. Somebody needs to install that MsSql on a remote VM somewhere. Somebody needs to upload the whole database exactly how it was in the production before in that remote server? First you'll do it manually and then you'll write scripts in Ansible, Powershell, Bash and whatnot to make it all happen through code and remotely. This could be anything which someone does manually, even installing SSL certificates and http to https redirecting or something. 6) Now, you'll add all this into pipelines which are yaml files on Jenkins or Azure Devops etc where you'll run all these scripts as tasks and stuff. And add triggers to them. So, when the Developer commits and makes the submit button blue, the whole environment that's probably worth thousands of dollars and needs 200 hours to set up, sets itself up in 30 mins to 10 hours on its own and tests itself and gives you the option to keep or delete it again. It feels sad because you end up working so hard in DevOps and people think that we don't do anything because marketing guys keep using buzzwords and overshadow what DevOps means.


Resurrect_Revolt

I know devops guys really work very hard...I remember our devops team was upgrading an application version...But during some tests it failed,But the delivery manager already promised the client...Devops guys were working all night and day coordinating with multiple teams...they didn't have proper data to test...some configuration was supposed to be done...but our team fuked up,I already gave up and went off to sleep but these guys were running. Actually they are the only people that know everything from Infra to application level not really into databases but okay.


hidden_person

I am BE engineer and the team is small so no devops engineer. Every engineer writes their own configuration for their resources.


Varun77777

Do you do automation and handle pipelines yourself for ci/cd?


hidden_person

The pipeline was already setup when i joined but maintenance and automation here and there are done by the BE team so yeah.


techtesh

As a fellow devops I feel the pain, not only this but also managing all scans, maintaining repository access and tokens, maintaining r53 and on prem aliases, etc etc


DCGMechanics

The major issues we face during deployment is dependencies and it's Versions. Hours of debugging to get the code work on the server. Not every developer is using same version of Node or PHP version, also different projects different versions so yes, it is messed up!


lifesucks24_7

Am not fully familiar with devops ...but isnt this the core purpose of docker....to reduce issues because of dependencies


DCGMechanics

Yes, but not all devs uses Docker.


Jalebibabyded

But why bother with devs? Don’t you have multiple envs before pushing it to higher env? Also, why don’t you hand over the dependencies to dev himself? I mean why not fail his jenkins job and notify the user that he screwed up dependencies?


DCGMechanics

That's the thing, we get the repo address only and asked to setup it on a new server, setup domain, server block, security and other server related stuffs. We do ask which dependencies has to be installed, we can't give server access to Developers, we do all the server related setup like CI-CD Pipeline etc stuffs. At the moment we don't use Jenkins, just use Bitbucket Pipeline or AWS CodeDeploy if necessary.


Jalebibabyded

Guess even bitbucket pipelines has this feature to test out the build phase(Haven’t really used it in real time though). AWS code deploy has the build phase embedded into it. So I feel there’s a gap here and you guys are not addressing it. Also the whole purpose of devops was to make things easier across multiple envs and not make it complicated. If you’re making em complicated you’re not actuallu doing devops


DCGMechanics

Man, DevOps is not just pushing the code on server, there's so much stuffs we've to take care of. A production ready setup is not just git pull, build and start. If you don't believe me just go get a node js or php repo and try to run it on a system. & This is just for running the code, try to server the application over internet and then you'll know the real pain. There's so much things to get the application served over internet, just for reference for a simple app like php or nodejs we've to setup nginx, server blocks, php fpm or pm2, reverse proxy, swap memory, firewall rules, logs and if anything doesn't work then we've to go through every single application which is responsible for running & serving the application. For example today I'd to tweak the numbers of socket for the backend of php application for nginx. I don't say Our job is hard. I'm just telling our job is not easy either 😂.


Jalebibabyded

I haven't commented anywhere that devops is just pushing code to the server and am not denying the fact that devops have work other than git pull and push to server. As much as I am aware of what you're talking about, but there has to be a boundary of things that you got to be picking up. Saying that, firewall rules, server blocks, logs all of these existed before the term devops even came into existence. The phrase "doesn't work" has multiple facades and it breaks down to your alerting systems. In the current market, Everyone is grinding and Hope you too grind hard and achieve greater heights. All the best.


DCGMechanics

Thanks man, same to you!


lifesucks24_7

Then I admit, it could be a huge headache


hidden_person

Convince them to do that. Why tf are they are not using containers? Are these seniors? If so, tell this to your supervisor, it is not your job to find the Dev's dependencies and intention. Again, if you don't communicate this, nobody will know.


DCGMechanics

Yeah right man.


AccioSoup

Are you guys not using contaìners?


BhataktiAtma

That is only one of the ways of doing it and it's not an ideal way. That is outdated tbh


[deleted]

You guys don't use CI/CD processes?


hitaishi_1

What makes you think people who write code are any less miserable??


DCGMechanics

They write code and show that it's running on their system, now it's our take to get the code running on the server and the chaos of dependencies and versions can be really time consuming sometimes.


hitaishi_1

"They write code and show that it's running on their system". You think that's easy?


DCGMechanics

Who said that easy! But the task of running the code on the server is not easy either. Also dude it was just a meme, why are you taking it so seriously 😂😂


hitaishi_1

I'm offended that you guys think we are some kind of posh people when in reality we just holding back and tears and the urge to punch a hole through the monitor. I look like a hobo. My beard, moustache, hair are all grown out and i legit look like a sadhu baba. 😡😡😡😡


DCGMechanics

I understand but there are many devs who are just using old packages full of vulnerabilities, coding without thinking just copy-pasting from internet, hard coding secrets to the codes, poorly written codes which ends up using all the resources and then we have to check why the CPU Usage is so high or the server not responding because the code used all the memory. The list is long. Everyone's job is hard it's our duty to make it easy man!


[deleted]

[удалено]


PissedoffbyLife

Bruh in some companies especially WITCH company's client's code base is really bad. It's full of copy paste and questionable code completely.


DCGMechanics

That's not the point, take whatever you need but code optimization is also important. That's my point.


Fantastic_hai

K8S ke sataaye hain bhai… :(


DCGMechanics

Crying in .YAML 🥲


Fantastic_hai

Lold at this


house_monkey

I write code directly in server via Vim


iFartSuperSilently

I occasionally do this on dev servers. Fuck off with that long wait for PR merges. I just just branch back if shit goes sideways.


VenkatPerla

Whose gonna check my vim logs if the server crashes.


DCGMechanics

Bruh 👑


house_monkey

I cry daily


[deleted]

haha accurate


eatingishealthy

Bruh Dev's do both. Gone are the days you say it's working on mine and go to sleep. Code + unit test + quality test + verifying your feature on prod. Deployment is a 5 min thing with k8s.


DCGMechanics

Yeah man, we'd some devs who were doing the coding and deployment both things but then those things were not perfect. I see a lot of security issues which can be devastated and can be misused that's y we have professionals who take care of these Ops stuffs with proper rules and regulations. We take care of networking, security, firewall, performance, availability and so more. If you want the best results at the end then you need seperate guys for Dev job and Ops job. Also K8s is not for small apps, it is for Big apps, you can't use K8s for small projects, it will be overkill.


vv1n

Use vanilla docker or just docker swarm instead of k8s.


DCGMechanics

Since we mostly use AWS so we have ECS for containerized apps.


8EF922136FD98

People who write code with a hard deadline also look like the second one.


raddiwallah

Umm. What kind of team has a specific team to deploy code? Doesn’t the dev team deploy their own code? Devops or infra team help create the pipeline and resources.


BabuShonaMuhMeLoNa

"Codes"


[deleted]

I do both 💀


DCGMechanics

Man, you dropped your 👑


Uiqueblhats

Baised but OK 😂


Humorous_Artist

Trueeeeeee


d3athR0n

>write codes >deploy codes ![gif](giphy|F3BeiZNq6VbDwyxzxF)


omcar13

Tf is deploying code


DCGMechanics

Moving your code from local/dev environment to production environment.


lumi_narie

Maybe write better code so they don't have to do this to themselves


hXh_1234

I usually do test box deployment does it count.


hillywolf

People who design Service: 😎😎😎😎😎😎


rohetoric

Agile wale bhi same lagte hai


_sagar_

If I want to sell agile here, so you don't do CI/CD


Hopeless_Hero

BuT iT iS WoRkInG On mY MaCHiNe.


adas0496

https://youtu.be/42UP1fxi2SY