0% found this document useful (0 votes)
7 views1 page

Infrstructure as a Code Basics

Uploaded by

Md.Ariful Islam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views1 page

Infrstructure as a Code Basics

Uploaded by

Md.Ariful Islam
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

2.

Infrastructure as Code (IaC)

Definition:​
Infrastructure as Code (IaC) is managing and provisioning infrastructure (servers,
databases, networks) using machine-readable definition files, instead of manual processes.

Why it’s important:

●​ Reduces human error.​

●​ Easily recreates the infrastructure (disaster recovery becomes easy).​

●​ Allows version control of infrastructure just like application code.​

Practical Example:

●​ Suppose you want to create an AWS EC2 server using Terraform.​

You write a .tf file like:​



resource "aws_instance" "example" {
ami = "ami-0c55b159cbfafe1f0"
instance_type = "t2.micro"
}

●​
●​ Running this file will automatically provision a server on AWS without manual
clicking.​

Popular IaC Tools:

●​ Terraform​

●​ AWS CloudFormation​

●​ Pulumi​

●​ Ansible (for configuration management)​

●​

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy