0% found this document useful (0 votes)
3 views9 pages

Cloud Computing

Uploaded by

Mukul Mayur
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views9 pages

Cloud Computing

Uploaded by

Mukul Mayur
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

CLOUD COMPUTING

Cloud computing refers to the delivery of computing services—such as servers, storage, databases, networking,
software, and more—over the internet (the cloud). These services are provided by cloud service providers like
Amazon Web Services (AWS), Microsoft Azure, and Google Cloud, allowing individuals and businesses to access
resources on-demand, without needing to manage physical hardware or infrastructure.
[Link] of Cloud Computing:
1. On-Demand Self-Service
 Users can provision computing resources such as virtual machines, storage, or applications without human
intervention.
 Resources are available instantly, and users can scale up or down as per their needs via a web-based interface or
API.
 This feature provides agility, reducing the time spent on manual provisioning of resources.
2. Broad Network Access
 Cloud services are available over the internet and can be accessed through standard devices (laptops, desktops,
smartphones, etc.) and various platforms (Windows, Linux, Android, iOS).
 Connectivity through the web enables easy and flexible access to resources from anywhere with an internet
connection.
 Ensures support for multiple clients, devices, and networking protocols.
3. Resource Pooling
 Cloud providers pool their resources (compute, storage, and network) to serve multiple users, utilizing a multi-
tenant model.
 Physical and virtual resources are dynamically allocated or reassigned based on user demand.
 Users may not know the exact location of their resources, but they have control over the region (location
transparency).
 Optimizes resource utilization, leading to cost efficiency for both providers and consumers.
4. Rapid Elasticity
 Cloud computing allows resources to be scaled up or down quickly and dynamically, depending on user demands.
 Users perceive that resources are infinite and can be increased as needed (horizontal or vertical scaling).
 This elasticity provides cost efficiency, as users pay only for what they use and are not limited by fixed
infrastructure.
 Ideal for businesses with fluctuating workloads or seasonal traffic peaks.
5. Measured Service (Pay-as-You-Go)
 Cloud systems automatically control and optimize resource use by tracking and monitoring resource allocation in
real-time.
 Users are billed only for what they consume (compute hours, storage, bandwidth, etc.), following the "utility"
pricing model.
 Provides transparency and control over resource usage, enabling cost management and avoiding over-
provisioning.
 This billing model is highly beneficial for startups and businesses with dynamic or uncertain demand.
6. Scalability
 Cloud platforms support both vertical and horizontal scaling:
 Vertical Scaling: Increasing the resource capacity of existing machines (e.g., upgrading CPU or memory).
 Horizontal Scaling: Adding more machines (nodes) to distribute the workload.
 Ensures that as business demands grow, the infrastructure can seamlessly scale to accommodate growth without
system downtime or disruptions.
7. High Availability and Reliability
 sCloud providers offer Service Level Agreements (SLAs) that guarantee a certain level of uptime, usually 99.9%
or higher.
 Fault tolerance and redundancy are built into cloud infrastructure, ensuring that applications are highly available
even in the event of hardware failure or network outages.
 Many providers offer geo-redundancy, automatically replicating data across different regions for disaster recovery
purposes.
8. Security
 Cloud providers employ strong security measures including encryption (data at rest and in transit), identity and
access management (IAM), multi-factor authentication (MFA), and regular security audits.
 Compliance with various industry standards like GDPR, HIPAA, and ISO ensures that sensitive data is protected.
 While security is a shared responsibility, cloud providers typically handle the physical infrastructure security,
while users manage access controls and data security.
9. Multi-Tenancy
 Multiple customers (tenants) share the same physical infrastructure and resources, but each tenant’s data and
operations are isolated from others.
 Multi-tenancy improves hardware utilization and cost-efficiency.
 Providers ensure that even though tenants share the infrastructure, their data and activities are kept private and
secure.
10. Automation
 Cloud platforms leverage automation tools to manage and provision resources dynamically, without manual
intervention.
 Automation allows for self-healing (automatically restarting failed services), automatic backups, updates, and
patching.
 Users can automate workflows, scaling, and resource management through APIs or platform-provided
orchestration tools.
11. Global Reach
 Cloud providers offer data centers in multiple geographic regions, allowing users to deploy applications and store
