AWS Cloud Formation – Infrastructure as Code (IaC)

Instead of manually launching the EC2 instances or creating a Database or S3 Buckets, we can automate this process using Infrastructure as Code

By running scripts, we can create all those things (environment). All we have to do is to write a template/code/script and run that same code whenever we require the same environment or infrastructure.

  • We can write this type of code in Terraform – generic for all cloud service providers.
  • Specifically for AWS, Amazon offers “Cloud Formation” service for IaC.

AWS Cloud Formation has GUI with which we can access or see code easily.

It has predefined templates of functionalities. We can just select them and code will be added automatically. (This is called as “Design Template” in AWS Cloud Formation dashboard)

Or if we want, we can code manually by typing the script on our own.

No comments:

Post a Comment