r/devops • u/mthode • Mar 04 '19
Monthly 'Getting into DevOps' thread.
What is DevOps?
- AWS has a great article that outlines DevOps as a work environment where development and operations teams are no longer "siloed", but instead work together across the entire application lifecycle -- from development and test to deployment to operations -- and automate processes that historically have been manual and slow.
Books to Read
- The Phoenix Project - one of the original books to delve into DevOps culture, explained through the story of a fictional company on the brink of failure.
- The DevOps Handbook - a practical "sequel" to The Phoenix Project.
- Google's Site Reliability Engineering - Google engineers explain how they build, deploy, monitor, and maintain their systems.
What Should I Learn?
- Emily Wood's essay - why infrastructure as code is so important into today's world.
- 2019 DevOps Roadmap - one developer's ideas for which skills are needed in the DevOps world. This roadmap is controversial, as it may be too use-case specific, but serves as a good starting point for what tools are currently in use by companies.
- This comment by /u/mdaffin - just remember, DevOps is a mindset to solving problems. It's less about the specific tools you know or the certificates you have, as it is the way you approach problem solving.
Remember: DevOps as a term and as a practice is still in flux, and is more about culture change than it is specific tooling. As such, specific skills and tool-sets are not universal, and recommendations for them should be taken only as suggestions.
Please keep this on topic (as a reference for those new to devops).
234
Upvotes
19
u/swigganicks Mar 05 '19 edited Mar 05 '19
I feel like I understand the overall concept of CI/CD but the various implementations leave me so confused. It's not like I can observe any existing CI/CD pipelines at work since we don't have any at work.
What the actual heck are Jenkins pipelines? Why is Gitlab CI different than Gitlab AutoDevOps, or is it? Why do some CI/CD make you run your own server and others do it for you??? Why do all of them mention Docker and Kubernetes if I'm not using them? Should I be? What do I use for serverless? what is the difference between Serverless Application Model and Serverless Framework???
AHHHHHH
I feel like there's so much that's "between the lines" that I frankly have no clue about. Every doc page and medium article does the bare minimum hello world equivalent and leaves me no better than I started...
It's not like I'm that dumb either, I have all the GCP certifications, all associate-level AWS and big data specialty, and I still feel dumber than a rock.
32
u/tuba_man Mar 04 '19 edited Mar 05 '19
To kinda tag along with mdaffin's advice from a different perspective:
As a former sysadmin, I've had a bunch of sysadmins ask me for advice on making the jump to Devops from the systems perspective. I point them to stuff like this, but they're also often asking for small, manageable, actionable advice. They've often been the sort who are already good at picking up new skills. Even so, the most common thing that seems to often be missing for these sysadmins is automation time under their belts. The difficulty is that they're not sure where to start learning that skillset. As a not-an-ideas-person, I very much understand the difficulty of that first hurdle.
Here's my "just fuckin go do it" advice for learning at work:
Prerequisites:
Actions:
start-sleep -seconds 120; restart-computeror whatever. It's easy enough to do the same thing with whatever flavor of Linux your work is using - start by making a script that just gracefully starts and stops your guinea pig machine's services. Get that working then add in theapt-get updatealong the way. Add in a reboot and there you go. Next time maintenance rolls around for that server role, you're already set. (If you're on Windows, don't you dare use cmd or batch files. The Ghost of Windows ME will haunt you forever. Also you're doing this to learn, don't fuckin waste your time on something depreciated already. Powershell only.)But what if you're out of work or aren't privileged with that level of access?
You can still do the same kind of thing. You don't even need a home fileserver or anything like that. Automate your Windows Updates. Automate your nVidia driver updates that happen every 3 weeks. If you're the sort who rebuilds your computer a lot, write a bootstrap script so that all your favorite apps are up and running with as few clicks as possible. If you've got a home server/lab, you can learn stuff like docker by playing around with containerizing the services on it. Put Minecraft in a container, or your bittorrent service, or whatever.
(Shout out especially to Kesley Hightower's Kubernetes the Hard Way for teaching me hands-on about orchestration stuff.)
Obviously home machines and individual servers isn't going to get you all the way. But understanding how and why automation is so important is a vital step in the process. It's only just scratching the surface, but IMO it'll be invaluable practice for making the jump into a junior devops role.
(Edit: formatting)
9
u/RisingStar DevOps Mar 04 '19
As others have said, just start doing things. You don't have to have a whole home lab either to play around at home. Spin up a VM with VirtualBox and configure it with Ansible or Puppet. Get it to the point where you can nuke the VM, create it, run Ansible, and it is fully configured with OS packages and running whatever services you want.
While Kubernetes is awesome it is also very complex. It's important to understand how containers work in general so start with just building images and getting that process to be automated. Have a GitHub repo setup to build the container every time you push and deploy that container to your VM with Ansible or something similar.
If you have the budget having a home lab can be very useful. I run an Intel NUC at home with a Synology NAS for storage. The NUC runs Proxmox with several VMs:
With everything above, excluding the Eco server, I could throw out the NUC and replace it with a new one and my ANsible scripts would recreate it exactly how it is now. All application state is stored on volumes mounted from the Synology and everything is configured from Ansible.
I actually don't use Ansible at work but it is still good practice and keeps my mind in the right space when doing home lab stuff.
3
u/jemag Mar 04 '19
I am sorry if this is not the best place to ask this, but as someone interested in devops, what is the opinion on developers transitioning into devops? Are there any prejudice/negative aura from people already in the domain?
2
u/hirolau Mar 05 '19
I will soon start a new job where I will be the responsible person for the IT around a few servers and services. The services are internal and a good place to start a career in devops. I do not plan on using any fancy stuff, but just make sure I can spin up new machines using Ansible.
Is there something else I really should look into or think about when getting started?
2
u/dave007 Mar 05 '19
I just discovered this AWS Podcast after their re:invent last year, and have found some really interesting episodes. The most recent is on the dev experience, what it looks like to do things 'cloud native' from the AWS toolset, interesting, much to learn.
1
u/[deleted] Mar 05 '19
I was looking for this you wonderful human!
1
u/[deleted] Mar 05 '19
Can you find The Phoenix Project in Barnes and noble
1
u/TheProffalken Mar 05 '19
It's two years old now, but I wrote a post on this before I started to transition over to IoT consulting which might help.
It was in response to a question from a developer on LinkedIn along the lines of "how do I become a DevOp?"...
https://doics.co/2017/01/26/getting-started-in-systems-administration-and-automation-in-a-devops-world/
1
u/Icecreamisaprotein Mar 06 '19
Okay maybe this isn't the right place, but I saw a job listing that said "knowledge of big data technologies is a plus". What does that mean?
1
u/Chocrates Mar 08 '19
Are there any workbooks or tutorials that take you through building out a full CD, Blue Green deployment with monitoring/logging of an N-tier application?
I have read tons of resources that tell you to set up an LB in front of a couple web services, and to make backwards compatible sql changes, but I am struggling with putting it all together and seeing the final picture.
1
u/marfarma Mar 11 '19
I'm thinking of returning to the workforce after several years away for health and family reasons. I'd prefer to 'test the waters' by looking for remote-only short term project based contracts. I've read this post and all it's replies and many of the hiring and learning posts, including the most recent posts in /r/devopsjobs. I will be spending the next while reading the recommended resources and following the advice mentioned therein. I then plan to start looking for contracts.
My question(s): how likely is it to find such short term contracts? What would you look for before hiring someone for a short term project? Are any of the gig platforms worth working through to build experience (it seems that most offer easy access to experienced offshore talent at lower than prevailing US rates)? What would you want to see (beside a successful interview) before considering contracting with someone transitioning into devops for such a role?
About me: I'm US based and a US citizen. I'm coming from the development side with over 20 years experience as a developer, analyst, technical writer or project manager - basically whatever a client needed that I could handle. I also have experience as our consulting firm's 'sysop as second hat' guy - including spinning up and building out VPS Linux hosts for open source apps - either php or rails with MySQL, configuring apache & passenger hosts, installing and configuring apps, setting up DNS zones, requesting and deploying secure SSL certificates, simple monitoring (monit), deployment scripts, backup scripts, cron scripts, IPTables setup, etc. I've played with Terraform and Docker for my own amusement. Oh, and I have also managed and implemented version migrations of Oracle-based business applications for clients.
1
u/[deleted] Mar 15 '19
What can I start with? I want to learn the tools but my problem is I don’t know what to start with. With any client side language, the first objective would be to make an app and that’s where I’m struggling, I don’t know what to start with.
1
u/DevOps_for_Database Mar 17 '19
I literally finished reading the Phoenix Project last week. As someone that was just familiarizing myself with the world of DevOps, it was a really interesting read, especially the way he was able to put down the reasoning behind many of the things we do today which I sort of took for granted
1
u/NightFuryToni Mar 20 '19
Is there anywhere where I can "gauge" myself on what level of a position I can get into? I've been looking at quite a few positions but the "experience required" listed seems to be all over the place. I've even seen a job marked as "entry-level" but then go on requiring 6+ years of coding or administration, so I'm having a hard time trying to even get through screening on a lot of jobs.
1
u/PartemConsilio Mar 29 '19
I'm new to Devops and I was just wondering if anyone from this subreddit will be going to Velocity in San Jose this year? I'd love to network.
1
u/frassyjnoll Mar 29 '19
Sorry, I do not approve of that book, Phoenix Project, not helpful, not reality.
I've worked in the field 20+ years.