0% found this document useful (0 votes)
9 views29 pages

Cloud Computing and Virtualization record

This document serves as a practical record for the Cloud Computing and Virtualization course at Loyola Academy, detailing the steps for various tasks such as creating virtual machines, using GitHub, and installing Google App Engine. It includes a comprehensive index of practical exercises and step-by-step instructions for each task. The record is intended for students in the Fifth Semester of the academic year 2024-25.

Uploaded by

cog.bda2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views29 pages

Cloud Computing and Virtualization record

This document serves as a practical record for the Cloud Computing and Virtualization course at Loyola Academy, detailing the steps for various tasks such as creating virtual machines, using GitHub, and installing Google App Engine. It includes a comprehensive index of practical exercises and step-by-step instructions for each task. The record is intended for students in the Fifth Semester of the academic year 2024-25.

Uploaded by

cog.bda2
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 29

LOYOLA ACADEMY DEGREE & P.

G COLLEGE
Old Alwal, Secunderabad-500010
(An Autonomous Degree College Affiliated To Osmania University)
Accredited by NAAC with ‘A’ Grade (Third Cycle)
A College with Potential for Excellence by UGC

Department of B.Sc. Computer Science and Internet Of Things


Practical Record
In
Cloud Computing and Virtualization

Certificate

This is to certify that this is the bonafide record of the work done in Cloud
Computing and Virtualization during the practical lab for the Fifth Semester of
the academic year 2024-25

Name :

Class :

UID :

Internal Principal External


1
INDEX
S.NO Practical Page No. Signature

1 Creating and setting a virtual machine 1-2

2 Creating a GitHub account 3-5

3 Downloading and Installing Git 6

4 Initializing git 7

5 Add and commit a code to repository 8

6 Push and pull a code to github 9

7 Installing Google App Engine for Windows 10

8 Creating Hello world app using python/Java in 11-19


Google App Engine
9 Installing C compiler in VM, using virtual box 20-21

10 Transfer files from host machine to virtual machine 22-23

11 Creating AWS Account 24-27

2
1. Create and setting a virtual machine.

 Step-1: Open the oracle VM virtual box manager.


 Step-2: Click the ‘Machine’ option then click on ‘New’ option
 Step-3: After clicking on ‘New option a dialog box will appear on the screen.
 Step-4: Write the suitable name for your virtual machine and operating system.
 Step-5:Click on the Next until you finish.
Oracle VM VirtualBox(formerly Sun VirtualBox, Sun xVM VirtualBox and
Inno Tek VirtualBox)is a hosted hypervisor for x86 virtualization developed
by oracle corporation.VirtualBox was originally created by InnoTek
Systemberatung GmbH,which is acquired by Sun Microsystems in
2008,which was in turn acquired by Oracle in 2010.

Follow these steps to create a virtual machine using a virtual disk.

1. Start Oracle VirtualBox


Windows hosts: Double-click the Oracle VirtualBox icon
on your desktop or use the Start menu (Start >Programs >Oracle VM
VirtualBox >Oracle VM VirtualBox).

2. Click on —>Machine-->New.

1
3. Give a name to the virtual machine and add a iso image to the ISO Image:
section
4. Specify the memory(RAM) for the virtual machine and the required number of
processors and click next.

5. Specify an amount of disk space you want to allocate for a virtual


machine. Allocate disk space according to the size of software you
are going to install on the virtual machine and then click in next.
6. Check the summary of the virtual machine and make sure everything
is configured according to the needs and then click finish or else
click on back and reconfigure the virtual machine.
7. Now the virtual machine is created and ready to use, we can see all
the configurations and the details about the virtual machine.
8. To start using the virtual machine click on the start arrow button and configure
the installed operating system.
9. Now that the machine is running we start configuring the operating system.

2
2. Create Github account , Create repository and fetch a link.

 Step-1: Go to google and search github.

 Step-2: Select github.com


 Step-3: Sign up for creating new account(already registered you can sign in )

3
 Step-4:Go to profilesrepositoriesnew repositoriesgive
namedescription(optional)create a repository.

4
 Step-5:Fetch the repository link.

5
3. Download and Install Git Bash
 Step-1: Go to google search install git , Select git –scm.com

 Step-2: Installing on windowsdownload for windowsNextNextNextFinish

6
4. Initialize Git

Step-1: In your system go to searchcommand prompttype gitenterlist of


commands[should not get error]
Note: If you are in any folder and want to open command prompt from there, go to path
clear itType cmdautomatically the terminal will show the folder you are into.

Step-2: If you want to make this folder as get repository give the command git init

7
5. Add and commit a code to repository

 Step-1: Create a text file [using notepad] or python file [any python program with .py
extension] or any other program
 Step-2: Save it in the folder that you have created and initialized as git.
 Step-3: Go to command promptGo to your folderGive the command as
 “git add proname.py” Next, click on enter.

 Step-4: The changes to be committed to Local repository can be done using commit
command
 Step-5: The syntax for committing changes is git commit –m “any message”

 Step-6: If there are more than one files in tracking list. Than all those files will be