data closer to their end users.
 This ensures low-latency access, improved performance, and adherence to data residency laws or compliance
requirements.
 Businesses can expand their global presence easily without the need to set up physical data centers in different
countries.
12. Interoperability and API Access
 Cloud platforms provide APIs that allow users to integrate cloud services with existing on-premise applications or
other cloud services.
 This interoperability enables businesses to run hybrid cloud environments or create cross-cloud systems.
 APIs also provide programmability and automation for managing resources, performing tasks, and building
custom solutions.
13. Managed Services and Platforms
 Beyond infrastructure, cloud providers also offer managed services, platforms (PaaS), and software (SaaS)
solutions.
 Users can leverage managed databases, machine learning tools, IoT platforms, and other specialized services
without worrying about the underlying infrastructure.
 This increases efficiency, as businesses can focus on application development rather than infrastructure
management.

2. Types of Cloud Services


1. Infrastructure as a Service (IaaS)
Description: Provides virtualized computing resources over the internet, including servers, storage, and networking.
Users manage the infrastructure while the cloud provider manages the physical hardware.
Key Features:Full control over the virtualized infrastructure (compute, storage, and networking).Scalable and
flexible, allowing businesses to rent infrastructure based on [Link] are responsible for managing operating
systems, applications, and middleware.
Examples: Amazon Web Services (AWS EC2), Microsoft Azure Virtual Machines, Google Compute Engine (GCE).

2. Platform as a Service (PaaS)


Description: Provides a platform that includes hardware, an operating environment, and development tools for
building and running applications without managing the underlying infrastructure.
Key Features:Supports application development, testing, and [Link] cloud provider manages infrastructure,
operating systems, and [Link] focus on writing and running [Link] development by
providing pre-configured development environments.
Examples: Google App Engine, Microsoft Azure App Service, Heroku.
3. Software as a Service (SaaS)
Description: Delivers fully functional applications over the internet, which users can access through a web browser
without managing the underlying infrastructure or platform.
Key Features:
End-to-end software solutions are delivered and maintained by the [Link] interact with the application,while
the provider manages everything from infrastructure to application [Link] follows a subscription-based pricing
[Link] need for installation or maintenance on user devices.
Examples: Google Workspace (Gmail, Docs), Microsoft 365, Salesforce, Dropbox.

IaaS (Infrastructure as a PaaS (Platform as a


Aspect SaaS (Software as a Service)
Service) Service)
Provides virtualized Provides a platform for
Delivers fully functional
computing resources like developers to build,
Definition software applications over the
servers, storage, and deploy, and manage
internet.
networking. applications.
Managing operating
Developing, deploying, Using the software and
User systems, applications,
and managing managing configurations and
Responsibility middleware, runtime, and
applications. data.
data.
Managing physical Managing infrastructure,
Managing everything, including
Provider infrastructure, servers, operating systems,
infrastructure, platform, and the
Responsibility networking, and middleware, and runtime
software application itself.
virtualization. environments.

Limited control; focuses


Full control over Very limited control; users only
on applications, while the
Control infrastructure (compute, control application usage and
platform and infrastructure
storage, networking). settings.
are managed.

Medium; users can


High; users can configure
customize the applications Low; predefined software with
Customization the infrastructure and
but not the underlying limited customization options.
environment as needed.
platform.

Scalable environment;
Highly scalable; users can Scales easily; users can add or
applications scale
Scalability adjust infrastructure remove users/licenses based on
automatically based on
resources as needed. business needs.
demand.
Pay for what you use Pay for the platform and
Subscription-based pricing,
Cost (compute, storage, tools required for
often per user or per feature.
bandwidth). application development.

Requires time to configure Faster setup compared to


Instant access; ready-to-use
Setup Time and set up the infrastructure IaaS; focus on application
software.
and OS. development.

Moderate; users only


High; users need to manage Low; everything is managed by
Management manage applications and
OS updates, patches, the provider, including updates
Complexity data, while providers
security, etc. and security.
manage the platform.
Google App Engine,
AWS EC2, Microsoft Azure Google Workspace, Microsoft
Microsoft Azure App
Examples Virtual Machines, Google 365, Salesforce, Dropbox,
Service, Heroku, AWS
Compute Engine. Zoom.
Elastic Beanstalk.

