Chapter 7
Chapter 7
Chapter 7
2
7.1. Logical Network Perimeter
• Isolation of a network environment from the rest of a communications
network
3
7.1. Logical Network Perimeter
Figure 7.3. Two logical network perimeters surround the cloud consumer
and cloud provider environments
5
7.1. Logical Network Perimeter
6
Case Study Example
7
7.2. Virtual Server
• Virtualization software that emulates a physical server
• A virtual resource that can be instantly provided regardless of the
availability of physical resource
• Multitenancy: Share the same physical server with multiple cloud
consumers
Figure
7.5. The first
physical
server hosts
two virtual
servers,
while the
second
physical
server hosts
one virtual
server
8
7.2. Virtual Server
9
7.2. Virtual Server
Figure 7.6. A virtual server hosts an active cloud service and is further accessed by a cloud
consumer for administrative purposes. 10
7.2. Virtual Server
• Case Study Example
Figure 7.7. Virtual servers are created via the physical servers’ hypervisors and a central VIM.
11
7.2. Virtual Server
• Virtualization mechanisms
• A core technology enabling cloud computing service platform & the most
fundamental building block of cloud environment
• Instant VM creation by copying template VM image file (on-demand
resource provisioning)
• On-line scaling up/down (by allocating more/less cores) or out/in (by
adding/removing VM instances)
• On-line server migration by replicating VM image file to the other physical host and
switching over
• Seamless service failover by reinstating the same VM image file within the same
physical host or by replicating the VM mage file and reinstating it between different
physical hosts
• Effective load balancing by even provisioning and real-time on-line migration
• Easy administration and self-provisioning
12
7.2. Virtual Server
(3) The cloud consumer initiates the virtual server using the usage and
administration portal
(4) Usage and administration portal interacts with the VIM to create the
virtual server instance via the underlying hardware
(5) The cloud consumer is able to use and customize the virtual server via
other features on the usage and administration portal
14
7.2. Virtual Server
15
7.2. Virtual Server
16
7.2. Virtual Server (Assignment)
17
7.3. Cloud Storage Device
• Storage devices that are designed specially for cloud-based
provisioning
• Possibly virtualized and/or distributed in general
• Usually upper-bounded due to capacity allocation in support
of the pay-per-use mechanism
• Open to remote access via cloud storage services (via
Representational State Transfer or RETful APIs)
• Main concern: the security, integrity, and confidentiality of
data
• Legal and regulatory issues for relocating data across
geographical or national boundaries
• Performance issues as well due to remote and/or large data
access
18
7.3. Cloud Storage Device
20
7.3. Cloud Storage Device
• Cloud Storage Levels
21
7.3. Cloud Storage Device
Network storage interface
• Storage devices in compliance with industry standard protocols such
as SCSI for storage blocks, the server message block (SMB), common
Internet file system (CIFS) and network file system (NFS) for file and
network storage
• Destitute storage devices for large data sets such as HDFS or Ceph
• File interfaces: data file format with different size and complex
store/retrieve mechanism – less optimal in terms of performance
• Block interface: data block format with fixed size and simple (block
number/LUN) store/retrieve mechanism – optimal in terms of performance,
but need for files ystem mechanism on top of it anyway (except for raw
device usage)
22
7.3. Cloud Storage Device
23
7.3. Cloud Storage Device
24
7.3. Cloud Storage Device
Database Storage Interfaces
• According to storage structure, storage interface is divided into two main categories :
Relational Data Storage and Non-Relational Data Storage
• Depending on the type of usage metrics and the way usage data needs to
be collected; cloud usage monitors can exist in different formats
28
7.4. Cloud Usage Monitor
• Monitoring Agent
30
7.4. Cloud Usage Monitor
• Resource Agent
(1) The resource agent is actively monitoring a virtual server and detects an increase in
usage
(2) The resource agent receives a notification from the underlying resource management
program that the virtual server is being scaled up and stores the collected usage data in
a log database, as per its monitoring metrics
31
7.4. Cloud Usage Monitor
Polling Agent : processing module
• It collect cloud service usage data by polling IT resources
• It is commonly used to periodically monitor IT resource status, such as
uptime and downtime
• Consumer consideration:
– How do consumers trust the cloud provider’s usage statistics?
– What if those agents work too hard?
32
7.4. Cloud Usage Monitor
Polling Agent
Figure 7.14
(1) A polling agent monitors the status of a cloud service hosted by a virtual server by
sending periodic polling request messages and receiving polling response
messages that report usage status “A” after a number of polling cycles, until it
receives a usage status of “B”
(2) Upon the status of “B”, the polling agent records the new usage status in the log
database
33
7.5. Resource Replication
• Periodic replication of cloud resource including data
• Availability enhancement
– Each VM image files periodically replicated locally (within the same data
center) and/or remotely (to another data center)
– A new VM instance activated with the same service access point (IP) from the
replica locally or remotely in case of a VM/PM failure minimizing VM
downtime
34
7.5. Resource Replication
• Performance enhance
– A VM image files replicated onto another physical machine with enough
processing power when the performance of a VM is degraded
– VM service switched over by deactivating the current VM instance and
activating a new VM instance from the replica on another physical
machine
– VM migration mainly for the purpose of load balancing and on-line VM
scale-up/down
35
7.5. Resource Replication
36
Assignment
• Case Study Example :
– Cloud Usage Monitor Figure 7.15
37
7.6. Ready-Made Environment
• A PaaS cloud delivery model that represents a pre-defined, cloud-based
platform comprised of a set of already installed IT resources
• User-defined environment
– Utilized by cloud consumers to remotely develop and deploy their own services
and applications with a cloud
– Many IT resources pre-installed such as database, middleware, development
tools and governance tools as specified by consumers in general (master or
template VM image files)
– Typically equipped with a complete software development kit (SDK) that
provides cloud consumers with programmatic access to the development
technologies that comprise their preferred programming stacks
– Middleware for multitenant platforms to support the development and
deployment of Web application
38
7.6. Ready-Made Environment
39