committed at once
 Step-7: After committing changes check for git status.

8
6. Git Pull and Push to a Repository

a) git push
 To push the files the command is git push –u origin master
b) git pull
 To pull the files from remote repository to local repository
 Step-1: Go to folderaddress bartype cmd
 Step-2: Give command git status
 Step-3: Check the branch, in order to pull , be in main/master
a) To check branch name git branch
b) To switch from other branch to master branch git checkout master (or)
git checkout main
 Step-4: After switching to master/main branch pull the files using git pull
If any error get the http link from github of your repository(copy it)
git pull ‘paste the http link here’

9
7. Installing Google App Engine for Windows

 Step-1: Go to GoogleSearch ‘Google app engine for windows’


 Step-2: Select Google app engine for windows from uptodown website

 Step-3: Click on ‘get latest version’  scroll down  click on download

 Step-4: Folder will be opened, default it is same.


 Step-5: Then click on default step “Next” and click on “Accept”.
 Step-6: Click on install  Google app engine will be downloaded.

10
8. Creating Hello World app using python/java in Google app Engine

Step 1: Open Google or Chrome and search for “Google App Engine download for
Windows”

Step 2: Select Google App Engine Download from LO4D

Step 3: Click on Download (or) Click on latest version . Scroll down  Click on
download.

11
Step 4: Google app engine setup dialogue box opens  Click on Next  Next  until
finish

Step 5: Before working with Google App Engine launcher, you need to download python
version 2.7.9.
Python 2.7.9  windows x86-64 bit MSI installer  Next  Next Finish

12
13
14
15
Step 6: Now Open Google app engine launcher  Select Edit preferences In the dialog
box Select python path : local disk  python 27 python w  open

Step 7: Now select app Engine SDK in the same dialog box
This PC local disk C  Program files(x 86) Google folder  Select Google app
Engine  Click OK

16
Step 8: Now go to Desktop screen  Create a folder with any name (like eg. App)
17
Step 9: Go to Google App Engine Launcher  Select ‘Create new application’  A new
application box will appear.
Step 10: Give the application name (eg. Engineapp) and select parent directory.
Desktop screen  select folder (app) Click on create

Note : Port number need to be given as 8081


Step 11: You can see application name with path, Select your application  Click on Run

18
Step 12: After compilation , Click on Browse to view the output.

Step 13: You can view the output as following

19
9. Installing C compiler in VM, using virtual box

To install a C Compiler in the virtual machine created using virtual box and execute a simple C
program.
Procedure:
Step 1: Open the terminal on Ubuntu and install C compiler – “sudo apt install gcc”

Step 2: Once the installation finished open the editor

Step 3: Type a simple C program on editor and save it

20
Step 4: Compile and run the C program

Result:
Thus a C compiler is installed in the virtual machine and C program was executed and output
was obtained successfully.

21
10. Transfer files from host machine to virtual machine

To transfer files/folders from the host machine to the virtual machine.


Procedure:
Files that are to be shared to virtual machine
Step 1:Open the ubuntu in VM

Step 2:Open the file manager and go to Other Locations

Step 3:Open the folder named “mnt”

Step 4:Now open the “hgfs” folder.


Initially the folder will be empty
Step 5:Now right click ubunu 64-bit(VM name) and select properties,then go to optios tab
Step 6:Select the shared folders,change the radio button to “Always enabled” and click Add

22
Step 7:Click Next
Step 8.Select the folder/file that has to be shared to VM in Host Path
Step 9:Check Read Only and click Finish
Step 10:Now in the same location “Computer>mnt>hgfs” the folder that are shared from host is
visible
Step 11:

Step 12:The files can be accessed in Read Only Mode in the VM now
Result:
Thus file sharing between is done between hostmachine and the virtual machine successfully.

23
11. Create AWS account

AWS stand for Amazon Web Services. It is a cloud computing platform that is a
combination of infrastructure as a service (IaaS) and platform as a service (PaaS).
Follow the Steps given below to create your own free tier account in AWS
Step 1: Go to your browser and type the URL: https://aws.amazon.com
The AWS homepage will be opened
Step 2: Click on “Create AWS account” on the top right corner of the page.

Step 3: Enter your Email address and create a strong password and a AWS user
account name. Then click on continue.

24
Step 4: Enter the captcha code to verify your identity.

Step 5: Choose business account for school and enter the necessary information.

Step 6: Click on the checkbox to agree to the terms and conditions and then click
continue.

25
Step 7: Enter your Credit or Debit card details and click on verify and continue.

Step 8: Complete the transaction by entering the OTP sent to the registered phone number
linked to your account and then click on proceed.

26
Step 9: Choose your mode of verification (text/voice call) and enter your phone
number to receive an OTP.
Step 10: Enter the captcha code and click on send SMS or call.

Step 11: Enter the verification code sent via call or SMS to verify your identity and click
on continue.

Step 12: Select Basic support (free) plan and complete the sign up.

Step 13: You have successfully created an AWS account!

27

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy