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

Cloud Record Final

Uploaded by

hareeeee14
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)
13 views29 pages

Cloud Record Final

Uploaded by

hareeeee14
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

Exp.

No::9 Install a Virtual box/VMware Workstation with different


flavours oflinux or Windows
DATE:

Aim:
To Install a Virtual box /VMware Workstation with different flavours of linux or windows.

Installing VirtualBox:
1. Download VirtualBox from the official website
(https://www.virtualbox.org/wiki/Downloads).
2. Double-click the downloaded file to start the installation process.
3. Follow the on-screen instructions to complete the installation process.
4. Launch VirtualBox after installation.

Installing VMware Workstation:


1. Download VMware Workstation from the official website
(https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html).
2. Double-click the downloaded file to start the installation process.
3. Follow the on-screen instructions to complete the installation process.
4. Launch VMware Workstation after installation.

Creating a Virtual Machine:


1. Open VirtualBox or VMware Workstation.
2. Click on the "New" button to create a new virtual machine.
3. Give your virtual machine a name and choose the operating system you want to install.
4. Set the amount of RAM you want to allocate to the virtual machine.
5. Create a new virtual hard disk or use an existing one.
6. Set the size of the virtual hard disk and choose the file type.
7. Select the installation media for the operating system.
8. Follow the on-screen instructions to complete the installation of the operating system.

Installing Linux:
1. Download the ISO file of the Linux distribution you want to install.
2. Open VirtualBox or VMware Workstation.
3. Click on the "New" button to create a new virtual machine.
4. Give your virtual machine a name and select Linux as the operating system.
5. Choose the Linux distribution and version you want to install.
6. Set the amount of RAM you want to allocate to the virtual machine.

7. Create a new virtual hard disk or use an existing one.


8. Set the size of the virtual hard disk and choose the file type.
9. Select the ISO file of the Linux distribution as the installation media.
10. Follow the on-screen instructions to complete the installation of Linux.

Installing Windows:
1. Obtain the installation media of Windows. You can either download an ISO file
fromMicrosoft's website or use a physical installation disc.
2. Open VirtualBox or VMware Workstation.
3. Click on the "New" button to create a new virtual machine.
4. Give your virtual machine a name and select Windows as the operating system.
5. Set the amount of RAM you want to allocate to the virtual machine.
6. Create a new virtual hard disk or use an existing one.
7. Set the size of the virtual hard disk and choose the file type.
8. Select the installation media for Windows.
9. Follow the on-screen instructions to complete the installation of Windows.

Installation of VirtualBox in Windows:


If we want to install the VirtualBox in windows, we can use the following steps:

Step 1: First, we need to go to the VirtualBox Website through the


https://www.virtualbox.org/ in thesystem's internet browser. It is the link where we will
download the VirtualBox setup file.
Step 2: Click on the Download VirtualBox button, which appears on a blue button on the
page.

Step 3: Now, Click on the Windows hosts link. We will see it below the "VirtualBox 6.1.16
platformpackages"option.
Step 4: Now, open the VirtualBox EXE file from where we have downloaded this file in
the system.After that, the VirtualBox installation window will open.

Step 5: Click on the Next button in the Welcome window.


Step 6: Choose the installation folder and click on the Next button.

Step 7: Now, we will choose the features that we want to install and then click on the
next button

Step 8: Click on the Yes button to install the Oracle VirtualBox interfaces.
Step 9: Click on the Install button when it prompted. After that, it will start installing the
VirtualBox inour system.

Step 10: After completing all these processes, click on the Finish button. When we do
this, the installation tab will be closed, and VirtualBox will be opened. Now, we can
create a virtual machineto run any OS on the system.
To install VMware Workstation on a Linux host:

Note: VMware Workstation for Linux is available as a .bundle download in the VMware
DownloadCentre. The Linux bundle installer starts a GUI wizard on most Linux
distributions. In some Linux distributions, the bundle installer starts a command-line
wizard instead of a GUI wizard.

1. Log in to the Linux host with the user account that you plan to use with
VMwareWorkstation. 2. Open a terminal interface.
3. Change to root. For example: su root

4. Change directories to the directory that contains the VMware Workstation bundle
installer file. The default location is the Download directory.
5. Run the appropriate Workstation installer file for the host system.

For example:

sh VMware-workstation-Full-xxxx-xxxx.architecture.bundle [--option]

Where:
∙ xxxx-xxxx is the version and build numbers
∙ architecture is i386 or x86_64
∙ option is a command line option.

This table describes the command line options:


Option Description

--gtk Opens the GUI-based VMware installer, which


is the default option.

--console Use the terminal for installation.


--custom Use this option to customize the locations of the
installation directories and set the hard limit for
the number of open file descriptors.

--regular Shows installation questions that have not been


answeredbefore or are required. This is the
default option.

--ignore-errors Allows the installation to continue even if there


is an error in one of the installer scripts.
or Because the section that has an error does not
complete, the component might not be properly
-I configured.

Accept the license agreement.

Note: If you are using the --console option or installing VMware Workstation on a Linux
host that does not support the GUI wizard, press Enter to scroll through and read the
license agreement ortype q to skip to the yes/no prompt.

6. Follow the on-screen instructions or prompts to finish the installation.


7. Restart the Linux host.

After installation
On Linux host systems:
∙ VMware Workstation can be started from the command line on all Linux distributions.
∙ On some Linux distributions, VMware Workstation can be started in the GUI from the
SystemTools menu under Applications.
∙ To start VMware Workstation on a Linux host system from the command line, run
thevmware & command in a terminal window.

Result:

Thus the Installing Virtual box/VMware Workstation with different flavours of linux or
windows was successfully executed.
Exp. No: 10 Implement the following file management tasks in Hadoop

DATE:

Aim:
Implement the following file management tasks in Hadoop:
1. Ad
ding files and directories
2. Ret
rieving files
3. Del
eting files

Hadoop File Management System

Apache HDFS or Hadoop Distributed File System is a block-structured file


system where each file is divided into blocks of a pre-determined size. These
blocks are stored across a cluster of one or several machines. Apache hadoop.
HDFS Architecture follows a Master/Slave Architecture, where a cluster
comprises of a single NameNode (Master node) and all the other nodes are
DataNodes (Slave nodes). HDFS can be deployed on a broad spectrum of
machines that support Java. Though one can run several DataNodes on a single
machine, but in the practical world, these DataNodes are spread across various
machines.

HDFS ARCHITECTURE
NameNode is the master node in the Apache Hadoop HDFS Architecture that
maintains and manages the blocks present on the DataNodes (slave nodes).
NameNode is a very highly available server that manages the File System
Namespace and controls access to files by clients. The HDFS architecture is
built in such a way that the user data never resides on the NameNode. The data
resides on DataNodes only.

DataNodes are the slave nodes in HDFS. Unlike NameNode, DataNode is a


commodity hardware, that is, a non-expensive system which is not of high
quality or high-availability. The DataNode is a block server that stores the data in
the local file ext3 or ext4.

File Management in HDFS

A. Creating directories

B. Adding Files to HDFS

C. Retrieving files

D. Removing files

E. Removing directories
Result:
Thus successfully completed file management and handling on the Hadoop
DFS.
Exp. No:11 Install HIVE and perform CRUD operations

DATE:

Aim:
To install HIVE and perform CRUD operations

HIVE:
Hive is a data warehouse infrastructure tool to process structured data in Hadoop. It
resides on top of Hadoop to summarize Big Data, and makes querying and analyzing
easy.

HIVE installation:

Pre-requisite

o Java Installation - Check whether the Java is installed or not using the following
command.

. $ java -version

o Hadoop Installation - Check whether the Hadoop is installed or not using the
following command.

. $hadoop version

Steps to install Apache Hive

Download the Apache Hive tar file.


http://mirrors.estointernet.in/apache/hive/hive-1.2.2/

Unzip the downloaded tar file.


- tar -xvf apache-hive-1.2.2-bin.tar.gz

Open the bashrc file.


- $ sudo nano ~/.bashrc

Now, provide the following HIVE_HOME path.


- export HIVE_HOME=/home/codegyani/apache-hive-1.2.2-bin
. export PATH=$PATH:/home/codegyani/apache-hive-1.2.2-bin/bin

Update the environment variable.


$ source ~/.bashrc
Let's start the hive by providing the following command.
. $ hive

Hive - Create Database


In Hive, the database is considered as a catalog or namespace of tables. So, we can
maintain multiple tables within a database where a unique name is assigned to each
table. Hive also provides a default database with a name default.

Initially, we check the default database provided by Hive. So, to check the list of
existing databases, follow the below command: -
hive> show databases;

Let's create a new database by using the following command: -

hive> create database demo;

hive>create the database demo

>WITH DBPROPERTIES ('creator' = 'Gowtham, 'date' = '2024-10-03');

Drop the table by using the following command: -

hive> drop table new_employee;

Change the name of the table by using the following command: -

hive>Alter table emp rename to employee_data;

Add a new column to the table by using the following command: -

hive>Alter table employee_data add columns (age int);


Drop the table by using the following command: -

hive> drop table new_employee;

Result:
Successfully installed HIVE and CRUD operations were performed.
Exp. No: 12 Creating a warehouse application in a website

DATE:

Salesforce Apps

The primary function of a Salesforce app is to manage customer data. Salesforce apps
provide a simple UI to access customer records stored in objects (tables). Apps also
help in establishing relationship between objects by linking fields.

Apps contain a set of related tabs and objects which are visible to the end user. The
below screenshot shows, how the StudentForce app looks like.

Steps To Setup The App

1. Click on Setup button next to app name in top right corner.


2. In the bar which is on the left side, go to Build → select Create →
select Apps from the drop down menu.
3. Click on New as shown in the below screenshot.

4. Choose Custom App.

5. Enter the App Label. StudentForce is the label of my app. Click on Next.

6. Choose a profile picture for your app. Click Next.


7. Choose the tabs you deem necessary. Click Next.
8. Select the different profiles you want the app to be assigned to. Click Save.

In steps 7 and 8, you were asked to choose the relevant tabs and profiles. Tabs and
profiles are an integral part of Salesforce Apps because they help you to manage
objects and records in Salesforce.

In this salesforce tutorial, I will give you a detailed explanation of Tabs, Profiles and
then show you how to create objects and add records to it.

Salesforce Tabs

Tabs are used to access objects (tables) in the Salesforce App. They appear on top of
the screen and are similar to a toolbar. It contains shortcut links to multiple objects. On
clicking the object name in a tab, records in that object will be displayed. Tabs also
contain links to external web content, custom pages and other URLs. The highlighted
portion in the below screenshot is that of Salesforce tabs.
All applications will have a Home tab by default. Standard tabs can be chosen by
clicking on ‘+’ in the Tab menu. Accounts, Contacts, Groups, Leads, Profile are the
standard tabs offered by Salesforce. For example, Accounts tab will show you the list
of accounts in the SFDC org and Contacts tab will show you the list of contacts in the
SFDC org.

Steps To Add Tabs

1. Click on ‘+’ in the tab menu.


2. Click on Customize tabs, which is present on the right side.
3. Choose the tabs of your choice and click on Save.

Besides standard tabs, you can also create custom tabs. Students tab that you see in
the above screenshot is a custom tab that I have created. This is a shortcut to reach
the custom object: Students.
Steps To Create Custom Tabs

1. Navigate to Setup → Build → Create → Tabs.


2. Click on New.
3. Select the object name for which you are creating a tab. In my case, it is Students
Data. This is a custom object which I have created (the instructions to create this
object is covered later in this blog).
4. Choose a tab style of your preference and enter a description.
5. Click on Next → Save. The new Students Data tab will appear as shown
below.

Result:
We had successfully Created a warehouse application in Salesforce.
Exp. No: 13 Creating a new GCP Console Project

DATE:

Aim:
To create a new A Google Cloud project

Create a Cloud project


A Google Cloud project is required to use Google Workspace APIs and
build Google Workspace add-ons or apps. A Cloud project forms the basis for creating,
enabling, and using all Google Cloud services, including managing APIs, enabling
billing, adding and removing collaborators, and managing permissions.

Steps to Create a Cloud project


1. In the Google Cloud console, go to Menu menu > IAM & Admin > Create a
Project.
2. In the Project Name field, enter a descriptive name for your project.
Optional: To edit the Project ID, click Edit. The project ID can't be changed after the
project is created, so choose an ID that meets your needs for the lifetime of the project.

3. In the Location field, click Browse to display potential locations for your project.
Then, click Select.Caution: Can't find your Google Workspace organization?
This means you aren't signed in to a Google Workspace account. Some of the features
described in Google Workspace developer documentation are only available to
projects associated with an organization.
4. Click Create. The Google Cloud console navigates to the Dashboard page and
your project is created within a few minutes.
Enable billing for your Cloud project
Depending on the Google Workspace APIs and features that you want to use, you
might also need to enable billing for your Cloud project:
5. In the Google Cloud console, go to Billing. Click Menu menu > Billing > My
Projects.
6. In Select an organization, choose the organization associated with your Google
Cloud project.
7. In the project row, open the Actions menu (more_vert), click Change billing, and
choose the Cloud Billing account.
8. Click Set account.

Result:

Thus successfully created a GCP console project.


Exp. No:14 Implementation of virtual data center in AWS

DATE:

Aim:
To implement virtual data center in AWS.

Define Your Requirements:

● Identify Workloads: Determine the applications and services that will run in the
virtual data center.
● Capacity Planning: Estimate resource requirements (compute, storage, and
networking).
● Compliance and Security Needs: Understand regulatory and security
requirements for your data.

Create an AWS account:

You can easily create an AWS account on the AWS Console. All new sign-upsget a
free-tier offer.
Design Your Architecture

● VPC Design: Plan your Virtual Private Cloud (VPC) with subnets (public/private),
route tables, and internet gateways.
● Security Groups and NACLs: Design your security groups and Network ACLs
for inbound and outbound traffic control.
● Availability Zones: Consider deploying across multiple Availability Zones for
redundancy.

Provision the Infrastructure

Step 1: Launch VPC: From the VPC Dashboard choose Launch VPC Wizard.

Subnets: Choose the second option, VPC with Public and Private Subnets, and then
choose Select.
Step 2: Create VPC - On the configuration page, enter the following information and
choose Create VPC.

● IPv4 CIDR block: 10.0.0.0/16


● VPC name: My VPC
● Public subnet’s IPv4 CIDR: 10.0.0.0/24
● Availability Zone: us-east-1a
● Public subnet name: Public Subnet 01
● Private subnet’s IPv4 CIDR: 10.0.2.0/24
● Availability Zone: us-east-1a
● Private subnet name: Private Subnet 01
● Elastic IP Allocation ID: Select your Allocation ID previously created eipalloc-
XXXXXXXXXXXXXX
● Enable DNS hostnames: Yes
Step 3: A status window shows the work in progress, when the wizard is finished,
choose OK.

The VPC that you created is a non default VPC, therefore the Default VPC column
displays No, copy the VPC ID of My VPC.
Step 4: Configuration of subnets

In the navigation pane, choose Subnets, you will see two subnets created from your
VPC in availability zone a (us-east-1a).

For the second public subnet, choose Create subnet and enter the following
information and choose Create.

● VPC ID: ID (My VPC)


● Subnet name: Public Subnet 02
● Availability Zone: us-east-1b
● IPv4 CIDR block: 10.0.1.0/24

For the second private subnet, choose Create subnet and enter the following
information and choose Create.
● VPC ID: ID (My VPC)
● Subnet name: Private Subnet 02
● Availability Zone: us-east-1b
● IPv4 CIDR block: 10.0.3.0/24

Now you will see the four subnets, two publics and two privates.

Step 5: Route tables


In the navigation pane, choose Route Tables, note that one of your route tables for
the Main column displays Yes.

Edit the names, mouse over the column Name and click on the pencil, for
the Main route table type Private Route and for the other one type Public Route.

Select your Public Route, click on Subnet Associations and click on Edit subnet
associations.
Select the subnets 10.0.0.0/24 (Public Subnet 01) and 10.0.1.0/24 (Public Subnet 02)
and click on Save.

Result:

Thus successfully deployed a VPC network with public and private subnets.
Exp. No:15 Deployment and configuration of Microsoft AZURE

DATE:

Aim:
Deployment and configuration of Microsoft Azure

Create and deploy:

1. Sign in to the Azure portal.


2. Choose Create a resource > Compute, and then scroll down to and
select Cloud Service.

3. In the new Cloud Service pane, enter a value for the DNS name.
4. Create a new Resource Group or select an existing one.
5. Select a Location.
6. Select Package, which opens the Upload a package pane. Fill in the required
fields. If any of your roles contain a single instance, ensure Deploy even if one or
more roles contain a single instance is selected.
7. Make sure that Start deployment is selected.
8. Select OK, which closes the Upload a package pane.
9. If you don't have any certificates to add, choose Create.
Upload a certificate:
1. Select Certificates, and on the Add certificates pane, select the TLS/SSL
certificate .pfx file, and then provide the Password for the certificate,
2. Select Attach certificate, and then choose OK on the Add certificates pane.
3. Select Create on the Cloud Service pane. When the deployment reaches
the Ready status, proceed to the next

Verify your deployment completed successfully:

1.Select the cloud service instance.


2.The status should show that the service is Running.

3. Under Essentials, select the Site URL to open your cloud service in a web browser.

Result:

Thus deployment and configuration was successfully executed.

You might also like