Practical Cloud Computing
Practical Cloud Computing
PRACTICAL- 01
Aim- Introduction to cloud vendors: Amazon,IBM,Microsoft.
Theory- As the business move their workloads over for strategic
deployments, the competition among the cloud vendors to remain at
the top has increased rapidly. A vast majority of customer have
grabbed the attention of top cloud services providers that offer
advanced – level services and utmost security to support their
infrastructure.
Types of Cloud Computing Services
Infrastructure-as-a-service (IaaS)
Infrastructure as a Service (IaaS) contains the most basic building
blocks for Cloud infrastructure and offers services on tops of it such as
renting IT infrastructure (virtual or physical) and networking features.
IaaS mainly includes Cloud-based services on a pay-as-you-go model.
A user pays for computing services on IaaS because it is the
fundamental platform to build new technologies.
PRACTICAL-02
Aim- setting up virtualization using Virtual/VMware are hypervisor.
Theory-
1
Open the VirtualBox website. Go
to https://www.virtualbox.org/ in your computer's Internet
browser. This is the website from which you'll download the
VirtualBox setup file.
2
Click Download VirtualBox. It's a blue button in the middle of
the page. Doing so will open the downloads page.
3
Click Windows hosts. You'll see this link below the "VirtualBox
6.1.14 platform packages" heading. The VirtualBox EXE file will
begin downloading onto your computer.
4
Open the VirtualBox EXE file. Go to the location to which the
EXE file downloaded and double-click the file. Doing so will
open the VirtualBox installation window.
5
Navigate through the installation prompts. Do the following:
Click Next on the first three pages.
Click Install
PRACTICAL – 03
Aim – Introduction Own Cloud.
Theory –
ownCloud is a suite of client–server software for creating and
using file hosting services. ownCloud functionally has
similarities to the widely used Dropbox. The primary functional
difference between ownCloud and Dropbox is that ownCloud is
primarily server software. (The company's ownCloud.online is a
hosted service.) The Server Edition of ownCloud is free and
open-source, thereby allowing anyone to install and operate it
without charge on their own private server.
ownCloud supports extensions that allow it to work like Google
Drive, with online office suite document editing, calendar and
contact synchronization, and more. Its openness avoids
enforced quotas on storage space or the number of connected
clients, instead of having hard limits (for example on storage
space or number of users) limits are determined by the physical
capabilities of the server.
Design
Desktop clients for ownCloud are available
for Windows, macOS, FreeBSD and Linux, mobile clients
for iOS and Android devices. Files and other data (such as
calendars, contacts or bookmarks) can also be accessed,
managed, and uploaded using a web browser. Updates are
pushed to all computers and mobile devices connected to an
account.
Encryption of files may be enforced by the server administrator.
PRACTICAL- 04
Aim – Introduction and configure of own cloud software for SaaS.
Theory –
What is ownCloud?
ownCloud is an open source ‘file sync and share’
software for everyone—from individuals using the free
ownCloud Server edition, to large enterprises and
service providers subscribing to the ownCloud
Enterprise edition. You can share one or more files and
folders on your computer, and synchronise them with
your ownCloud server. If you place files in your local
shared directories, they get immediately synchronised
to the server and to other devices using the ownCloud
Desktop Sync client, the Android app, or the iOS app.
Figure 1: ownCloud
System requirements
$ wget -nv
https://download.owncloud.org/download/repositories/9.1/Ubun
-O Release.key
$ sudo apt-key add - < Release.key
The ‘Release.key’ is an encrypted public key
which apt will use to verify the authenticity of
ownCloud packages. In addition to that, add the
ownCloud repository in a file called owncloud.list and
save it in the sources.list.d folder as shown below:
mysql --defaults-file=/etc/mysql/debian.cnf
This opens up the MySQL command line prompt. Enter
the following SQL commands to create a user with the
name ‘owncloud’ and a database of the same name.
Replace the word ‘mysecurepassword’ with your own
password in the commands, as shown below:
PRACTICAL – 05
Aim – Accessing Microsoft AZURE cloud-services.
Theory –
Microsoft has leveraged its constantly-expanding worldwide network
of data centers to create Azure, a cloud platform for building,
deploying, and managing services and applications, anywhere. Azure
lets you add cloud capabilities to your existing network through its
platform as a service (PaaS) model, or entrust Microsoft with all of
your computing and network needs with Infrastructure as a Service
(IaaS). Either option provides secure, reliable access to your cloud
hosted data—one built on Microsoft’s proven architecture. Azure
provides an ever expanding array of products and services designed
to meet all your needs through one convenient, easy to manage
platform. Below are just some of the capabilities Microsoft offers
through Azure and tips for determining if the Microsoft cloud is the
right choice for your organization.
You can access the cloud shell in three ways:
Direct link: open a browser to https://shell.azure.com.
AZURE Portal: select the Cloud Shell icon on the Azure portal:
Code snippets: On docs.microsoft.com and Microsoft learn,
select the Try It button that appears with Azure CLI and Azure
PowerShell code snippets:
The try It button opens the cloud shell directly alongside the
documentation using bash (for azure CLI snippets ) or
powershell (for Azure powershell snippets).
FEATURES
Browser- based shell experiences.
PRACTICAL-06
Aim- Cloud Simulation Software’s Introduction: CloudSim.
CLOUDSIM
CloudSim is an open-source framework, which is used to
simulate cloud computing infrastructure and services. It is
developed by the CLOUDS Lab organization and is written
entirely in Java. It is used for modelling and simulating a cloud
computing environment as a means for evaluating a
hypothesis prior to software development in order to reproduce
tests and results.
For example, if you were to deploy an application or a website
on the cloud and wanted to test the services and load that your
product can handle and also tune its performance to overcome
bottlenecks before risking deployment, then such evaluations
could be performed by simply coding a simulation of that
environment with the help of various flexible and scalable
classes provided by the CloudSim package, free of cost.
FEATURES:
CloudSim provides support for simulation and modelling of:
1. Large scale virtualized Datacenters, servers and hosts.
2. Customizable policies for provisioning host to virtual
machines.
3. Energy-aware computational resources.
4. Application containers and federated clouds (joining
and management of multiple public clouds).
5. Datacenter network topologies and message-passing
applications.
6. Dynamic insertion of simulation entities with stop and
resume of simulation.
7. User-defined allocation and provisioning policies