Skip to content

Terraform scripts to provision a variety of AWS infrastructure components, including VPC, EC2 instances, RDS, IAM roles, Security Groups, Elastic IPs, and CloudWatch alarms

Notifications You must be signed in to change notification settings

fatimajamali81/terraform-aws-infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform AWS Infrastructure

This repository contains Terraform scripts to provision a variety of AWS infrastructure components, including VPC, EC2 instances, RDS, IAM roles, Security Groups, Elastic IPs, and CloudWatch alarms.

Project Structure

  • vpc/: Contains scripts to create a Virtual Private Cloud (VPC) with subnets.
  • ec2/: Contains scripts to launch EC2 instances.
  • rds/: Contains scripts to set up RDS instances.
  • iam/: Contains scripts to create IAM roles and policies.
  • security_groups/: Contains scripts to configure Security Groups.
  • elastic_ip/: Contains scripts to allocate and associate Elastic IPs.
  • cloudwatch/: Contains scripts to set up CloudWatch alarms.

Usage

  1. Initialize Terraform:

    terraform init
  2. Plan the Infrastructure:

    terraform plan
  3. Apply the Configuration:

    terraform apply

Variables

You can customize the infrastructure by modifying the values in variables.tf.

Outputs

The output values of the Terraform run, such as instance IDs, public IPs, etc., are defined in outputs.tf.

License

This project is licensed under the MIT License.

About

Terraform scripts to provision a variety of AWS infrastructure components, including VPC, EC2 instances, RDS, IAM roles, Security Groups, Elastic IPs, and CloudWatch alarms

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages