GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Acc-git-class/Terraform_Scripts

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
VPC
VPC
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 

Repository files navigation

Mithun Technologies, Marathahalli ,Bengaluru.

Contacts: +91-9980923226, +91-8296242028
WebSite : http://mithuntechnologies.co.in/

Email: [email protected], [email protected]

Terraform Installation And Setup In AWS EC2 Redhat Instnace.

Prerequisite
  • AWS Acccount.
  • Create Redhat EC2 Instnace.
  • Create IAM Role With Required Polocies.
    • VPCFullAccess
    • EC2FullAcces
    • S3FullAccess ..etc
  • Attach IAM Role to EC2 Instance.

Install Terraform

$ sudo yum install wget unzip -y
$ wget https://releases.hashicorp.com/terraform/0.12.26/terraform_0.12.26_linux_amd64.zip
$ sudo unzip terraform_0.12.26_linux_amd64.zip -d /usr/local/bin/
# Export terraform binary path temporally
$ export PATH=$PATH:/usr/local/bin
# Add path permanently for current user.By Exporting path in .bashrc file at end of file.
$ vi .bashrc
   export PATH="$PATH:/usr/local/bin"
# Source .bashrc to reflect for current session
$ source ~/.bashrc   

Clone terraform scripts

$ git clone https://github.com/MithunTechnologiesDevOps/Terraform_Scripts.git
$ cd Terraform_Scripts

Update Your Key Name in variables.tf file before executing terraform script.

Infrastructure As A Code

Create Infrastructure(VPC,Subnets,Route Tables,EC2 Instnaces ..etc) As A Code Using Terraform Scripts

# Initialise to install plugins
$ terraform init VPC/
# Validate teffaform scripts
$ terraform validate VPC/
# Plan terraform scripts which will list resources which is going  be created.
$ terraform plan VPC/
# Apply to create resources
$ terraform apply --auto-approve VPC/

Destroy Infrastructure

$ terraform destroy --auto-approve VPC/

About

No description, website, or topics provided.

Resources

Readme
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.