Businesses needing custom Developers building apps, General business users, non-
Typical Users infrastructure or complex startups focusing on app technical users, small to large
setups, IT teams. development. organizations.

Data storage, virtual


Application development
machines, network Email, CRM, ERP, productivity
Use Cases and deployment, testing
management, disaster tools, collaboration software.
environments, APIs.
recovery.

Users must handle software Provider manages the


Provider handles everything;
Maintenance updates, security patches, platform updates, security,
users just use the application.
and data backups. and scaling.

Shared responsibility:
Provider secures platform Provider manages all security
Security provider secures
and infrastructure, users aspects; users manage data
Responsibility infrastructure, users secure
secure applications. access policies.
apps.

[Link] vs Private Cloud


Aspect Public Cloud Private Cloud
A cloud infrastructure that is shared
A cloud infrastructure that is dedicated to a
among multiple organizations or users,
single organization, either hosted on-premises
Definition managed by third-party cloud providers,
or by a third-party, and accessed privately by
and available to the general public over
that organization.
the internet.
Owned, managed, and maintained by Owned and managed by the organization
Ownership cloud service providers (e.g., AWS, itself or by a third-party service provider, but
Microsoft Azure, Google Cloud). exclusively used by one organization.
Accessible only by authorized personnel
Infrastructure Accessible over the internet by the general
within the organization, typically through
Access public or specific users/subscribers.
private networks or dedicated connections.
Pay-as-you-go model based on usage, with Higher upfront and operational costs, as it
no upfront infrastructure costs. Costs are requires dedicated hardware and software
Cost Structure
shared across multiple tenants (multi- infrastructure. Costs are not shared but are
tenant model). absorbed by the organization.
Hosted in a provider's data centers and
Hosted on-premises (within the organization’s
shared among multiple organizations.
Deployment data center) or at a dedicated third-party
Examples: AWS, Microsoft Azure, Google
facility, exclusively for a single organization.
Cloud.
Scalability is more limited compared to public
Highly scalable due to the large
cloud because resources are often constrained
infrastructure provided by third-party
Scalability by the organization’s own infrastructure
vendors. Can scale resources almost
capacity. However, scalability is possible
instantly based on demand.
through additional hardware investments.
Security measures (e.g., encryption, Higher security and control, since the
identity management) are provided by the infrastructure is dedicated to a single
Security cloud service provider. However, data is organization. Organizations can implement
stored in a shared environment, which their own security policies and control data
may raise concerns for sensitive data. privacy.
Privacy Lower level of privacy due to shared Higher privacy because it is used exclusively by
infrastructure with other users, even
though security mechanisms like data one organization, giving more control over
encryption and identity management are who accesses the data and how it is managed.
in place.
Full customization is possible, as the
Limited customization options, as users are organization has control over the
Customization confined to the services and configurations infrastructure and software stack. This allows
provided by the cloud service provider. for a tailored environment to meet specific
business needs.
Managed by the organization or a third-party
Managed by the cloud service provider
provider. The organization is responsible for
Management (including infrastructure, updates, and
maintaining the hardware, software, and
Responsibility security), reducing the need for in-house IT
network infrastructure, including security and
management.
compliance.
Performance may vary due to multi- Generally better and more consistent
tenancy, where resources are shared with performance because the infrastructure is
Performance
other users, leading to potential resource dedicated solely to the organization. No
contention. resource sharing occurs.
May face challenges in meeting strict
regulatory compliance requirements,
Easier to meet strict compliance and
especially for industries with strict data
Compliance and regulatory requirements (e.g., GDPR, HIPAA)
governance laws (e.g., healthcare,
Regulations because organizations have full control over
finance). Some providers offer specialized
data residency, security, and access policies.
compliance services, but control is more
limited.
- Startups and small to medium-sized
- Large enterprises with stringent security,
businesses (SMBs) looking for cost-
privacy, and compliance requirements.
effective, scalable solutions.
- Businesses with mission-critical workloads
Use Case Scenarios
- Development and testing environments. or sensitive data that must be closely
monitored.
- Businesses with unpredictable or variable - Organizations with predictable workloads
workloads. and the need for consistent performance.
- Amazon Web Services (AWS) - Hosted VMware private cloud
- Microsoft Azure - OpenStack Private Cloud
Examples
- Google Cloud Platform - Microsoft Azure Stack (private cloud)
- IBM Cloud - AWS Outposts (on-prem private cloud)
Can be integrated with on-premises or
Often used in a hybrid cloud setup with public
private cloud environments to form a
Hybrid Cloud clouds for less sensitive workloads, allowing
hybrid cloud, allowing businesses to use
Integration flexibility and cost savings where security is
both public and private clouds for different
less of a concern.
needs.
Disaster recovery and backup solutions are The organization must implement its own
Disaster Recovery often provided by the cloud service disaster recovery and backup solutions, or
and Backup provider, with flexible and quick failover work with a third-party vendor to manage
capabilities across regions. these, which can be more complex and costly.

