Professional Documents
Culture Documents
Cloud Infrastructure Documentation
Cloud Infrastructure Documentation
5. Hypervisor type 1
- Xen Server installing and configuration
- Configuring Xen-server VMs
- Configuring Remote Access (SSH, RDP)
- Project(IaaS)
6. Containerization
- What is Docker
- Features of Docker
- Components of Docker
- How to manage and use Docker
- How to test your docker installation
- How to search for Docker images
- How to install Docker nginx image
- How to list running Docker containers
- How to run a command in a running container
- How to deploy and manage a registry server
- Docker hub
The outsourcing of IT infrastructure management, however, did not begin till 2000.
Especially because by this time, companies had built up capabilities to provide
advanced server virtualization services via hosted cloud environments. Since then,
cloud computing has evolved to include the delivery of infrastructure, platform,
software and, more recently, network „as a service‟ encompassing IaaS, PaaS, SaaS
and NaaS. Today, collaborative computing (a diverse collection of enterprise
applications and virtualized social interaction tools) is offered as a service under
the utility model to dynamic clients. Evidently, these and related advancements
continue to grow at a rapid pace.
1. Resources Pooling
It means that the Cloud provider pulled the computing resources to provide
services to multiple customers with the help of a multi-tenant model. There are
different physical and virtual resources assigned and reassigned which depends on
the demand of the customer. The customer generally has no control or information
over the location of the provided resources but is able to specify location at a
higher level of abstraction
3. Easy Maintenance
The servers are easily maintained and the downtime is very low and even in some
cases, there is no downtime. Cloud Computing comes up with an update every time
by gradually making it better. The updates are more compatible with the devices
and perform faster than older ones along with the bugs which are fixed.
5. Availability
The capabilities of the Cloud can be modified as per the use and can be extended a
lot. It analyzes the storage usage and allows the user to buy extra Cloud storage if
needed for a very small amount.
6. Automatic System
Cloud computing automatically analyzes the data needed and supports a metering
capability at some level of services. We can monitor, control, and report the usage.
It will provide transparency for the host as well as the customer.
7. Economical
It is the one-time investment as the company (host) has to buy the storage and a
small part of it can be provided to the many companies which save the host from
monthly or yearly costs. Only the amount which is spent is on the basic
maintenance and a few more expenses which are very less.
8. Security
Cloud Security, is one of the best features of cloud computing. It creates a
snapshot of the data stored so that the data may not get lost even if one of the
servers gets damaged. The data is stored within the storage devices, which cannot
be hacked and utilized by any other person. The storage service is quick and
reliable.
9. Pay as you go
Hybrid cloud
Public cloud:
Public cloud, in general, is SaaS services offered to users over the internet. It is the
most economical option for users in which the service provider bears the expenses
of bandwidth and infrastructure. It has limited configurations, and the cost is
determined by usage capacity. That said, the limitations of the public cloud are its
lack of SLA specifications. Despite high reliability, lower costs, zero maintenance
Private cloud:
As the name suggests, the private cloud is used by large organizations to build and
manage their own data centers for specific business and IT needs/ operations. The
private cloud provides more control over customizability, scalability and
flexibility, while improving security of assets and business operations. This sort of
infrastructure can be built on premises or outsourced to a third party service
provider – either way; it has the ability to maintain the hardware and software
environment over a private network solely for the owner. Large- and medium-scale
financial enterprises and government agencies typically opt for private clouds.
Hybrid cloud:
Hybrid cloud is the combination of a private and public cloud, providing for more
flexibility to businesses while having control over critical operations and assets,
coupled with improved flexibility and cost efficiency. The hybrid cloud
architecture enables companies to take advantage of the public cloud as and when
necessary due to their easy workload migration. For instance, businesses can use
the public cloud for running high-volume applications like emails, and utilize
private clouds for sensitive assets like financials, data recovery, and during
scheduled maintenance and rise in demand.
Cloud Providers offer services that can be grouped into three categories.
1. Software as a Service (SaaS): In this model, a complete application is offered
to the customer, as a service on demand. A single instance of the service runs on
the cloud & multiple end users are serviced. On the customers‟ side, there is no
need for upfront investment in servers or software licenses, while for the provider,
the costs are lowered, since only a single application needs to be hosted &
maintained. Today SaaS is offered by companies such as Google, Salesforce,
Microsoft, Zoho, etc.
2. Platform as a Service (Paas): Here, a layer of software, or development
environment is encapsulated & offered as a service, upon which other higher levels
of service can be built. The customer has the freedom to build his own
applications, which run on the provider‟s infrastructure. To meet manageability
and scalability requirements of the applications, PaaS providers offer a predefined
combination of OS and application servers, such as LAMP platform(Linux,
Apache, MySql and PHP), restricted J2EE, Ruby etc. Google‟s App Engine,
Force.com, etc are some of the popular PaaS examples.
3. Infrastructure as a Service (Iaas): IaaS provides basic storage and computing
capabilities as standardized services over the network. Servers, storage systems,
networking equipment, datacentre space etc. are pooled and made available to
handle workloads. The customer would typically deploy his own software on the
infrastructure. Some common examples are Amazon, GoGrid, 3 Tera, etc
CentOS 7 installing
The screenshots below will show every step from starting the virtual machine for
the first time (with the .iso file attached) until the first logon. You should see this
when booting, otherwise verify the attachment of the .iso file form the previous
steps. Select Test this media and install CentOS 7.
Carefully select the language in which you want your CentOS. I always install
operating systems in English, even though my native language is not English. Also
select the right keyboard, mine is a US qwerty, but yours may be different
I did not select any software here (because I want to show it all in this training).
After configuring network, location, software and all, you should be back on this
page. Make sure there are no warnings anymore (and that you made the correct
choice everywhere).
If you see this, then the installation was successful. Time to reboot the computer
and start CentOS 7 for the first time.
The touch command can be used not only to create empty files, but also to update
the access and modification times of existing files.
# rm filename
# mkdir
You can create directories inside existing paths with mkdir [directory] or create
a full path with mkdir -p [/full/path/to/directory .
# ls /var
Service management
# systemctl status name.service
# service status name.service
What is YUM?
YUM (Yellowdog Updater Modified) is an open source command-line as well as
graphical based package management tool for RPM (RedHat Package Manager)
based Linux systems. It allows users and system administrator to easily install,
update, remove or search software packages on a system.
To keep your system up-to-date with all security and binary package updates, run
the following command. It will install all latest patches and security updates to
your system.
# yum check-update
# yum update
# yum update package-name
Example
The above command will ask confirmation before installing any package on your
system. If you want to install packages automatically without asking any
confirmation, use option -y as shown in below example.
What is a hypervisor?
A hypervisor is a program for creating and running virtual machines. Hypervisors
have traditionally been split into two classes: type one, or "bare metal" hypervisors
that run guest virtual machines directly on a system's hardware, essentially
behaving as an operating system. Type two, or "hosted" hypervisors behave more
like traditional applications that can be started and stopped like a normal program.
In modern systems, this split is less prevalent, particularly with systems like KVM.
KVM, short for kernel-based virtual machine, is a part of the Linux kernel that can
run virtual machines directly, although you can still use a system running KVM
virtual machines as a normal computer itself.
Characteristics of Virtualization
Step2:
Step4:
Step6:
Step8:
The last details to provide are for the virtual hard disk that will be created. The
maximum disk size is what Windows inside the virtual machine will see. It is not
necessarily the disk space needed when creating this virtual machine. If you would
select the check box for Allocate all disk space now then 60 GB of you disk space
would be used to create the virtual disk. Otherwise (the default) the virtual disk
will only consume a few megabytes and will grow in size once you start adding
data into your virtual machine. The benefit of pre-allocating the disk space is that
your hard disk can not run out of disk space when running the virtual machine.
Keep the setting to split the disk into multiple files enabled. Otherwise you will
end up with a very large file that might be unpractical to work with. It might not fit
on portable media for example.
Once the virtual machine is created and powered on the Easy Install process will
kick off and install the operating system for you.
At any time when the VMware virtual machine is on, you can shut it down or
restart it from the VM > Power menu. This is also how you suspend the VM,
which means to pause it so that you can resume at that exact same point the next
time you access it. This is different from powering it on from an off state where
you have to log back in again, open programs and files, etc.
With the same way, you can create a vm with linux based operating system
(CentOS or ubuntu).
Click the Windows Start button, then type Command Prompt and choose
it from the Start menu. This opens a new window, shown at right. In this
window, type ipconfig and press Enter.
After you complete the steps, you can use the Remote Desktop app or the
Remote Desktop Connection client from another computer to connect to
your device remotely.
Once the service is started, run #ifconfig command and get you server ip and use a
program like putty to access your server remotely using ssh service
Step5:
The next prompt is the obligatory EULA (End User License Agreement). Feel free
to read the whole thing, as your supposed to anyways right, otherwise using the
keyboard arrows move the cursor over to the “Accept EULA” button and hit enter.
Step7:
The next screen requests the installation device. In this example the RAID setup on
the server is where XenServer will be installed.
The RAID system is reflected as “sda – 556 GB [IBM ServeRAID-MR10k]” For
this guide, thin provisioning is not necessary. Make sure the the
asterisk (*) character is next to the hard drive selection to install XenServer and tab
to the “OK” button.
Step9:
The next step allows for the installation of Supplemental Packs (SP) at the time of
install. For this guide, none of the supplemental packs available will be installed at
this point but will be covered later once XenServer is up and running.
Step12:
Choose from the options to configure networking as DHCP for your Management
interface on the host.
Step13:
Choosing the system time as NTP while you can also choose it from its manual
time entry
Step15:
Installation
Team (2 or 3 at max)
The initial release of Docker was in March 2013 and since then, it has become the
buzzword for modern world development, especially in the face of Agile-based
projects.
Features of Docker
Docker has the ability to reduce the size of development by providing a
smaller footprint of the operating system via containers.
With containers, it becomes easier for teams across different units, such as
development, QA and Operations to work seamlessly across applications.
You can deploy Docker containers anywhere, on any physical and virtual
machines and even on the cloud.
Since Docker containers are pretty lightweight, they are very easily scalable
Sample outputs:
You can use CONTAINER ID to stop, pause or login into the container.
OR
Want to gain bash shell for a running container and make changes to nginx image
#docker exec -i -t fe0cdbc0225a bash
OR
6. To stop the registry, use the same docker container stop command as with
any other container.
https://opensource.com/resources/virtualization
https://masteringvmware.com/how-to-install-vmware-workstation-pro-step-by-
step/
https://lts.lehigh.edu/services/stepwise-instructions/configure-remote-desktop-
windows-10
https://linoxide.com/tools/configure-citrix-xenserver-6-5-vmware-workstation/
https://www.nextofwindows.com/how-to-setup-xenserver-open-source-
virtualization-with-powerful-windows-client