Namitha P-CC-202IT174
Namitha P-CC-202IT174
BASED LAB
TASK REPORT
TITLE OF THE TASK
CLOUD COMPUTING LAB TASK
Submitted by
NAMITHA.P
202IT174
OCTOBER 2022
DECLARATION
I affirm that the lab task work titled “CLOUD COMPUTING LAB TASK” being
submitted as the record of original work done by us under the guidance of
GAYATHRI K.NAME OF THE SUBJECT HANDLING FACULTY, Designation,
Department of INFORMATION TECHNOLOGY.
NAMITHA.P
(202IT174)
STUDENT NAME
(Roll No)
GAYATHRI K
NAME OF THE LAB HANDLING FACULTY
TABLE OF CONTENTS
2. 10
VMwareEngine
private clouds
3. Transferring Files to 14
and from Virtual
Machines
4. Implement the 18
procedure
to create and deploy
a simple web
application in public
cloud environment
LAB TASK - 1
Install Linux Inside Windows Using VirtualBox:
There are several ways to install Linux. You can clean everything from your system
and install Linux. You can dual boot Linux with Windows and choose one of the
operating systems at the boot time. You can even install Linux within Windows
from Microsoft Store (though this only provides you with the command line version
of Linux).But if you want to use Linux without making any changes to your
Windows system, you can go the virtual machine route. Basically, you install and
use Linux like any regular Windows application. When you just want to try Linux
for limited use, virtual machines provide the most comfortable option.
Installing Linux inside Windows using VirtualBox:
VirtualBox is free and open source virtualization software from Oracle. It enables
you to install other operating systems in virtual machines. It is recommended that
your system should have at least 4GB of RAM to get decent performance from the
virtual operating system.
Requirements:
1. Good internet connection to download software and Linux ISO. (You can also use
some other computer with an internet connection to download these files.)
2. Windows system with at least 12 GB of free space.
3. Windows system with 4GB of rRAM. (It can work with less RAM as well, but
your system will start to lag while using Linux in the virtual machine.)
4. Make sure to enable virtualization in the BIOS.
Step 1: Download and install Virtual Box
Installing Virtual Box is not rocket science. Just double-
click on the downloaded .exe file and follow the instructions on the screen. It is like
installing any regular software on Windows.
Step 2: Download the Linux ISO
Next, you need to download the ISO file of the Linux distribution. You can get this
image from the official website of the Linux distribution you are trying to use.
Step 3: Install Linux using Virtual Box
You have installed Virtual Box and you have downloaded the ISO for Linux. You
are now set to install Linux in Virtual Box. Start Virtual Box, and click on the New
symbol. Give the virtual OS a relevant name.Allocate RAM to the virtual OS. My
system has 8GB of RAM and I decided to allocate 2GB of it. You can use more
RAM if your system has enough extra.Create a virtual disk. This serves as the hard
disk of the virtual Linux system. It is where the virtual system will store its
files.You can choose either the “Dynamically allocated” or the “Fixed size” option
for creating the virtual hard disk.The recommended size is 10 GB. However, I
suggest giving it more space if possible. 15-20 GB is preferable.Once everything is
in place, it’s time to boot that ISO and install Linux as a virtual operating system.If
VirtualBox doesn’t detect the Linux ISO, browse to its location by clicking the
folder icon.Soon you’ll find yourself inside Linux. You should be presented with
the option to install it.Things from here are Ubuntu-specific. Other Linux
distributions may have slightly different looking steps, but it won’t be complicated
at all.
Select ‘Erase disk and install Ubuntu’. Don’t worry. It won’t delete anything on
your Windows operating system. You are using the virtual disk space of 15-20GB
that we created in previous steps. It won’t impact the real operating system.Just
click on Continue.Things are pretty straightforward from here.Try to choose a
password that you can remember. You can also reset the password in Ubuntu if you
forget itYou are almost done. It may take 10-15 minutes to complete the
installation.Once the installation finishes, restart the virtual system.If it gets stuck
on the screen below, you may close the VirtualBox.And that’s all. From now on,
just click on the installed Linux virtual machine. You’ll be able to use it directly.
The installation is a one time only process. You can even delete the Linux ISO that
you downloaded earlier.
I strongly recommend using VirtualBox Guest Additions on Ubuntu for it provides
better compatibility and you would be able to use copy-paste and drag-drop
between Linux and Windows.
Editor:
First of all, we are not going to use any fancy IDE. You can choose any text editor.
Here are some of the options:
Install Vim
$ vim
#include
/* This is a comment. */
int main(int argc, char *argv[])
{
// this is another comment
printf("Hello World");
return 0;
}
$ make hello
Now run:
$ ./hello
• The first command make is a tool that knows how to build C programs. When
you run it and give it hello you are telling make to look for the hello.c file, run
the compiler to build it, and leave the results in a file named hello.
• This hello file is an executable that you can run with ./hello, which outputs
your results.
LAB TASK - 2:
VMware Engine private clouds:
bookmark_border
A Google Cloud VMware Engine private cloud is an isolated VMware stack that
consists of the following VMware components:
⚫ ESXi hosts
⚫ vCenter Server
⚫ vSAN
⚫ NSX
⚫ HCX
Private clouds help you address a variety of common needs for network
infrastructure:
Growth.
Add nodes with no new hardware investment when you reach a hardware refresh
point for your existing infrastructure.
Fast expansion.
Create additional capacity immediately when temporary or unplanned capacity
needs arise.
Increased protection.
Get automatic redundancy and availability protection when using a private cloud of
three or more nodes.
Long-term infrastructure needs.
Retire data centers and migrate to a cloud-based solution while remaining
compatible with your enterprise operations. This is especially useful if your data
centers are at capacity or you want to restructure to lower costs.
Private cloud environment
You manage your private clouds through the VMware Engine portal. Each private
cloud has its own vCenter Server in its own management domain, and all nodes in a
given private cloud reside in the same region. The VMware stack runs on dedicated,
isolated bare metal hardware nodes in Google Cloud locations. You use the stack
through native VMware tools, including vCenter Server and NSX Manager.
The following are common use cases for a single-node private cloud:
Proof of concept: evaluating VMware Engine and its capabilities
Disaster recovery testing: deploying your application from recent backups to
periodically validate disaster recovery preparedness
Application upgrade testing: test and validate application component upgrades
before upgrading your application in production
VMware Engine deletes single-node private clouds after 60 days, along with any
associated workload VMs and data. However, you can prevent this deletion and
receive production-ready SLA coverage by expanding to at least 3 nodes within 60
days. The expansion process won't disturb your VMs or access to vCenter, and it
initializes vSAN data replication after the nodes are successfully added to the
cluster. For single-node private clouds, the default vSAN storage policy uses a
Failures to Tolerate (FTT) value of FTT=0. When you expand a single-node private
cloud, VMware Engine changes the default vSAN storage policy. The default
vSAN storage policy changes to use FTT=1 for 3–4 node private clouds and to use
FTT=2 for private clouds with at least 5 nodes.
Limitations
Each private cloud has resource limits for its nodes and clusters. Refer to VMware
in a private cloud for a list of these limits.