Skip to content

ManthanChoudhury/multicloud

Repository files navigation

HYBRID MULTI CLOUD

aws

Have to create/launch Application using Terraform

  1. Create the key and security group which allow the port 80.
  2. Launch EC2 instance.
  3. In this EC2 instance use the key and security group which we have created in step 1.
  4. Launch one Volume (EBS) and mount that volume into /var/www/html
  5. Developer have uploded the code into github repo also the repo has some images.
  6. Copy the github repo code into /var/www/html
  7. Create S3 bucket, and copy/deploy the images from github repo into the s3 bucket and change the permission to public readable. 8 Create a Cloudfront using s3 bucket(which contains images) and use the Cloudfront URL to update in code in /var/www/html.

Using Terraform(automating tool)

  1. copy file auto.tf

  2. start typing.

    terraform init
    
    terraform validate
    
    terraform apply -auto-approve
    
  3. It will start performing task according to coded file.

Screenshot (17) Screenshot (18) Screenshot (19) . . . Screenshot (22)

READY CLOUD PAGE

Screenshot (29)

hohohohoohohoh Screenshot (15) Screenshot (16)

  1. to destory entire enviroment.

    terraform destroy -auto-approve
    

Screenshot (30)

awwwww sad!! Screenshot (32)

About

AUTOMATION

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published