r/devops • • Sep 01 '20

Monthly 'Getting into DevOps' thread - 2020/09

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

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.
  • This comment by /u/jpswade - what is DevOps and associated terminology.
  • Roadmap.sh - Step by step guide for DevOps or any other Operations Role

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.

Previous Threads https://www.reddit.com/r/devops/comments/i1n8rz/monthly_getting_into_devops_thread_202008/

https://www.reddit.com/r/devops/comments/hjehb7/monthly_getting_into_devops_thread_202007/

https://www.reddit.com/r/devops/comments/gulrm9/monthly_getting_into_devops_thread_202006/

https://www.reddit.com/r/devops/comments/gbkqz9/monthly_getting_into_devops_thread_202005/

https://www.reddit.com/r/devops/comments/ft2fqb/monthly_getting_into_devops_thread_202004/

https://www.reddit.com/r/devops/comments/fc6ezw/monthly_getting_into_devops_thread_202003/

https://www.reddit.com/r/devops/comments/exfyhk/monthly_getting_into_devops_thread_2020012/

https://www.reddit.com/r/devops/comments/ei8x06/monthly_getting_into_devops_thread_202001/

https://www.reddit.com/r/devops/comments/e4pt90/monthly_getting_into_devops_thread_201912/

https://www.reddit.com/r/devops/comments/dq6nrc/monthly_getting_into_devops_thread_201911/

https://www.reddit.com/r/devops/comments/dbusbr/monthly_getting_into_devops_thread_201910/

https://www.reddit.com/r/devops/comments/cydrpv/monthly_getting_into_devops_thread_201909/

https://www.reddit.com/r/devops/comments/axcebk/monthly_getting_into_devops_thread/

Please keep this on topic (as a reference for those new to devops).

65 Upvotes

27 comments sorted by

5

u/DevOps-Journey Sep 02 '20

This month we released Several DevOps related videos. Here are a few of them the community might enjoy.

Setting up a Raspberry Pi Using Ansible:

https://youtu.be/U06V3UuENXA

Learning GIT:

https://youtu.be/WJCU_hXfeRw

CI/CD With TravisCI:

https://youtu.be/xLWDOLhTH38

We also have an active Discord channel if anyone wants to drop by and discuss anything Devops/Homelab related. A lot of us discuss the projects we are working on or the cert/job we are working towards.

https://discord.com/invite/NW98QYW

2

u/Goyabaman Sep 01 '20

On the code development and specifically related to cloud, what does a company have to do to go from DevOps level 0 to the highest level of DevOps? I’m a beginner trying to understand how maturity models come in to play

8

u/[deleted] Sep 01 '20

Level 0, everybody hates everything

Level 1, management cares enough to want to fix the problems

...

Level 10, profit

2

u/diecastbeatdown Automagic Master Sep 11 '20

I disagree with one aspect of the 2019 DevOps Roadmap. Do not live in the shell. Get out of the shell. Commit code, discuss code, deploy code, check metrics and logs. Avoid the shell.

1

u/wojo397 Sep 12 '20

The shell will always be an invaluable tool and it should be known.

3

u/npsimons I remember when it was called "sysadmin who programs" Sep 12 '20

The shell will always be an invaluable tool and it should be known.

I'll second this, even as a beginner to DevOps, but having done sys admin work for a couple of decades now: if you want to be effective, you need to be at least mediocre with the terminal. FFS, just yesterday I had to show some of my programming teammates at the day job how to use top to identify their hung programs and then killall to free up enough RAM they could keep working without having to reboot. This is real basic stuff that far too many people who put on airs of being "technical" think they can get away without knowing. They are mistaken, to put it politely.

1

u/diecastbeatdown Automagic Master Sep 12 '20

The shell is to modern infra as the PS/2 port is to a modern motherboards. If you find yourself reaching for the shell first, you are doing it wrong.

→ More replies (4)

2

u/npsimons I remember when it was called "sysadmin who programs" Sep 12 '20

I just recently encountered the "cattle, not pets" saying, and it intrigues me, particularly because I'm one of those old-school admins with a bunch of pet servers, and the analogy seems spot on, because when (not if) one dies, it hurts a bunch.

I'm just getting started learning DevOps (will take a look at the resources already mentioned), but for someone who is an old-school sysadmin and wants to get into DevOps (I'm all for repeatability, statelessness, idempotency and immutability), how would I do it quickly and cheaply? I'm already running a few pet servers on DigitalOcean, but I don't really want to blow a ton of money spinning up a whole server farm.

2

u/[deleted] Sep 16 '20

Setup a static website, hosted in S3 or similar.

Now automate the whole process, certificate renewals and everything.

The cheapest and safest website, reduces a huge amount of attack vectors is "serverless".

Work through similar solutions but making it more complex each time.

