Skip to content

Instantly share code, notes, and snippets.

View mansurali901's full-sized avatar

Mansur Ul Hasan mansurali901

View GitHub Profile
@mansurali901
mansurali901 / main_ec2_complete_setup.tf
Last active June 7, 2019 13:52
This script setup whole infrastructure on AWS to run ec2 instance this will include VPC Setup (Including : "VPC", "Subnet", "internet Gateway", "Route Table", "Security Group to allow SSH") also it sets up EC2 Instance along with keypairs
##############################
# This script setup whole infrastructure on AWS to run ec2 instance this will include VPC Setup
# (Including : "VPC", "Subnet", "internet Gateway", "Route Table", "Security Group to allow SSH")
# also it sets up EC2 Instance along with keypairs
##############################
### Provider Setup
provider "aws" {
region = "us-east-2"
}
### Variables declearation
@mansurali901
mansurali901 / statefull_nginx.tf
Last active August 22, 2019 13:05
This script consist with State Full Web Server with Nginx using terraform
############################################################################
# Author Mansur Ul Hasan
# EMail : [email protected]
# YouTube : https://www.youtube.com/user/mansur7820/about?view_as=subscriber
# This script consist with State Full Web Server with Nginx using terraform
# This script will setup
# - VPC
# - Subnets
# - Route Tables