LearningTech

Deployment

Infrastructure as Code

Description

Managing and provisioning computer data centers through machine-readable definition files, rather than physical hardware configuration.

Where to use

  • DevOps.
  • \n
  • Reproducibility.

Real World Example

Terraform scripts defining the AWS VPC and EC2 instances.

Code Example

class InfrastructureasCode:
    def __init__(self):
        pass

    def execute(self):
        print('Executing Infrastructure as Code')