https://github.com/visaltyagi/terraform-case-study
How to Create an Architecture using Terraform on AWS —Terraform Case Study
https://github.com/visaltyagi/terraform-case-study
aws awsdevops dev developer-tools development devops devops-tools terraform terraformcasestudy
Last synced: about 1 month ago
JSON representation
How to Create an Architecture using Terraform on AWS —Terraform Case Study
- Host: GitHub
- URL: https://github.com/visaltyagi/terraform-case-study
- Owner: visaltyagi
- Created: 2024-04-22T03:58:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-17T10:14:46.000Z (over 1 year ago)
- Last Synced: 2025-04-02T06:17:14.515Z (about 1 year ago)
- Topics: aws, awsdevops, dev, developer-tools, development, devops, devops-tools, terraform, terraformcasestudy
- Language: HCL
- Homepage: https://medium.com/devops-guides/creating-an-architecture-using-terraform-on-aws-case-study-7cd9c1857873
- Size: 1.48 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Security: security-group-create-script
Awesome Lists containing this project
README
# Terraform-Case-Study
Terraform-Case-Study
**For a detailed solution to this case study, click this link:** https://medium.com/devops-guides/creating-an-architecture-using-terraform-on-aws-case-study-7cd9c1857873
**Step 1:** Create an EC2 Instance using the Ubuntu AMI.
**Step 2:** Install Terraform on EC2 Instance.
**Step 3:** Create the script for VPC, Subnets, Route table, elastic network interface, internet gateway, nat gateway & security groups.
**Step 4:** Create a main.tf file & paste the complete script here.
**Step 5:** Initialize terraform using the command: terraform init
**Step 6:** Create a plan using the command: terraform plan
**Step 7:** Use this command to create complete infrstructure & installed apache2 on this infrastructure: terraform apply
**Step 8:** Infrastructure will be successfully created & Apache 2 will be successfully installed on both instances.
**Step 9:** Apache2 installation shown on the first instance due to public IP address.