Comprehensive Introduction to Cloud Computing and Virtualization

Introduction to Cloud Computing

  • Cloud computing delivers various computing services over the internet, fundamentally transforming how organizations access and utilize technology.
  • Instead of purchasing and maintaining physical infrastructure, businesses can rent computing resources as needed.
  • Key components include:
    • Compute power (virtual machines)
    • Data storage solutions
    • Network connectivity
    • Database management systems
  • Traditional vs. Cloud Comparison:
    • Traditional: Businesses must buy servers upfront for a cost such as LKR 1MLKR\,1M, meaning they own the hardware permanently.
    • Cloud: Businesses pay only when using resources, typically involving hourly or per-minute billing.
  • Analogy: "Cloud is like electricity—you don't own the power plant, you just pay for what you use."
  • Primary Objective: To transition from capital expenditure to a model of convenience and on-demand scalability.

Evolution of Computing

  • Cloud computing represents the latest evolution in the access and use of computing resources. It is not an entirely new technology but an evolution and integration of existing concepts into an accessible, scalable model.
  • Mainframe Computing (1960s–1980s):
    • Characterized by centralized computing with large, expensive, room-sized systems.
    • Served multiple users through terminals.
    • Example: IBM System/360.
  • Client-Server Model (1990s):
    • Distributed architecture where servers provide services to client machines on local networks.
    • Personal computers became prominent during this era.
    • Examples: Windows NT, Novell NetWare.
  • Distributed Systems (2000s):
    • Geographically dispersed computing resources working together across wide area networks (WANs).
    • Internet-based computing became more common.
    • Examples: Grid computing, Peer-to-peer (P2P) networks.
  • Cloud Computing (2010–Present):
    • Provides global, scalable, on-demand access to shared computing resources via the internet.
    • Accessible anywhere from any device.
    • Examples: Amazon Web Services (AWS), Azure, Google Cloud (GCP).

Defining Cloud Computing: Five Perspectives

  • Technical Perspective:
    • Focus: Computing resources delivered over the internet.
    • Main Benefit: On-demand scalability and flexibility.
    • Example: Virtual servers, storage, and databases accessed remotely via API.
  • Business Perspective:
    • Focus: Financial model shift from Capital Expenditure (CapEx) to Operational Expenditure (OpEx).
    • Main Benefit: Reduced upfront investment and predictable operational costs.
    • Example: Paying a monthly subscription for software instead of buying expensive licenses.
  • User Perspective:
    • Focus: Widespread and convenient access to IT services.
    • Main Benefit: Global access from any device, anytime, enhancing productivity.
    • Example: Accessing email, collaboration tools, or streaming services on a laptop or smartphone.
  • Provider Perspective:
    • Focus: Shared infrastructure and resource pooling.
    • Main Benefit: Achieving economies of scale and maximizing resource utilization for efficiency.
    • Example: Major vendors like AWS, Azure, and Google Cloud hosting services for countless clients simultaneously.
  • NIST Perspective:
    • Focus: Official, foundational standard for cloud computing.
    • Main Benefit: Provides a common industry framework.
    • Example: Definition characterized by on-demand self-service, broad network access, and rapid elasticity.

The Paradigm Shift: Traditional IT vs. Cloud Computing

  • The transition to cloud computing reshapes business operations by offering distinct advantages over traditional infrastructure.
  • Traditional IT:
    • Financial Model: High upfront Capital Expenditure (CapEx).
    • Capacity: Fixed infrastructure capacity.
    • Provisioning: Slow deployment and provisioning.
    • Ownership: On-premises ownership and management.
    • Scalability: Limited scalability.
  • Cloud Computing:
    • Financial Model: Pay-as-you-go Operational Expenditure (OpEx).
    • Capacity: Scalable, elastic capacity.
    • Provisioning: Rapid deployment (minutes or hours).
    • Ownership: Provider-managed infrastructure.
    • Scalability: Near-unlimited scalability.
  • Business Impact: This shift allows organizations to innovate faster, reduce costs, and adapt to market demands with unprecedented agility.

NIST Definition and Core Concepts

  • Official NIST Definition: "A model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction."
  • Three Core Concepts within the definition:
    • Shared Resources: Multiple users access pooled computing capacity.
    • On-Demand: Instant access without manual provisioning delays.
    • Anywhere Access: Accessible from any location with internet connectivity.

NIST Five Essential Characteristics

  • 1. On-Demand Self-Service: Users can provision computing resources automatically (such as server time or network storage) as needed without human interaction with the service provider.
    • Example: Launching an Amazon EC2 instance takes seconds with a few clicks.
  • 2. Broad Network Access: Capabilities are available over the network and accessed through standard mechanisms by heterogeneous thin/thick client platforms (mobile phones, tablets, laptops, workstations).
  • 3. Resource Pooling: The provider's computing resources are pooled to serve multiple consumers using a multi-tenant model. Physical and virtual resources are dynamically assigned and reassigned according to consumer demand. The customer generally has no control or knowledge over the exact location of resources but may specify a higher level of abstraction (e.g., country, state, or data center).
  • 4. Rapid Elasticity: Capabilities can be elastically provisioned and released to scale rapidly outward and inward. To the consumer, the available capabilities often appear unlimited and can be appropriated in any quantity at any time.
  • 5. Measured Service: Cloud systems automatically control and optimize resource use by leveraging a metering capability at some level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency.