4. Virtualization
Definition:
Virtualization is the process of creating a virtual version of physical resources (servers, storage, networks, etc.),
allowing multiple virtual environments to run on a single physical machine.

Key Concepts:
1. Virtual Machine (VM):
 A software-based emulation of a physical computer.
 Each VM runs its own OS and applications, independent of others, but shares the same physical hardware.
2. Hypervisor:
 Software that manages and runs VMs by abstracting physical hardware.
 Types:
 Type 1 (Bare-Metal): Directly installed on hardware (e.g., VMware ESXi, Hyper-V).
 Type 2 (Hosted): Runs on an OS (e.g., VMware Workstation, VirtualBox).
3. Host Machine:The physical machine that provides resources (CPU, memory, storage) for VMs.
4. Guest Machine:The virtual machine running on the host machine, with its own OS and applications.

Types of Virtualization:
1. Server Virtualization:
 Multiple VMs on one physical server.
 Examples: VMware vSphere, Microsoft Hyper-V.
2. Desktop Virtualization:
 Virtual desktops that can be accessed remotely.
 Examples: VMware Horizon, Citrix Virtual Apps.
3. Application Virtualization:
 Applications run in isolated virtual environments.
 Examples: Microsoft App-V, Citrix XenApp.
4. Storage Virtualization:
 Combines multiple storage devices into a virtual storage pool.
 Examples: VMware vSAN, NetApp.
5. Network Virtualization:
 Creates virtual networks on shared physical infrastructure.
 Examples: VMware NSX, Cisco ACI.
6. Data Virtualization:
 Provides a unified view of data from multiple sources without physical consolidation.
Benefits of Virtualization:
1. Resource Optimization:
 Maximizes the use of physical resources by running multiple virtual environments on a single machine.
2. Cost Efficiency:
 Reduces the need for physical hardware, cutting down on infrastructure and operational costs.
3. Scalability:
 Easily scales resources by adding or removing VMs based on demand.
4. Isolation & Security:
 Each VM is isolated, ensuring that issues in one VM don’t affect others.
5. Disaster Recovery:
 VMs can be easily backed up, cloned, or moved, simplifying disaster recovery.
6. Test & Development:
 Virtual environments allow for safe and flexible testing and development without affecting production
systems.

Challenges of Virtualization:
1. Complex Management:
 Managing many VMs and virtual environments requires advanced tools and expertise.
2. Performance Overhead:
 VMs may not perform as efficiently as physical machines due to shared resources.
3. Security Risks:
 Hypervisor vulnerabilities can expose virtual environments to threats (e.g., VM escape attacks).
4. Licensing Costs:
 While reducing hardware costs, hypervisor and virtualization software can be expensive.
5. Resource Contention:
 Multiple VMs sharing the same physical hardware can lead to performance degradation if not managed
properly.

5. Distributed Parallel vs Cloud Computing


Aspect Distributed Parallel Computing Cloud Computing
Divides tasks among multiple computers to Provides computing resources (like servers
Definition
work together on complex problems. and storage) over the internet.
Uses a network of connected computers to Utilizes shared resources managed by a cloud
Architecture
solve problems together. service provider.
Resource Requires local management to distribute Automatically manages resources for users via
Management tasks among computers. the cloud provider.
Limited; adding more computers can be Highly scalable; resources can be added or
Scalability
complex. removed as needed.
Best for scientific simulations and tasks Ideal for hosting websites, applications, and
Use Case
needing fast calculations. storing data.
Often involves high upfront costs for Typically pay-as-you-go, reducing upfront
Cost Structure
hardware and setup. costs and allowing flexible spending.
Data is often stored locally on the network Data is stored in the cloud with built-in backup
Data Management
of computers. and redundancy.
Requires careful planning to handle Offers built-in solutions for automatic
Fault Tolerance
computer failures. recovery and data protection.
Depends on local network setups; may Provides standard security protocols and
Security
require more security measures. compliance from cloud providers.
Users have more control over hardware Users have less control over the infrastructure
User Control
but need expertise to manage it. but can easily configure services.
Projects like SETI@home and Services like AWS, Microsoft Azure, and
Examples
Folding@home. Google Cloud.

