Challenges of On-Premise Systems
- Infrastructure Costs
Example: A company spends ₹10L on servers, ₹2L on cooling equipment, and additional space costs. - Maintenance Activities
Example: Regularly updating software like Oracle DB and fixing issues. - Dedicated IT Team
Example: Hiring a team of 5 engineers to maintain servers, adding to expenses. - 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
- CapEx: High initial setup costs.
Example: ₹20L spent to buy servers. - OpEx: Pay-as-you-go.
Example: ₹10,000 monthly for Azure Virtual Machines.
Cloud Characteristics
- Agility
Example: Launching a VM in 5 minutes using Azure. - Scalability
- Vertical: Adding 8GB RAM to an existing VM.
- Horizontal: Adding 5 more VMs to handle traffic.
- Elasticity
Example: Automatically scaling VMs during a sale on your website. - Fault Tolerance
Example: Azure SQL database auto-replicates to another data center if one fails. - Disaster Recovery
Example: Secondary data center becomes active when a natural disaster hits the primary. - High Availability
Example: Azure VM uptime is 99.9%, minimizing downtime.
Cloud Service Models
- IaaS: Virtual machines for full control.
Example: Deploying Windows Server 2019 on Azure VM. - PaaS: Pre-built platforms for apps.
Example: Azure App Service for hosting websites. - SaaS: Ready-to-use apps.
Example: Office 365 for email and document editing.
Cloud Deployment Models
- Public Cloud
Example: Using Azure for storing non-confidential marketing data. - Private Cloud
Example: Hosting a bank's sensitive data on its own cloud infrastructure. - Hybrid Cloud
Example: Using public cloud for general data and private cloud for secure financial data.
Azure Free Account Setup
- Create Outlook Account → Sign up at Azure → Provide credit card for verification.
Example: Access Azure portal with ₹13,300 free credits.
Azure Key Concepts
- 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. - 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
- Availability Zone
Example: Deploying 3 VMs in different data centers to handle failures. - Availability Set
Example: Deploying 3 VMs in one data center across multiple racks to avoid hardware failure.
Azure Virtual Machines
- Use Case:
Example: Migrating a legacy system to Azure VMs for better control. - 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!