DevOps(Day 92) : Create an Elastic IP and user data to install Apache using terraform - (entire infrastructure through Terraform - part6)

 

  • AIM

  • Subtasks:

    • Task 7: Create an Elastic IP

    • Task 8: Create user data to install Apache

Build Your Own AWS Infrastructure with Ease using Infrastructure as Code (IaC) Techniques

Welcome back to our Terraform journey.

In the previous tasks, you have learned about the basics of Terraform, its configuration file, and creating an EC2 instance using Terraform. Today, we will explore more about Terraform and create multiple resources.

  • Create an Elastic IP and associate it with the EC2 instance.

  • User data: Use a shell script to install Apache and host a simple website

Thanks for reading my article. Have a nice day.

Comments

Popular posts from this blog

DevOps(Day-97): Meta-Arguments in Terraform

DevOps(Day-95): Auto Scaling with Terraform

DevOps (Day-1) Introduction