Cloud Service Models: IaaS, PaaS, SaaS, and FaaS

  • Service models define the level of responsibility shared between the cloud provider and the customer.
  • IaaS (Infrastructure as a Service):
    • Key: Provides virtualized compute, network, and storage.
    • Customer Manages: Operating System (OS), applications, data, runtime, and middleware.
    • Provider Manages: Physical servers, virtualization, networking, and storage.
    • Characteristics: High flexibility, high management overhead, low cost predictability (variable).
    • Ideal for: Architects and system administrators seeking full infrastructure control.
    • Examples: AWS EC2, DigitalOcean Droplets.
  • PaaS (Platform as a Service):
    • Key: Provides a development platform, runtime, and database.
    • Customer Manages: Applications and data.
    • Provider Manages: OS, runtime, middleware, database, servers, and networking.
    • Characteristics: Medium flexibility, medium overhead, medium cost predictability.
    • Ideal for: Developers focusing solely on writing code.
    • Examples: Heroku, Google App Engine.
  • SaaS (Software as a Service):
    • Key: Ready-to-use applications delivered over the web.
    • Customer Manages: Data and configuration only.
    • Provider Manages: Everything from the application down to the infrastructure.
    • Characteristics: Low flexibility, very low management overhead, high cost predictability (subscription-based).
    • Ideal for: End-users and business teams needing software with no management.
    • Examples: Gmail, Salesforce, Microsoft 365.
  • FaaS (Function as a Service):
    • Key: Event-driven, serverless execution of code functions.
    • Customer Manages: Function code only.
    • Provider Manages: Everything else, which scales automatically.
    • Characteristics: Medium-high flexibility at the code level, minimal overhead, low cost predictability (per-execution billing).
    • Ideal for: Developers building microservices or event-triggered functions.

Cloud Deployment Models

  • Public Cloud:
    • Definition: Shared infrastructure served to multiple organizations.
    • Ownership: Third-party provider.
    • Access: Over the internet.
    • Security: Shared responsibility model.
    • Cost: Lower (pay-as-you-go).
    • Scalability: Virtually unlimited.
    • Best for: Web apps, startups, variable workloads.
    • Examples: AWS, Azure, GCP public regions.
  • Private Cloud:
    • Definition: Dedicated infrastructure for a single organization.
    • Ownership: Organization itself or a hosted provider.
    • Access: Private network.
    • Security: Full control by the organization.
    • Cost: Higher (CapEx + OpEx).
    • Scalability: Limited by physical infrastructure.
    • Best for: Sensitive data, regulatory compliance, legacy applications.
    • Examples: Bank data centers, corporate IT infrastructure.
  • Hybrid Cloud:
    • Definition: An integrated mix of public and private clouds allowing data portability.
    • Ownership/Access: Mixed and integrated.
    • Security/Cost: Flexible and moderate.
    • Best for: Burst capacity needs, disaster recovery, phased migration.
    • Examples: AWS Outposts, Azure Stack.
  • Multi-Cloud:
    • Definition: Utilizing multiple public cloud providers (e.g., AWS + Azure + GCP).
    • Ownership: Multiple providers.
    • Security: Provider-specific.
    • Best for: Avoiding vendor lock-in, leveraging best-of-breed services, geographic distribution.

Decision Framework for Deployment Models

  • Security & Compliance: High requirements (e.g., HIPAA, PCI-DSS, GDPR) often necessitate private or hybrid solutions.
  • Cost Considerations: Public cloud offers pay-as-you-go; private cloud involves predictable CapEx; hybrid/multi-cloud allows per-workload optimization.
  • Control & Customization: Private cloud offers full customization; public cloud offers minimal control.
  • Scalability Needs: Public and multi-cloud offer the fastest and most extensive expansion.
  • Data Sensitivity: Highly sensitive data usually stays in private clouds; non-sensitive data in public clouds.
  • Regulatory Requirements: Dictated by data residency laws and industry-specific regulations.

Major Cloud Providers and Market Share

  • AWS (Amazon Web Services):
    • Market Share: 32%32\%
    • Strengths: Broadest portfolio, deepest ecosystem, proven scale, full-stack breadth.
  • Azure (Microsoft):
    • Market Share: 23%23\%
    • Strengths: Microsoft-native integration (Teams, etc.), hybrid strength, licensing value.
  • GCP (Google Cloud Platform):
    • Market Share: 11%11\%
    • Strengths: AI/ML edge, analytics power, intelligence-focused, container-first approach.

Case Study: Netflix on AWS

  • Overview: Migration from private data centers to AWS took place between 20102010-20162016.
  • Massive Scale: Handles billions of hours of video streaming monthly across 190+190+ countries.
  • Technical Implementation:
    • Microservices architecture consisting of thousands of services.
    • Chaos Monkey: A tool used for resilience testing by purposely disabling services to ensure the system survives.
    • Continuous deployment of code changes.
  • Cloud Features Utilized:
    • Auto Scaling: Dynamically scales from thousands to millions of servers based on viewer demand.
    • Global Delivery: Uses Content Delivery Networks (CDN) and edge locations for minimal latency worldwide.
  • Business Impact:
    • Significantly reduced infrastructure costs.
    • Enabled rapid global expansion.
    • Improved reliability, uptime, and faster time-to-market for new features.

Questions & Discussion

  • Discussion Question: Why would a bank avoid using public cloud for core banking systems?
    • Considerations include security, compliance with stringent financial regulations, and the need for full control over sensitive data.
  • Self-Check Questions:
    • What is meant by "rapid elasticity" in cloud computing?
    • How does SaaS differ from IaaS in terms of management responsibility?
    • Why might an organization choose a hybrid cloud deployment?