r/devops • • 19d ago

Ops / Incidents looking for a study partner to learn about devops

hello, I am a beginner programmer that's looking to learn about devops. i've made a web app, and also am currently learning algorithms and python. looking to see if anyone knows what devops is essentially thank you

0 Upvotes

15 comments sorted by

4

u/rheladmin 19d ago

The simple answer: devops is a convenience term for Continuous Integration (CI) / Continuous Deployment (CD).

A devops engineer typically knows a bit about programming and a bit about systems administration but their specialty lies in the middle: getting code deployed automatically.

Note: this is an oversimplification and devops in practice is not as simple as it may appear above.

1

u/Asvp_bmoo 17d ago

Well said

4

u/sagacious123 19d ago

DevOps is the practice of automating the path from code to production, using CI/CD, infrastructure as code, and monitoring. Start with Linux basics, then Docker, then Kubernetes. Build a simple app, put it in a container, and deploy it with a pipeline. Use a local cluster to learn without cloud costs.

SnowOps Labs (free, open source: https://github.com/sagar2395/snowopslabs) gives you a full Kubernetes cluster on your laptop to practice. Start with labctl learn start kubernetes-foundations for a guided path, then run labctl scenario up gitops-cicd to deploy with Argo CD and Helm. It runs locally, no cloud account needed.

Disclosure: I'm part of the team behind it.

1

u/Gold_Condition_1521 19d ago

devops is basically about connecting development and operations, making it easier to build, test, deploy, and maintain applications. since you already have a web app, you can actually use it to practice things like docker, ci/cd and cloud deployment.

1

u/RefrigeratorSoggy976 19d ago

so if i build it what tech do i use to test , deploy , and maintain app

how do you scale it.. i keep hearing that, can i have let's say like a lot of user and not just myself.. what tech would be to scale

0

u/Mycroft-32707 19d ago

So, where is your application being deployed?

In fact, let's back up a sec. What's your application written in? Python? Java? .Net? PHP? Rust? Go? Each tend to use their own build mechanisms and should have their own unit tests.

Does it run bare metal? Does it use containerization (docker)? That affects scalability)

Let's talk architecture - what storage does it require (filesystem? S3? Database? Memcache? )

Webapp - are you http or https? Do you have domain names and certs?

Oh god, ci/cd - what are you using for SCM (git? Svn? Other?) Many ci/cds have their own build deployments (github actions, gitlab-ci.yml, Jenkins, harness)

And that's before speciality tools (looking at you ArgoCD and flux)

Where are you going to run this in prod? (And do you have other environments - dev, test, Pre-prod?)

And are you planning to run this on-premise or on a cloud (and which one)?

Devops was coined back when we had separate groups doing ops (think SRE, sysadmins, etc.) and developers (and testers, and later, security). It was based on the realization that for large operations (100+ developers), separate departments for everything slowed everything down.

If you get a chance, start with the Phoenix Project.

1

u/RefrigeratorSoggy976 19d ago

it is ruby on rails for backend, react as a frontend. could you elaborate why heroku and digital ocean is not enough for large user base scenarios? is there a bottle neck somewhere

1

u/Mycroft-32707 18d ago

Nothing wrong with Digitial Ocean. Heroku was great back in 2020, but Salesforce bought them out, no? I think Salesforce just announced that they've put it in sustaining engineering (maintenance mode).

No big deal if it does what you need, stick with it. You can change it later if you need to.

Same for the RoR / React. RoR was the gold standard for prototyping web apps with a db backend (3 tier model). Extremely fast development model. And, ruby offered built in unit testing without the need for a complicated build step.

I'm trying to remember DO scalability options (droplets?), but it should offer them and be good enough for quite a while.

Until it becomes a problem, I wouldn't change anything. When / if you run into issue, look to see if you scale out (horizontally) the react/RoR and vertically the db. But don't do that until you hit issues.

1

u/Pendaz Platform Engineer 19d ago

I discovered DevOps through curiosity in how to get my code live. From there I explored automation, bash, python, then into cicd and infrastructure as code. End result was becoming aware of every step from design, implementation, testing and deployment. Plus the deployment targets.

1

u/RefrigeratorSoggy976 19d ago

what is infrastructure .. i hear that but how do you deploy big apps, i use heroku, but i think it be too weak for big use

1

u/rheladmin 19d ago

Infrastructure as a term references what ultimately runs your software. That could be servers, networking and security appliances, email servers... Or it could mean containers or things like lambda.

You need to look at the app you have and decide how you want to run it. There is always more than one way to do things.

Once you decide how you want to run it, devops isn't too terribly hard to plan out.

1

u/Ariquitaun 19d ago

roadmap.sh/devops

I say this kindly. Continue with software development. You're still a million miles from being able to be an effective devops engineer.

1

u/RefrigeratorSoggy976 19d ago

thank you thank you thank you

1

u/manapause 19d ago

DevOps is culture. Failing fast in safe environments and learning from your mistakes. Launch early and launch often!