Description:

Vertical scaling vs horizontal scaling:

  • Scale up vs scale out
  • Bigger machine vs more machines

Public vs Private Cloud

FactorsPublic CloudPrivate cloud
ResourcesResources are shared among multiple customersResources are shared with a single organization
TenancyData of multiple organizations is stored in the public cloud
Pay ModelPay what you usedHave a variety of pricing models
Operated byThird-party service providerSpecific  organization
Scalability and FlexibilityIt has more scalability and flexibility
Expensiveless expensiveMore expensive
AvailabilityThe general public (over the internet)

Cloud computing categories:

  • Comparision:
TraditionalIaaSCaaSPaaSFaaSSaaS
Data & config
Application code🛑
Scaling🛑🛑
Runtime🛑🛑🛑
OS🛑🛑🛑🛑
Virtualization🛑🛑🛑🛑🛑
Hardware🛑🛑🛑🛑🛑
Amazon Web ServiceMicrosoft AzureGCP
ComputeAmazon EC2, Amazon ECS, AWS LambdaAzure Virtual Machines, Azure Container Instances, Azure FunctionsCompute Engine, Kubernetes Engine, Cloud Functions
StorageAmazon S3, Amazon EBS, Amazon EFSAzure Blob Storage, Azure Disks, Azure FilesCloud Storage, Cloud Bigtable, Cloud Filestore
DatabasesAmazon RDS, Amazon DynamoDB, Amazon AuroraAzure SQL Database, Azure Cosmos DB, Azure PostgreSQLCloud SQL, Cloud Spanner, Cloud Firestore
NetworkingAmazon VPC, Amazon Route 53, AWS Transit GatewayAzure Virtual Network, Azure DNS, Azure ExpressRouteCloud Networking, Cloud DNS, Cloud VPN
Machine Learning & AIAmazon SageMaker, Amazon Rekognition, Amazon ComprehendAzure Machine Learning, Azure Cognitive Services, Azure DatabricksAI Platform, Vertex AI, Cloud AutoML
Serverless ComputingAWS Lambda, Amazon API Gateway, AWS Step FunctionsAzure Functions, Azure Logic Apps, Azure Durable FunctionsCloud Functions, Cloud Run, Cloud Workflows
ContainersAmazon ECS, Elastic Container Service for Kubernetes (EKS)Azure Container Instances (ACI), Azure Kubernetes Service (AKS)Kubernetes Engine (GKE), Cloud Run
Identity & Access Management (IAM)AWS IAM, Amazon CognitoAzure Entra ID, Policies, RBAC (allows for more specific conditions like VM location)Cloud IAM, Google Cloud Identity
WebappApp ServiceAppEngine

Ansible vs Terraform