2 Comet Cloud
2 Comet Cloud
Example Scenario:
• An e-commerce website hosted in a private cloud experiences high traffic during
holidays or flash sales. During these peak times, cloud bursting helps the system
temporarily scale out to a public cloud to handle the extra traffic without
affecting performance.
How Cloud Bursting work?
• Normal Operations: During normal operations, the organization uses its private
cloud infrastructure to handle workloads.
• Peak Demand: When there is a surge in demand (e.g., during holiday sales, a
special event, or a large batch job), the private cloud might not have enough
resources to meet the increased demand.
• Burst into Public Cloud: To handle this spike, the excess workload is redirected or
"burst" into the public cloud, where additional compute and storage resources
can be allocated on demand.
• Scale Down: Once the peak demand passes, the public cloud resources are
released, and the application resumes running entirely on the private cloud.
Key Concepts of Cloud Bursting:
• Private Cloud (On-premises Cloud):This is the primary infrastructure where an
organization runs its regular workloads. It is typically used to handle predictable or
steady workloads.
• Public Cloud: The public cloud is an external, on-demand resource pool provided by
a cloud service provider (such as AWS, Microsoft Azure, or Google Cloud). In cloud
bursting, it is used as an overflow resource to handle increased demand temporarily.
• Dynamic Scaling: Cloud bursting allows automatic or manual scaling of applications
from the private cloud to the public cloud when the local resources reach their
limits. Once the demand subsides, the system scales back to the private cloud.
• Cost Efficiency: Instead of over-provisioning the private cloud for occasional spikes,
cloud bursting lets organizations pay only for the additional resources they use from
the public cloud during peak times.
• Seamless Integration: Applications must be designed to work across both private
and public clouds. When demand exceeds private cloud capacity, the additional
workload is shifted seamlessly to the public cloud
When to Choose Each?
Choose Cloud Bursting When:
• You have fluctuating workloads: If your application sees infrequent, unpredictable demand spikes.
• Cost is a concern: If you're looking to optimize infrastructure costs by using the public cloud only
when necessary, cloud bursting provides on-demand scalability.
• Your core workload is stable: Your main application runs effectively on the private cloud, and you
just need occasional extra resources.
Data Center/Grid/Cloud: The foundational layer where all the computing resources
live.
Application Layer:
• This is the topmost layer where the applications run. It focuses on managing
tasks, workflows, and different frameworks like MapReduce and Hadoop.
• Example: Imagine an online store like Amazon. The store runs applications for
handling customer orders, product searches, and recommendation systems.
These applications interact with the layers below to scale up during high demand,
like during a sale or holiday season.
Programming Layer
• This layer is responsible for managing tasks and workflows. It contains various components
for:
• Scheduling: Deciding when to run specific tasks.
• Monitoring: Keeping track of system performance.
• Task consistency: Ensuring that all tasks are running properly and in sync.
• Workflow: Managing how different tasks and processes are connected.
• Example: In the same online store example, the programming layer would ensure that all
customer orders are processed in the right order, and any delays or errors are quickly
addressed. It also schedules data analysis jobs (e.g., Hadoop) during off-peak hours to save
resources.
Service Layer
• This layer handles services like clustering, anomaly detection, coordination, and messaging.
• Clustering/Anomaly Detection: Groups similar tasks together or identifies problems (like
unexpected system failures).
• Coordination: Ensures that all services work together smoothly.
• Publish/Subscribe: A messaging service where updates are sent to subscribers (for example,
notifying customers of a price drop).
• Discovery: Locating services or resources on the cloud.
• Example: The online store might need to automatically detect when there are too many
requests for a particular product. The Clustering/Anomaly Detection service identifies this
anomaly and triggers scaling.
Infrastructure layer
• This is the bottom layer, dealing with the underlying infrastructure, such as data
centers, load balancing, and security.
• Replication: Making copies of data or services to ensure they are available even if
a server fails.
• Load Balancing: Distributing workload across multiple servers to ensure no single
server is overloaded.
• Content-Based Routing: Sending requests or data to the appropriate server
based on content.
• Content Security: Ensuring the safety of data being transmitted.
• Example: During Black Friday sales, an online store can replicate its inventory
system across multiple servers so that customers from different regions can
access the same information without slowing down the system.
Data Center/Grid/Cloud:
• At the bottom of the architecture is the physical infrastructure: the data centers,
grid, or cloud services where all the actual processing and storage take place.
• Example: The online store's cloud provider (like AWS or Google Cloud) hosts all
the infrastructure, ensuring that everything from product listings to customer
orders is processed and stored securely.