Skip to content

aida-solat/Easy-Network-Design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Easy Network Design

This repository provides a modular and customizable AWS network infrastructure using Terraform. It includes a VPC, Public & Private Subnets, NAT Gateway, VPN Gateway, Internet Gateway, and Security Groups for a scalable and secure cloud network.

Features

  • Configurable Variables: Easily modify CIDR blocks, regions, and availability zones.
  • Public and Private Subnets: Network segmentation for security and control.
  • Internet Gateway (IGW): Provides public internet access.
  • NAT Gateway: Allows private instances to access the internet securely.
  • VPN Gateway: Enables secure remote connectivity.
  • Security Groups: Predefined rules for SSH and traffic control.

Prerequisites

Deployment Steps

1. Clone the Repository

git clone https://github.com/aida-solat/Easy-Network-Design.git
cd Easy-Network-Design

2. Initialize Terraform

terraform init

3. Plan the Infrastructure

terraform plan

This previews the resources that will be created.

4. Apply the Configuration

terraform apply -auto-approve

This provisions the VPC, subnets, NAT gateway, VPN gateway, security groups, and internet access.

5. Verify the Deployment

Check resources in AWS Console or use AWS CLI:

aws ec2 describe-vpcs
aws ec2 describe-subnets
aws ec2 describe-security-groups

6. Destroy the Infrastructure (Optional)

To remove all deployed resources:

terraform destroy -auto-approve

Customization

Modify variables.tf to customize the network settings:

variable "region" {
  default = "us-west-2"
}

variable "vpc_cidr" {
  default = "10.1.0.0/16"
}

variable "public_subnet_cidr" {
  default = "10.1.1.0/24"
}

variable "private_subnet_cidr" {
  default = "10.1.2.0/24"
}

License

MIT License

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages