Hybrid Multi Cloud Computing Task 1

Hybrid Multi Cloud Computing Task 1

I've completed first task of hybrid multi cloud computing. Thanks to Vimal Daga sir for their valuable guidance.

In this task I've deployed website on AWS using Terraform tool. Terraform is a tool which can be used to access all cloud platforms by giving same cmd.

In this task we have to select AWS as provider. Terraform uses HCL language for access. Because terraform we can access all clouds by similar cmds which makes multi cloud computing easier.In this task I've followed following steps

1.First I've provided credentials to terraform of my aws account and also created key which is used in creation of EC2 instance.

No alt text provided for this image
No alt text provided for this image

2.Then I've created security group which have public access. For this I've added SSH, TCP, HTTP as inbound rules. Now website have public access.to access this we use public IP of instance.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

3.Then I attached security group to the instance and launch instance.To access website we have to install httpd.And github is source of program so we also have to download git. This cmds are SSH cmds so we've to provide connection as shown below.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

4.To store program of website we create EBS volume and attach it to EC2 instance

Then I mounted EBS volume in /var/www/html file and remove all previous files from the /var/www/html.

Then I cloned code from github using git clone cmd which also requires connection.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

5.I've included image in code which is object in s3 . For this create s3 bucket and placed object in it.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

6.Then I've created cloudfront distribution with s3 as origin.also I've created bucket policy and OAI for cloudfront.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

7.And this is output of CLI procedure.

No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image
No alt text provided for this image

8.Output of my site:

No alt text provided for this image

Also checkout my git hub repo link:

https://github.com/AkankshaKrushnaJamdade/For_mysite

Once again thanks Vimal Daga Sir, volunteers and LinuxWorld Info. for their guidance.

Suggestions are always welcome.

To view or add a comment, sign in

More articles by Akanksha Jamdade

Others also viewed

Explore content categories