Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

CCL Exp 4

Download as pdf or txt
Download as pdf or txt
You are on page 1of 16

St.

John College of Engineering and Management


Manor Road, Near Shakti Udyog Industrial Area, Vevoor Village, Palghar,
Maharashtra- 401404

Department of Computer Engineering


Course code: CSL 803 Class: B.E./COMP/A&B
Course name: Cloud Computing Lab
Name:- Harsh Mendapara Roll no: 31 Batch: A2

Experiment 4
Aim: To create and access VM instances and demonstrate various components
such as EC2, S3, Simple DB, DynamoDB, etc. through Amazon Web Services
(AWS)

Steps: (screenshots needed for every step)


[Part A: To demonstrate and implement IAAS service using AWS (Use t2.Micro
(Free tier eligible) (instance only)]
Step 1: Login to AWS portal and Select EC2 service from admin console.
Step 2: The EC2 resource page will appear which will show you the summary of
instances. Now click on launch instance to select the VM instance type.

Step 3: Select the operating system type in AMI format. In this example, we have
selected Windows server instance, which is eligible for free tier and click on Next.
Step 4: Now select the hardware type for virtual machine. In this example, we
have selected free tier eligible general-purpose hardware and click on Next.

Step 5: Now specify the instance details like Number of instances, networking
options like VPC, Subnet of DHCP public IP etc. and click on Next.
Step 6a: Specify the storage space for VM and click on Next.

Step 6b: Click on Add tag to specify VM Name and click on Next.
Step 6c: Configure security group to provide access to VM using different
protocols. In this example, we have selected default RDP protocol.

Step 7: Now review the instance and click on launch button.


Step 8a: Now to secure VM instance, encrypt it using public key and create a
private key pair to decrypt that. Here, specify key pair name and download key
pair.

Step 8b: Finally, click on launch instance to Launch VM.


Step 9: Now, from summary page, click on View instance to see the instance
state. After some time, you will see the running instance of your VM.

Step 10: Now, click on connect to get the password for VM to access it over
RDP protocol.
Step 11: Select the downloaded key pair file to decrypt the password.

Step 12: Now, connect the instance using RDP tool by using IP address/DNS,
username, and password decrypted in previous step.
Step 13: Once you click on connect, you will see the running Windows virtual
machine.

Step 14: You can shut down instance by selecting instance state followed by
stop.
Step 15: You can delete the instance permanently by selecting instance state
followed by stop.

[Part B: To create simple word press app using Light sail service in AWS
(SAAS)]
Step 1: Open Admin console of AWS and select light sail service.
Step 2: Select create instance option.

Step 3: Select the Linux hosting instance


Step 4: Select word press hosing

Step 5: Specify name to the instance


Step 6: Now, click on create to launch the instance Step

Step 7: Click on connect instance to get the password for word press
Step 8: Now, open bitnami_application_password file to get the admin password.
So, copy it and use over admin console.

Step 9: Now, reserve static IP by selecting network option and creating static IP
Step 10: Once static IP is allocated, then open that IP on browser to see Word
press website

Step 11: Open admin console of Word press and use password obtained in step 8
to open word press site builder. Now you can develop a complete Word press
website and use that.
Conclusion: In this experiment we have studied in detail about amazon web
services and use of wordpress components for website. Thus we have successfully
demonstrated various components such as EC2, S3, Simple DB, DynamoDB, etc.
through Amazon Web Services (AWS)

References:
[1] https://docs.aws.amazon.com/ec2/?id=docs_gateway
[2] https://www.thegeekstuff.com/2016/04/aws-ec2-cli-examples/
[3] https://www.tutorialspoint.com/dynamodb/index.html
[4] https://bitnami.com/stack/wordpress/cloud/aws
[5] https://www.youtube.com/watch?v=PHOo3Ekb_Ys&t=447s
[6] https://github.com/dwyl/learn-amazon-web-services

Faculty In-charges:

Mr. Vivian Lobo


Ms. Nancy Nadar
Ms. Deepika Nadar

You might also like