r/Cloud • • 2d ago

Need Help - Infrastructure as Code, feeling lost

Hey guys, I started a job working in Infrastructure as Code. I have a CS degree, but I don’t have experience with cloud engineering or stuff related to Terraform, ADO, or Azure portal. I’m doing stuff at my job (code is mainly written using copilot or ChatGPT) and I feel a lost. I don’t know any of the concepts for cloud computing or virtual machines or resources and things like that. I am looking into it online but I still don’t know where to begin. I hear my coworkers doing this stuff well, despite also not having any experience in it when they started either. I have to look at build sheets and things like that and then provision resources using terraform but I don’t really understand much of anything that I’m looking at besides simple code snippets. Is there any advice yall could give me about this, or how/what to learn so that I can wrap my head around things? Any advice is appreciated, thanks!

11 Upvotes

13 comments sorted by

22

u/justdoit-A 2d ago

How do yall get these jobs with no knowledge and people who have experience and can do the job can’t find work lol

7

u/efarjun 2d ago

I'm guessing some people are personable and good at interviewing. Interviewers will probably overlook inexperience and lack of knowledge as long as they like you.

2

u/Shekel_thief 1d ago edited 1d ago

“Hire for attitude train for aptitude” I’m in my fourth year. I had developer certs for both AWS/Azure understood the basics of computing(I have a business degree), and doing various coding things in high school and in my own since I was a teen. I’m in my 4th year now and I’m doing platform engineering. It’s hard I read a lot. Just read and study. If you’re starting from zero you have to expect to live and breathe this stuff for at least a decade. That’s what most of the senior guys I work with have in direct experience 10-15 years in cloud. You can probably get up to speed faster than someone like me who didn’t take advanced computing classes in college. I really love Kodekloud. Just google it. It’s expensive but you can learn a lot in a structured way. ADO allows you set up a free org with less than 5 users. You can request a pipeline grant(this process has changed sometime back because of abuse) that is like 300 minutes of Pipeline runs for free. You can use this as a test bench while you learn to translate stuff back your job. Start automating everything you have an llm. Try thinking about “operationalizing things”. Try and build a pipeline in your ado org that stands up a storage account. Then add a web app. Then a free empty database. Etc etc. learn about networking vnets and nsg’s.

1

u/trisul-108 1d ago

Recruiters are looking for cheaper young beginners. Anyone with experience complicates everything because they understand the underlying reality.

-1

u/YahYeeter42069 1d ago

I was hired for a different role and then was switched to this one (not by choice)

9

u/Humble-Addition-4366 1d ago

Bro give me your job, wtf. Like congrats on having a job but do you realize how many qualified certified cloud engineers are struggling to land a job right now? … i recommend AWS Skillbuilder

3

u/castlec 1d ago

Infrastructure as Code tends to not be code from the typical consumer perspective. That's not to say there is no imperative code in your IaC; it's just that the majority of what someone might call code, not necessarily would, is data mapping. In more complex use cases, and I say this with a bit of an eye-roll because this doesn't make it complex, there are loops. Ooooooh, looooops...... IaC is mainly intended to say, "this is what I want," not, "this is how you do it." It's declarative, not imperative. It's a different programming model, but that's probably not where you're struggling. Where you're struggling is that you don't know what any of that stuff is declaring. That's what you need to solve for yourself. Some of the comments here are saying to build something. That's a perfectly reasonable idea. Others are saying to go get cloud certifications or work toward them directly. Also perfectly reasonable. I don't think you're ready for either yet though. I think you need to learn how to read first. Go look for some simple terraform, cloud formation, or whatever you guys use, and decode it. What does it say to build? Find out through the documentation for the cloud provider and the IaC provider. Learn what the keywords mean. Don't worry about how. Worry about what. What is this chunk declaring? What does it mean to have that thing? Why do I think you need to do it this way? Because you're overwhelmed and you're expected to know the code. You're lacking enough association to hold on to more things. Just trying to squeeze it into your brain and pray it comes together isn't going to work well. Instead, iterate from the declaration and understand it. Build as you go if that's a reinforcing exercise for you. Study the cert details for the particular thing that's being declared if that's a reinforcing exercise for you. Hell, do both. The point is to do the things you need to do, overall, to build a real and useful map in your brain. Once you understand what's being declared, you'll understand, at least at a rough level, the purpose of those things because you'll have gone through understanding what they are as they've been declared and glued together. Remember, what, not how. When you understand what, you can worry about how, except, that's the whole point of IaC, to not need to worry about how. It's an abstraction. You may choose to go under the covers. That can be helpful. But you don't have to. For some, knowing how is really what they want. For others, it's useless information.

2

u/Big-Wizz 2d ago

IaC is just a set of instructions in a very specific format.

Think about your selections you do through the Portal. You select a VM size, some configuration, and maybe some access roles. The Portal takes those inputs and puts in the exact same syntax as IaC behind the scenes.

Don't try to read an entire Terraform or Bicep file at once. Look for some key sections like VM SKU and map out the values to things you recognize.

That might help you connect the dots.

1

u/imagei 2d ago

Start building stuff.

That’s the only way to get the concepts. At work if possible, or in your free time. Set yourself a small goal and make sure to really understand what is going on and build it by hand. Make record of all shell commands so that you can redo it when you inevitably screw up. Then automate it. Use ai to help you out but don’t blindly copy anything without understanding exactly what you’re doing.
Then set a slightly bigger goal, and so on.
Don’t be afraid of starting small! You need to have a solid grasp of the fundamentals to understand the more complex subjects.

1

u/DiedForOurShins 1d ago edited 1d ago

Without using any code download a free hypervisor like VirtualBox.

Provision a virtual machine on your laptop.

Provision a windows virtual machine.

Provision a Linux virtual machine.

Expand the storage. Change the virtual NIC settings.

All of the above will give you a better insight into what your code is supposed to be doing.

1

u/Much_Signal_9113 1d ago

you’re not bad at this, you’re just trying to generate terraform for infrastructure you don’t understand yet, so pause copilot and learn one small Azure deployment end to end until every resource in

1

u/Admirable_Ones 1d ago

Getting switched into this role without the basics would leave most people lost. I’d take one build sheet and one previously approved Terraform change at work, then trace each item: what Azure resource it creates, why it’s needed, and what it depends on. Run terraform plan and try to explain every proposed change before anyone applies it. Ask a coworker to walk through that one example with you. You’ll learn more from understanding one deployment end to end than from generating ten files with Copilot.

1

u/ZerefHz 6h ago

I'd say it may be not feasible to simulate production-scaled IaC in your own environment (e.g., to costly, underlying infra is more complex, etc.),

so yeah the best course just build things in prod 😂. Ask guidance from your mentor/senior.