Knowledge / Information Technology / Cloud platforms: AWS, Azure and Google Cloud

Cloud platforms: AWS, Azure and Google Cloud

Information Technology (B.E./B.Tech) · Infrastructure and operations · free study notes for exams, placements and interviews

In short

AWS (Amazon Web Services), Microsoft Azure and Google Cloud Platform (GCP) are the three largest public cloud providers; each rents compute, storage, networking, databases and managed platform services on a pay-per-use basis through a console, CLI, SDK and API. Learning them means learning a common pattern — regions and availability zones, virtual machines, object storage, managed databases, identity and access management, virtual networks, autoscaling and billing — and then the three vendors' different names for the same thing. Indian university syllabi (AICTE "Cloud Computing" electives, UGC CBCS BCA/B.Sc. IT papers) examine service classification, architecture and comparison; GATE CS touches it only lightly through virtualisation and distributed systems, so marks come mostly from descriptive and lab work. Every large Indian IT services employer (TCS, Infosys, Wipro, HCLTech, Accenture, Cognizant, Capgemini, LTIMindtree, Tech Mahindra) screens freshers on cloud fundamentals and funds AWS/Azure/GCP associate certifications, and product companies and startups (Flipkart, Zomato, Zerodha, PhonePe, Razorpay, Ola) hire directly on it. Indian government and BFSI work adds MeitY empanelment, RBI/IRDAI data-localisation and the DPDP Act, 2023 to the technical picture.

Explained

The three providers and how they are structured

Service model and the shared responsibility model

Service-by-service mapping (the core of most exam answers)

Designing on a cloud platform: a worked architecture pattern

  1. Choose region by latency to users, price, service availability and data-residency law — for Indian users, Mumbai or Hyderabad/Delhi/Pune.
  2. Create the network: one VPC/VNet; public subnets (load balancer, NAT) and private subnets (app, database) spread across at least two AZs.
  3. Put compute behind a load balancer in an autoscaling group / VM Scale Set / Managed Instance Group with health checks; target-tracking policy, e.g. keep average CPU at 60%.
  4. Use a managed database with multi-AZ standby and automated backups rather than a self-run database on a VM; keep it in private subnets.
  5. Store static assets in object storage behind the CDN; never serve images from the application server.
  6. Identity: no long-lived keys on instances — attach a role/managed identity; apply least privilege and MFA on the root/global-admin account, which should otherwise be unused.
  7. Observability and cost control: metrics, centralised logs, alarms, resource tags (project, owner, environment) for cost allocation, and a budget alert.
  8. Resilience targets: define RPO (acceptable data loss) and RTO (acceptable downtime), then pick a DR pattern: backup-and-restore (cheapest, hours), pilot light, warm standby, or active-active multi-region (costliest, near zero).
  9. Automate the whole thing in Terraform so the environment is reproducible, and deploy through CI/CD.

Pricing, SLAs and cost control

Indian regulation, standards and certification

Key points

Formulas and examples

Monthly compute cost = (hourly rate ₹/hr or $/hr) × (hours per month) × (number of instances); take 1 month ≈ 730 hours
Object storage cost = (GB stored × ₹ per GB-month) + (GB egress × ₹ per GB) + (requests ÷ 1,000 or 1,000,000 × rate)
Serverless cost = (invocations × per-invocation rate) + (GB-seconds × per-GB-second rate), where GB-seconds = memory in GB × duration in s × invocations
Reserved/committed saving % = (On-demand cost − Commitment cost) ÷ On-demand cost × 100
Availability of n independent components in parallel = 1 − (1 − a)n ; in series (all must work) = a₁ × a₂ × … × aₙ
Allowed downtime per year = (1 − availability) × 8,760 hours ; per 30-day month = (1 − availability) × 720 hours
Instances needed = ceil(peak requests per second ÷ requests per second per instance), then add one for N+1 redundancy
TCO comparison = Σ(cloud monthly charges × months) vs (capex + hosting + power + bandwidth + admin salary + refresh cost) over the same period

Example 1 — Compute cost and the effect of a commitment. An application runs 4 VMs of ₹6.00 per hour, 24×7, for a month (730 hours).

Example 2 — Object storage bill. 500 GB stored in a hot tier at ₹2.00 per GB-month, 200 GB egress at ₹7.00 per GB, 2 million GET requests at ₹30 per million.

Example 3 — Serverless vs a VM (break-even). A function uses 512 MB (0.5 GB) and runs 200 ms per call; rates: $0.20 per million requests and $0.0000166667 per GB-second. Monthly volume 5 million calls.

Example 4 — Availability arithmetic. Each VM has availability 0.99 (99%).

Example 5 — Sizing and autoscaling. Peak load 12,000 requests per second; one instance serves 800 rps safely.

CapabilityAWSAzureGoogle Cloud
Virtual machineEC2Virtual MachinesCompute Engine
Object storageS3Blob StorageCloud Storage
Block storageEBSManaged DisksPersistent Disk / Hyperdisk
Managed relational DBRDS / AuroraAzure SQL DatabaseCloud SQL / AlloyDB
NoSQLDynamoDBCosmos DBFirestore / Bigtable
Data warehouseRedshiftSynapse / FabricBigQuery
Managed KubernetesEKSAKSGKE
Serverless functionsLambdaAzure FunctionsCloud Run functions / Cloud Run
Virtual networkVPCVirtual Network (VNet)VPC network
Private link to on-premDirect ConnectExpressRouteCloud Interconnect
IdentityIAMEntra ID + RBACCloud IAM
Monitoring / logsCloudWatch / CloudTrailAzure Monitor / Log AnalyticsCloud Monitoring / Logging
Native IaCCloudFormation / CDKARM / BicepInfrastructure Manager
Secrets / keysSecrets Manager / KMSKey VaultSecret Manager / Cloud KMS
Billing boundaryAccountSubscriptionProject
Indian regionsMumbai, HyderabadPune, Chennai, Mumbai, HyderabadMumbai, Delhi NCR
DecisionPrefer AWSPrefer AzurePrefer GCP
Existing estateLinux/open source, startupsWindows, AD, SQL Server, M365Data/ML-centric, Kubernetes-first
StrengthWidest service range, largest talent pool in IndiaEnterprise agreements, hybrid (Arc), licence benefitBigQuery analytics, GKE, Vertex AI
Typical Indian hiringIT services, startups, BFSILarge enterprises, PSUs, GCCsAnalytics, adtech, ML teams

Where it is used

Interview questions

Common mistakes

Related topics

Cloud computing basics · Containers: Docker and Kubernetes · DevOps and CI/CD basics · Monitoring and site reliability engineering · Linux command line essentials · IT service management and ITIL

Open in the Knowledge reader →Find jobs →