AWS Newbie Tips Community

Cover image for What is Infrastructure as Code (IaC)?
Jenna
Jenna

Posted on • Updated on

What is Infrastructure as Code (IaC)?

Being a bit of a newbie to AWS and Cloud in general, one of the concepts that have always puzzled me is 'IaC' aka Infrastructure as Code.

It has taken me a while to understand it, but once I did, I finally understood the importance of it - it hit me like a train.

AWS has a core service available called 'CloudFormation' which is AWS's native version of infrastructure as code. I found it really hard at first to get the hang of what this does but after playing with it myself I see now that it forms one of the core functions of DevOps and Pipelines.

Here is a good quote from Karl Cardenas on IaC.

What is IaC?

Infrastructure as Code is nothing more than replacing the traditional manual provisioning of infrastructure through admin consoles/GUI with a programming-based approach (think scripting). Instead of clicking on buttons and navigating through various screens to deploy/enable infrastructure, instead those actions are now achieved through a codified approach.

IaC is heavily leveraged in dynamic infrastructure environments such as public cloud platforms due to the ability to provision and/or deprovision a large number of resources quickly through APIs. Without IaC this could be a tedious and arduous process. It’s important to note that IaC is not a new concept and it’s something that infrastructure analyst have done for many years through scripting and chaining commands together. What is different today in regard to IaC is the code aspect of it.

This really helped me understand the concept more. For anyone out there wishing to learn more about Infrastructure as Code then I recommend the following resources as they helped me significantly:

These other free resources on AWS and CloudFormation from AWSDEVOPS.io are brilliant:

CloudFormation Fundamentals, Learn infrastructure as code on AWS

Infrastructure as Code on AWS, The Complete CloudFormation and Terraform Course

And here are some other useful resources that I found on my way.

A Cloud Guru also do many courses on CloudFormation and Infrastructure as Code

Getting Started with AWS CloudFormation - Amazon Web Services

Free AWS CloudFormation course from Udemy

6 Best AWS CloudFormation Online Courses for Beginners

AWS CloudFormation Cheat Sheet

Free Templates for AWS CloudFormation

I have still got a lot to learn! Hope you enjoy these resources x

Top comments (2)

Collapse
 
rosius profile image
Ro

Sai Vennam's video coins IaC up perfectly. Thanks for sharing @jenna

Collapse
 
jenna profile image
Jenna

no problem hun