Cloud Architectures
Cloud Architectures
Cloud Architectures
• Redundant storage
• Hypervisor clustering
• Load balanced virtual server Non-disruptive service relocation Cloud Advanced Architectures
• Zero downtime
• Cloud balancing
• Resource reservation Dynamic failure detection and recovery Cloud Advanced Architectures •
Distributed Data Sovereignty Architecture
Cloud Architectures
Introduction to Cloud Architectures
Cloud architecture refers to the components and subcomponents of a cloud computing system,
including the front-end platform, back-end platform, cloud-based delivery, and network. It ensures
scalability, elasticity, and optimal resource management.
Definition:
Dynamic scalability enables cloud systems to increase or decrease resources dynamically based
on real-time demands, ensuring performance and resource optimization.
Key Features:
Real-World Example:
• Amazon EC2 Auto Scaling: Automatically scales instances to match traffic demands.
Benefits:
Definition:
Elastic resource capacity refers to the ability to allocate or deallocate cloud resources dynamically
to meet changing workloads.
How It Works:
• Cloud providers provision resources dynamically, allowing systems to "stretch" during peak
times and "shrink" during low activity.
Components:
Example:
Benefits:
Load balancing refers to distributing workloads evenly across multiple servers or resources to
optimize performance, ensure availability, and prevent system overload.
How It Works:
• Incoming requests are analyzed and routed to servers based on load, health, or response
time.
3. Dynamic Load Balancing: Adjusts based on real-time server health and resource load.
Example Services:
Benefits:
4. Cloud Bursting
Definition:
Cloud bursting is a hybrid cloud deployment where an application primarily runs in a private cloud
but bursts into a public cloud when demand spikes.
How It Works:
2. When the private cloud hits its resource limits, excess load is shifted to the public cloud.
3. Once the spike ends, resources are de-provisioned from the public cloud.
Key Components:
• A retailer uses a private cloud during normal traffic but leverages AWS or Azure during
seasonal sales to handle surges.
Benefits:
Definition:
Elastic disk provisioning allows cloud systems to dynamically allocate or expand storage volumes
without downtime as the data grows.
Key Concepts:
• Thin Provisioning: Allocates only the storage needed initially and expands dynamically as
the system demands more storage.
How It Works:
2. Elastic Volume Service: Automatically expands storage size (e.g., Amazon EBS).
3. Data Migration: For performance optimization, storage may be migrated across tiers.
Example:
• Amazon Elastic Block Store (EBS): Provides scalable storage volumes that can expand
dynamically.
Benefits:
Summary Table
Topic Purpose Example
Service Load Balancing Distributes workloads across servers AWS Elastic Load Balancer
Cloud Bursting Extends private cloud to public cloud Retailer Cloud Bursting
Cloud architectures are designed to provide high availability, scalability, and fault tolerance.
Modern cloud systems ensure seamless performance through features like redundant storage,
hypervisor clustering, load balancing, and non-disruptive service relocation.
1. Redundant Storage
Definition:
Redundant storage ensures data availability and reliability by storing copies of data across multiple
storage devices or locations. If one system fails, a backup copy of the data can be accessed
seamlessly.
Key Concepts:
1. Data Replication: Creating identical copies of data across multiple servers or storage
systems.
2. RAID (Redundant Array of Independent Disks): A method to distribute and duplicate data
across multiple drives.
o Common levels: RAID 1 (mirroring), RAID 5 (striping with parity), RAID 10 (mirroring +
striping).
How It Works:
• If the primary storage fails, data is retrieved from the backup storage without downtime.
Real-World Examples:
Benefits:
2. Hypervisor Clustering
Definition:
Key Concepts:
• Hypervisor: Software that creates and manages virtual machines (e.g., VMware ESXi,
Microsoft Hyper-V, KVM).
• Clustering: Combining hypervisors into a group that can share workloads and resources.
How It Works:
3. VM Migration: Using technologies like VMware vMotion or Microsoft Live Migration, VMs
are moved seamlessly if a hypervisor fails.
Real-World Example:
Benefits:
Definition:
Load balanced virtual servers use load balancers to distribute workloads evenly across multiple
virtual servers to optimize performance, reliability, and resource usage.
How It Works:
1. Load Balancer Deployment: A load balancer acts as an intermediary between clients and
virtual servers.
• Least Connections: Routes requests to the server with the fewest active connections.
Real-World Examples:
Benefits:
Definition:
Non-disruptive service relocation is the ability to migrate applications, services, or virtual machines
from one server or environment to another without downtime or user interruption.
Key Concepts:
• Live Migration: Moving a running virtual machine from one host to another while
maintaining its state.
• State Preservation: Active sessions, memory, and CPU states are transferred seamlessly.
How It Works:
2. Live Migration: Data and resources are transferred to the target environment without
halting the service.
Technologies Involved:
• Load Balancing: Moving services to less busy servers during peak traffic.
Benefits:
Summary Table
AWS S3 Multi-AZ
Redundant Storage Ensures data reliability and availability
Replication
Topic Purpose Example
Hypervisor Clustering Fault tolerance and failover for VMs VMware vSphere HA
Non-Disruptive Service
Migrates services without downtime VMware vMotion
Relocation
Advanced cloud architectures ensure seamless operations, high availability, and resource
optimization even under challenging circumstances. They focus on providing zero downtime,
effective cloud balancing, resource reservation, and robust dynamic failure detection and
recovery mechanisms.
1. Zero Downtime
Definition:
Zero downtime refers to a system or service's ability to remain operational without any interruptions
during maintenance, updates, or failure scenarios.
Key Concepts:
1. High Availability (HA): Ensures continuous uptime through redundant systems and failover
mechanisms.
2. Live Migration: Moving active services or workloads from one host to another without
disruption.
3. Blue-Green Deployment: Deploying a new version alongside the existing one to ensure a
seamless transition.
4. Rolling Updates: Updating parts of a system gradually while keeping other parts active.
Technologies Involved:
• Virtual Machine Migration: Live migration using tools like VMware vMotion.
How It Works:
Real-World Example:
• AWS Auto-Scaling with ELB: Ensures servers are replaced or upgraded seamlessly.
Benefits:
2. Cloud Balancing
Definition:
Cloud balancing involves distributing workloads across multiple cloud resources, servers, or
regions to optimize performance, availability, and cost.
Key Concepts:
2. Multi-Cloud Balancing: Distributing workloads across multiple cloud providers (e.g., AWS,
Azure, GCP).
3. Geographic Load Balancing: Redirecting traffic based on the user's location to reduce
latency.
How It Works:
• A cloud load balancer monitors resource health and distributes requests based on
algorithms:
o Round Robin
o Least Connections
o Latency-Based Routing
• Traffic is redirected to servers or regions with higher availability and lower load.
Technologies Involved:
• Global DNS Load Balancing (Route 53, Cloudflare): Distributes traffic globally.
• Kubernetes Load Balancer: Manages containerized workloads.
• AWS Elastic Load Balancer (ELB): Balances traffic across EC2 instances.
Real-World Example:
• Google Cloud Load Balancer: Balances workloads across Google’s global infrastructure.
Benefits:
3. Resource Reservation
Definition:
Resource reservation involves allocating specific cloud resources (CPU, memory, storage) in
advance to ensure they are available when needed.
Key Concepts:
3. Reserved Instances (RIs): Cloud providers allow users to reserve resources at discounted
rates for long-term needs.
How It Works:
• Users can pre-allocate resources for specific workloads to avoid competition with other
users.
• Resource reservations are supported in virtual machines, storage, and network bandwidth.
Technologies Involved:
• Amazon EC2 Reserved Instances: Reserve virtual machines with discounts for 1 or 3
years.
Real-World Example:
• AWS Reserved Instances: Businesses reserve computing power for long-term projects.
Benefits:
Definition:
Dynamic failure detection and recovery refers to the cloud's ability to identify failures in real time
and recover automatically to ensure minimal impact on services.
Key Concepts:
1. Failure Detection: Using health checks and monitoring tools to detect failures in servers,
networks, or applications.
How It Works:
3. Automated Recovery: Using orchestration tools like Kubernetes, workloads are re-routed
or restarted on healthy resources.
Technologies Involved:
• Kubernetes Health Probes: Liveness and readiness probes detect failed containers.
Real-World Example:
Benefits:
Summary Table
Dynamic Failure Detection Detects failures and recovers AWS CloudWatch, Kubernetes
& Recovery automatically. Self-Healing