Skip to content

This repository contains code for building Infrastructure as a Code using Terraform in AWS cloud platform

Notifications You must be signed in to change notification settings

V-Abhishek/aws-infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AWS Infrastructure

PROJECT DESCRIPTION

This repository contains code for building the entire Infrastructure required for hosting Online Bookstore web application on AWS cloud platform. AWS resources like VPC, Subnets, S3 bucket, RDS, EC2, Auto Scaling, Elastic Load Balancer, etc. are provisioned using Terraform.


INFRASTRUCTURE AS CODE

IaaC


BUILD INFRASTRUCTURE

  1. Clone this repository
  2. Download terraform from the official site
  3. Copy the terraform binary into your cloned folder or set it in your path
  4. Open Terminal and enter terraform plan
  5. Once the plan is verified, enter terraform apply
  6. View your VPC on AWS VPC Console
  7. Incase, you want tear down the infrastructure enter terraform destroy

UPLOAD SSL

Following command uploads SSL certifcate of the website domain to AWS Certificate Manager (ACM)

sudo aws acm import-certificate --certificate fileb://prodcertificate.pem --certificate-chain fileb://prod_certificate_chain.pem --private-key fileb://privatekey.pem --profile prod

About

This repository contains code for building Infrastructure as a Code using Terraform in AWS cloud platform

Topics

Resources

Stars

Watchers

Forks

Languages