[Link]
Definition:
Containerization is a lightweight form of virtualization that encapsulates an application and its dependencies into a
single container. Containers are portable and can run consistently across different computing environments, making
them ideal for modern software development and deployment.

Key Concepts:
1. Container:
 A standard unit of software that packages the application code together with its libraries, dependencies, and
configuration files.
 Containers share the host operating system's kernel but run in isolated user spaces.
2. Container Runtime:
 The software responsible for running and managing containers. It provides the necessary environment for
containers to execute.
 Examples include Docker, containerd, and CRI-O.
3. Container Orchestration:
 Tools that manage the deployment, scaling, and operation of containerized applications.
 Examples include Kubernetes, Docker Swarm, and Apache Mesos.
4. Docker:
 The most popular platform for developing, shipping, and running containers. It provides tools to create,
manage, and distribute containers easily.
5. Image:
 A read-only template used to create containers. It includes the application code and all dependencies required
to run the application.
 Images are built from a set of instructions written in a Dockerfile.
6. Registry:
 A repository for storing and sharing container images. Public registries (like Docker Hub) and private
registries (like AWS ECR) are used to host images.

Benefits of Containerization:
1. Portability:
 Containers can run consistently on any environment that supports the container runtime, making it easier to
develop and deploy applications across different systems.
2. Isolation:
 Each container operates in its own environment, allowing different applications to run without interference
and reducing dependency conflicts.
3. Resource Efficiency:
 Containers share the host OS kernel and are lightweight compared to traditional virtual machines, leading to
faster startup times and lower overhead.
4. Scalability:
 Containers can be easily scaled up or down based on demand. Orchestration tools can automatically manage
the scaling of containerized applications.
5. Faster Deployment:
 Developers can quickly build, test, and deploy applications in containers, accelerating the software
development lifecycle.
6. Version Control:
 Container images can be versioned, allowing for easy rollbacks and consistent deployment of applications
across different environments.

Challenges of Containerization:
1. Complexity:
 Managing and orchestrating multiple containers can become complex, especially in large-scale applications.
2. Security:
 Containers share the host OS kernel, which can pose security risks if not properly managed. Isolating
containerized applications and managing permissions is crucial.
3. Networking:
 Configuring networking between containers and external services can be challenging, requiring careful setup.
4. Data Management:
 Persistent data storage in containerized applications can be complex, as containers are ephemeral by nature.
5. Monitoring and Logging:
 Monitoring the performance and logs of containerized applications requires additional tools and strategies.

Popular Containerization Tools:


1. Docker:
 The leading platform for creating, managing, and running containers.
2. Kubernetes:
 An open-source container orchestration platform for automating deployment, scaling, and management of
containerized applications.
3. OpenShift:
 A Kubernetes-based container platform that provides additional features for development, deployment, and
scaling of applications.
4. Amazon ECS (Elastic Container Service):
 A fully managed container orchestration service that makes it easy to run and scale containerized applications
on AWS.
5. Rancher:
 An open-source platform for managing Kubernetes clusters, providing an easy-to-use interface for deploying
and managing containerized applications.
Containerization vs. Traditional Virtualization:

Aspect Containerization Traditional Virtualization


Isolates applications in user space; shares Full isolation of operating systems; separate
Isolation Level
OS kernel. kernel per VM.
Lightweight; containers share OS
Resource Efficiency More overhead; each VM includes a full OS.
resources.
Startup Time Fast (seconds) due to shared kernel. Slower (minutes) as each VM boots its OS.
Less portable due to dependency on the
Portability Highly portable across environments.
hypervisor.
Management Requires orchestration for managing More complex due to VM management and
Complexity multiple containers. configurations.
Microservices, DevOps, continuous Legacy applications, system isolation, multi-OS
Use Cases
deployment. environments.

You might also like