2

u/[deleted] Sep 20 '20

Hey guys. I'm looking for a bit of help on

- what are the next steps for me to get into devops?
- how to setup reliable architecture for our Rails App?

a little about me: full stack developer with about 6 years of experience working with Rails, and lately mostly React, and everything around it.
I devised it's time for me to bite the bullet and learn the aws. I got associate-level certificates - Developer and Architect and planning on taking SysOps in the next few days.

Our company has a mature product that been around for about 10 years and till now aws architecture been managed by 3rd party company in India. we're not very happy with current setup as we don't have any access to production environment, so we've decided to grow internal tech team and I'm exploring the idea of taking over our cloud. So I'm making first steps.

It would be cool to find some sort of a mentor who would help with some advice on best practices, choice of tools etc.

Thanks in advance for any help.

1

u/aaronmell Sep 28 '20

Just like with development there is no true path. There are many valid solutions to problems based on the use case. I would start with what you have and what you like dislike about your current process/infrastructure/architecture and then look for tools/ process that will improve it

1

u/Neat-Wolf Sep 02 '20

Wow, thank you so much for posting this!

1

u/npsimons I remember when it was called "sysadmin who programs" Sep 12 '20

Can I ask why FTP is on the roadmap? FTP just seems like a security breach waiting to happen, and completely unnecessary in this day and age.

1

u/disoculated Sep 16 '20

It's unnecessary if you're doing something new, but if you're stepping into an existing infrastructure that's been there for a while, especially if there's a lot of third-party applications/tools or embedded controllers lying in the mix, you're going to run into it. Usually where you're also running into yp and snmp. A lot of devops work is pulling environments out of the past.

But putting down sftp rather than just ftp might be better? It would at least let the casual viewer see they aren't endorsing old-skool ftp.

1

u/npsimons I remember when it was called "sysadmin who programs" Sep 16 '20

especially if there's a lot of third-party applications/tools or embedded controllers lying in the mix

Seems kind of niche, and I say that as someone who has run a bootp/tftp server just for BSPs, and that was only ever on firewalled intranets. I mean, once SFTP/SCP came along, I dropped FTP like a hot potato for anything Internet facing.

1

u/redoctet Sep 20 '20

Pretty much everyone in the fintech space is dealing with a combination of old and new systems. The new stuff is all 12-factor apps running on kubernetes in the cloud. It turns out though as soon if you want to communicate with a bank, you may have to dig out some old protocols. Many banks don't have RESTful APIs; what they do have is mainframes.

Even if some banks did have an API, there are a lottttt of banks in the US, such that the most common ways for fintech companies to interact with banks is via scrapers like Yodlee or Plaid. If you don't have to deal with all the banks but are instead strategically partnered with a specific bank, then get ready to install your favourite language's FTP library. The modern accepted way of sharing data is to ping pong CSVs back and forth a couple times via someone's FTP server. SFTP if you're lucky.

2

u/npsimons I remember when it was called "sysadmin who programs" Sep 22 '20

I'm just gobsmacked that bare FTP is recommended. I can see it on firewalled or even isolated Intranets, but at least wrap that with stunnel or similar (ftps is listed in /etc/services) for public servers.

2

u/redoctet Sep 22 '20

Ha well I wouldn't say it's recommended but it's what happens to be in use. Typical setup will be to establish site-to-site ipsec VPN and push FTP traffic through it. There are still a whole lot of problems with that approach, but it at the very least hides the plain FTP traffic from the public internet.

2

u/npsimons I remember when it was called "sysadmin who programs" Sep 22 '20

Typical setup will be to establish site-to-site ipsec VPN and push FTP traffic through it.

Ah, and I forgot about that too! Been a long while since I setup ISAKMPd, I didn't even recognize if there was a newer solution recommended to learn on the chart.

1

u/[deleted] Sep 16 '20

What’s better for the future: devops engineer title or software engineer title?

1

u/disoculated Sep 16 '20

Short term? If your company is into adopting devops, then take devops engineer. Long term, the safe choice is software engineer, as devops is a methodology of software engineering.

In my experience, the important part of the title is the (associate|NULL|senior|principal) prefix and then the engineer part. What goes between, so long as it involves coding, isn't as big of a deal.

1

u/sparkypants007 Sep 17 '20

Hey guys if y’all are interesting in learning more about security in dev ops automation, we have a group that’s hosting a free live online event with some experts in the field over at ionic security. If you want to rsvp, https://www.meetup.com/DevOps-and-Cloud/events/273323702/

0

u/[deleted] Sep 05 '20

[deleted] — view deleted comment

2

u/ra_men Sep 05 '20

Can’t speak for DevOps but I’d take the second option and learn Java on your own. Something like mooc.fi will give you a good Java foundation.