Ddac Lab
Ddac Lab
Ddac Lab
Step 1:
Create a user account on VMware HOL.
Step 2:
Login into VMware HOL.
1
Step 3:
Go for the lab module virtualization 101 and enroll in virtualization 101.
Step 4:
2
Step 5:
Step 6:
Open the browser of guest OS for the creation of VM client. And login into the browser
of VMware.
3
Step 7:
Step 7.1:
Now we got actions. Click on New Virtual machine and Create it.
4
Step 7.2:
Go to Next Machine Now it will ask for the name of Virtual Machine And click next.
Step 7.4:
5
Step 7.5:
Select storage specially select VMFs because the virtual machine has different file structure.
6
Step 7.6:
Select compatibility Generally we use updated version of Esxi 6.7 update 2 and later.
Step 7.7:
7
Step 7.8:
Step 7.9:
Ready to complete. It will contain a brief description of what we have done till
now. It will show your VM1 OS.
8
9
Experiment 2
Installation of Virtual Machine on windows using virtual box.
Steps to Create Virtual Machine
1. Click the 'New' button to open a dialog.
3. Accept the default 'Create a virtual hard drive now' and click the 'Create' button.
10
4. Continue to accept the default 'VDI' drive file type and click 'Next' button.
5. Change the storage type from the default 'Dynamically allocated' to 'Fixed size' to
increase performance.
11
6. Give File location and size.
7. Click the 'Create' button and VirtualBox will generate an Ubuntu virtual machine.
8. Now the virtual machine is created. We are ready to install Ubuntu on this virtual
machine. Select your new virtual machine and click the 'Settings' button. Click on
'Storage' category and then 'Empty' under Controller:IDE. Click the "CD/DVD" icon on
the right hand side and select the Ubuntu ISO file to mount.
12
9. Click OK and go Back to Oracle VM VirtualBox Manager, click on the new Ubuntu
virtual machine and hit the 'Start' button. Now you shall see a 'Welcome' screen. Click
'Install Ubuntu' button.
11. Make sure the 'Erase disk and install Ubuntu' option is selected and click the 'Install Now'
button.
13
12. In 'Who are you?' dialog, enter your preferred name, username and password. Note that
this user will have root/sudo privilege. Click the 'Continue' button.
13. After installation is complete, click the 'Restart Now' button. When you see a screen with
a black background saying 'Please remove installation media and close the tray (if any)
then press ENTER:', just follow it.
14
14. Enter the password you have chosen and press 'Enter'.
15
Experiment No. 3
2- In an option called Docker Desktop click download according to the OS of the system.
16
4- Installation after completed one needs to login to their system again.
17
6- Now Open Docker
8- In OwnCloud documentation under Installation option select Installing With Docker. The
following command starts a docker container with the name "oc-eval" in the background. Open
command prompt as admin and run the command
docker run --rm --name oc-eval -d -e OWNCLOUD_DOMAIN=localhost:8080 -p8080:8080
owncloud/server
18
Now Docker is running.
9- When the installation is completed select Allow access in Defender. In Containers the
OwnCloud server with port 8080 is installed. There are options to open, pause, resume, delete it.
10- Open it and enter the default username and password ‘admin’.
19
EXPERIMENT NO. 4
Case Study: Microsoft azure.
INTRODUCTION:-
The Windows Azure platform is one of the key pillars of Microsoft Cloud, which transforms the
traditional data center, helps businesses maintain data anywhere, enables the development of a
wide range of modern business applications, while making it possible for IT to support users (who
work anywhere, remotely on any device ) to manage these devices in a safe and consistent way.
With Microsoft Azure, you can access new servers that allow uploading within seconds, minutes
rather than waiting for days or weeks to get new hardware in one's data center. In most cases,
many Azure actions are performed automatically without human involvement, nor interaction.
Cloud Computing is a term that does not describe one single thing - but it is a term that
incorporates a variety of infrastructure-based services as a service, through platforms as a
development tool, and through software as a service that replaces traditional applications.
1. Types of cloud services:-
Cloud service models describe how users can use these services. The basic cloud service models
include a combination of IaaS (Infrastructure as a Service), PaaS (Platform as a Service), and
SaaS (Software as a Service). These service models may have interaction between each other and
may be dependent on each other; for example PaaS is dependent on IaaS because the application
platform requires physical infrastructure.
20
1.1. SaaS (Software as a service):
SaaS is the software ,whose function is to provide network applications that can usually be
accessed by traditional browsers. This is a model of cloud services where users unlike other
models, have ready-made environments where their projects will be accomplished either for
personal or business purposes. SaaS software is usually licensed through a monthly or annual
subscription.
Office 365, is a typical model that SaaS offers. Prepaid users, are always equipped with the latest
version. All the cost for installment and updating of the software, fall upon the companies that
provide these cloud services.
Other SaaS examples are: Microsoft One Drive, Dropbox, Wordpress and Amazon Kindle.
2. Microsoft Azure:
Cloud-based Windows Azure Services are:
∙ Computer services
∙ Network Services
21
∙ Data services
∙ Application Services
3. Virtual machines:
Azure's Virtual Machines (VMs) are one of the major functions of Azure's IaaS capabilities along
with Virtual Networks. Virtual Machines support the use of a Windows or Linux server in the
Microsoft Azure database. There is full control of VM configuration here. Azure Virtual
Machines allow the creation and use of virtual machines in the cloud. By providing the what is
known as "Infrastructure as a Service (IaaS)" , virtual machine technology can be used in various
ways including: -
∙ Virtual development and testing machines
∙ Executing cloud applications
∙ Expanding the cloud data center
∙ Treatment of critical data in case of disaster in business.
Other benefits to be considered for VMs include:-
∙ pay as much as you use:- Azure requires a price per hour based on the size and operating
system of the VM. For partial hours, Azure only requires you to pay for the minutes of use. The
use of the storage server is charged separately.
∙ Elasticity:- Azure monitors the physical hardware that holds any VM that is in operation. If a
physical VM server fails, Azure notes this, moves VM to a new hardware and reboots VM. This
process is sometimes called a 'healing service'.
Like other virtual machines an VM in Azure has an operating system, storage system and network
capabilities and can run a variety of applications. If we want to store an image, we can use one
provided by Azure or one of our own.
Examples include various versions, variances and configurations of: Linux Servers such as SUSE,
Ubuntu and CentOS, Windows Server, SQL Server, BizTalk Server, and SerSharePoint Server.
22
The process of creating a virtual machine passes through several phases where you initially need
to open the account on the page and after all the services offered by azure, we choose to access
the Virtual machines (classic) option as follows:
In the above figure we choose the Add button, and then the Windows Server option, Windows
Server 2008 R2 SP1 (or another), the Classic option and the Create button and fill in the text box
with the Host name (for example, with name fidan), Username and Password. After its creation,
the appearance will appear as follows.
To connect to this machine from the desktop computer, you must download the remote desktop
connection (Figure 3) to the desktop and then follow the Connect button to the next figure (Figure
23
4).
In addition, there is a set of virtual machines A: A8 and A9 that bring the highest performance,
the lowest latency of the network and which can perform a good uploading performance.
Establishing the connection between machines that allow different applications at a time of less
than ten milliseconds, is possible here and is not allowed in a typical hardware.
Within the basic and standard levels, there are different sizes of VMs. VM Series A belong to the
traditional sizes that have been pioneering since the Azure Virtual Machines were introduced for
the first time. The D Series of VMs were presented in September 2014 and they feature faster
processors and solid state drives (SSD) for temporary physical disks.
When a VM is created, it will be equipped with two disks: an OS disk that is permanently stored
24
in the Azure blob storage and a temporary disk. The temporary drive is a physical disk placed on
the server. Virtual machines use virtual hard disks (VHDs) to maintain their operating system
(OS) and data. VHDs are also used for images that you can choose to install an OS.
The overall management of VMs is primarily the responsibility of the user. The Microsoft Azure
platform will ensure that the VMs is accessible from the outside. Moreover, the user can do
whatever they want. Configuring and managing VMs can be done through a standard desktop
remote or through a remote connection using PowerShell. Virtual machines are measured in hours
of use, so that we can save
money by 'unplugging' the virtual machine when we're not using it. VMs stand on the physical
servers located in the Microsoft Azure data center. As with most physical devices there is a
chance that there may be some failure. If the physical server fails, the VMs and Azure located on
that server will fail. If such a failure occurs, the Azure platform will try to quickly find a secure
server in which VMs' reconstruction will take place. This service process can take several
minutes. During this, applications placed on that VMs will not be available.
In addition to hardware failures, the VMs may also be affected by periodic updates initiated by
the Azure Platform itself. Microsoft will periodically improve the operating system in which VMs
are operating. During these updates, the VMs will be restored and therefore will be temporarily
unavailable.
To avoid a single failure point, it is recommended to place at least two instances of VMs. In fact,
Azure offers a Service Level Agreement (SLA) only when two or more VMs are placed in a set of
availability. This is a logical concept that is used to ensure that a set of VMs that are connected
between them are not all located at a single point of failure so they do not need to be all upgraded
at once . The first two VMs placed in an availability set are divided into two different domains of
failure by ensuring that a single point of failure does not affect all at the same time. Similarly, the
first five VMs placed in a set of availability are divided into five different update domains,
minimizing the impact when the Azure platform carries out any updates to the operating systems.
4. Conclusions:-
Computing in cloud computing makes it a reality. Organizations can currently only pay for what
they use. This enables a reduction in investment in IT and leads to more efficient use of the data
center. However, the economic benefits of using cloud services are attracting organizations where
their current systems need improvements.
Some cloud providers make it stand out between the existing and cloud data center. While Azure,
which easily integrates into the existing IT environment through the broader network of secure
private connections, database, warehouse choices, and encryption features, can put things
into place. With the Azure Set you can bring the application development model
and placement in the data center. With Azure's choice we will have these
advantages: more IT options, less complexity and lower cost. That is why Azure is
one of the best cloud service services available.
25
EXPERIMENT NO. 5
Case Study: Google App Engine.
Google App Engine (often referred to as GAE or simply App Engine, and also used by the
acronym GAE/J) is a platform as a service (PaaS) cloud computing platform for developing and
hosting web applications in Google-managed data centers. Applications are sandboxed and run
across multiple servers. App Engine offers automatic scaling for web applications—as the number
of requests increases for an application, App Engine automatically allocates more resources for
the web application to handle the additional demand. Google App Engine is free up to a certain
level of consumed resources. Fees are charged for additional storage, bandwidth, or instance
hours required by the application. It was first released as a preview version in April 2008, and
came out of preview in September 2011.
Portability Concerns
Developers worry that the applications will not be portable from App Engine and fear being
locked into the technology. In response, there are a number of projects to create open-source back-
ends for the various proprietary/closed APIs of app engines, especially the datastore. Although
these projects are at various levels of maturity, none of them is at the point where installing and
running an App Engine app is as simple as it is on Google’s service. AppScale and TyphoonAE
are two of the open source efforts.
AppScale can run Python, Java, and Go GAE applications on EC2 and other cloud vendors.
26
TyphoonAE can run python App Engine applications on any cloud that supports linux machines.
Web2py web framework offers migration between SQL Databases and Google App Engine,
however it doesn’t support several App Engine-specific features such as transactions and
namespaces.
27
Experiment No. 6
Study How to manage Cloud Computing Resources.
Resource management:
It is the process of allocating computing storage, networking and resources to a set of
applications, cloud service providers and cloud users.
Types of Resources:
1. Compute Resources - A compute resource is an object that represents a host, host cluster, or
pool in a virtualization platform, a virtual datacenter, or an Amazon region on which machines
can be provisioned.
2. Network Resources - Elements of hardware, software or data that are related to networks,
which can be, for example, servers and printers in the network.
3. Power Resources - the relation between power and energy, and to comprehend their
management techniques, some related terminology must be identified.
28
Types of Resources:
1. Compute Resources - A compute resource is an object that represents a host, host cluster, or
pool in a virtualization platform, a virtual datacenter, or an Amazon region on which machines
can be provisioned.
2. Network Resources - Elements of hardware, software or data that are related to networks,
which can be, for example, servers and printers in the network. 3. Power Resources - the relation
between power and energy, and to comprehend their management techniques, some related
terminology must be identified.
1. Resource Provisioning:
Provision of discover and selection of resources according to different types of cloud:
1. Public cloud - In a private cloud, a business has access to infrastructure in the cloud that is
not shared with anyone else.
2. Private cloud - In a public cloud, individual businesses share on premise and access to basic
computer infrastructure (servers, storage, networks, development platforms etc.) provided by a
CSP.
3. Hybrid cloud - In a hybrid cloud, a company’s cloud deployment is split between public and
private cloud infrastructure. Sensitive data remains within the private cloud where high security
standards can be maintained.
4. Community cloud - Community clouds are a recent variation on the private cloud model that
provide a complete cloud solution for specific business communities.
2. Resource Scheduling:
In cloud computing two levels of scheduling are:
1. Job Scheduling - Job scheduling is the process where different tasks get executed at
predetermined time or when the right event happens.
2. Task Scheduling - The Task Scheduler service allows you to perform automated tasks on a
29
chosen computer. With this service, you can schedule any program to run at a convenient time
for you or when a specific event occurs.
3. Resource Monitoring:
Monitor the client/cloud subscriber and availability of resources. Various aspect are consider for
resource monitoring are:
1. Resource Demand Profiling - The key objective in this approach is to pre-define the
resource requirements or resource profile for a project based upon a set of variables.
30
Experiment No. 7
Study about existing cloud characteristics and service models.
Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to
a shared pool of configurable computing resources (e.g., networks, servers, storage,
applications, and services) that can be rapidly provisioned and released with minimal
management effort or service provider interaction.
Five essential characteristics of cloud computing:
The essential characteristics can be elaborated as follows:
• On-demand self-service: Cloud computing resources can be provisioned without human
interaction from the service provider. In other words, a manufacturing organization can
provision additional computing resources as needed without going through the cloud service
provider. This can be a storage space, virtual machine instances, database instances, and so on.
• Broad network access: Cloud computing resources are available over the network and can be
accessed by diverse customer platforms. It other words, cloud services are available over a
network—ideally a high broadband communication link—such as the internet, or in the case of a
private clouds it could be a local area network (LAN).
• Resource pooling: Resource pooling means that multiple customers are serviced from the
same physical resources. Providers’ resource pool should be very large and flexible enough to
service multiple client requirements and to provide for economy of scale. When it comes to
resource pooling, resource allocation must not impact performances of critical manufacturing
applications.
• Rapid elasticity: Resources are provisioned and released on-demand and/or automated based
on triggers or parameters. This will make sure your application will have exactly the capacity it
needs at any point of time.
31