Cloud Fundamental

Challenges of On-Premise Systems

  1. Infrastructure Costs
    Example: A company spends ₹10L on servers, ₹2L on cooling equipment, and additional space costs.
  2. Maintenance Activities
    Example: Regularly updating software like Oracle DB and fixing issues.
  3. Dedicated IT Team
    Example: Hiring a team of 5 engineers to maintain servers, adding to expenses.
  4. Scaling Limitations
    Example: Adding 10 servers for high demand, but underutilized when demand reduces.

Cloud Services

  • Definition: On-demand services like storage, servers, networking via the internet.
    Example: Using Azure SQL DB without managing hardware.

CapEx vs. OpEx

  1. CapEx: High initial setup costs.
    Example: ₹20L spent to buy servers.
  2. OpEx: Pay-as-you-go.
    Example: ₹10,000 monthly for Azure Virtual Machines.

Cloud Characteristics

  1. Agility
    Example: Launching a VM in 5 minutes using Azure.
  2. Scalability
    • Vertical: Adding 8GB RAM to an existing VM.
    • Horizontal: Adding 5 more VMs to handle traffic.
  3. Elasticity
    Example: Automatically scaling VMs during a sale on your website.
  4. Fault Tolerance
    Example: Azure SQL database auto-replicates to another data center if one fails.
  5. Disaster Recovery
    Example: Secondary data center becomes active when a natural disaster hits the primary.
  6. High Availability
    Example: Azure VM uptime is 99.9%, minimizing downtime.

Cloud Service Models

  1. IaaS: Virtual machines for full control.
    Example: Deploying Windows Server 2019 on Azure VM.
  2. PaaS: Pre-built platforms for apps.
    Example: Azure App Service for hosting websites.
  3. SaaS: Ready-to-use apps.
    Example: Office 365 for email and document editing.

Cloud Deployment Models

  1. Public Cloud
    Example: Using Azure for storing non-confidential marketing data.
  2. Private Cloud
    Example: Hosting a bank's sensitive data on its own cloud infrastructure.
  3. Hybrid Cloud
    Example: Using public cloud for general data and private cloud for secure financial data.

Azure Free Account Setup

  1. Create Outlook Account → Sign up at Azure → Provide credit card for verification.
    Example: Access Azure portal with ₹13,300 free credits.

Azure Key Concepts

  1. Resource Group
    Logical grouping of resources like VMs and databases.
    Example: Grouping a VM and Azure SQL DB under one resource group for a project.
  2. Global Infrastructure
    Region: East US → Location of resources.
    Availability Zone: Distributes resources across data centers.
    Example: Ensuring app availability by deploying VMs across zones.

Availability Zones vs. Sets

  1. Availability Zone
    Example: Deploying 3 VMs in different data centers to handle failures.
  2. Availability Set
    Example: Deploying 3 VMs in one data center across multiple racks to avoid hardware failure.

Azure Virtual Machines

  1. Use Case:
    Example: Migrating a legacy system to Azure VMs for better control.
  2. VM Scale Set
    Example: Deploying 10 identical VMs automatically to handle traffic spikes.

Let me know if you'd like detailed code snippets or further examples for any specific point!

Akash

I am working as a Data Engineer

Post a Comment

Previous Post Next Post