Cloud Computing Cheat Sheet

Cloud Service Models

ModelDescriptionExamplesCustomer Responsibilities
Infrastructure as a Service (IaaS)Virtualized computing resources over the internetAWS EC2, Microsoft Azure VMs, Google Compute EngineApplications, runtime, middleware, data, OS
Platform as a Service (PaaS)Platform allowing customers to develop, run, and manage applicationsGoogle App Engine, Microsoft Azure App Service, HerokuApplications, data
Software as a Service (SaaS)Software applications delivered over the internetGoogle Workspace, Microsoft Office 365, SalesforceData, user configuration

Cloud Deployment Models

ModelDescriptionAdvantagesDisadvantages
Public CloudServices offered over the public internetCost-effective, scalable, no maintenanceLess control, security concerns
Private CloudCloud services used exclusively by one organizationGreater control, security, customizationHigher cost, requires maintenance
Hybrid CloudCombination of public and private cloudsFlexibility, optimization, complianceComplexity, integration challenges
Community CloudShared infrastructure for organizations with common concernsShared costs, similar requirementsLimited to specific communities

Major Cloud Providers

ProviderKey ServicesStrengthsMarket Share
AWS (Amazon Web Services)EC2, S3, Lambda, RDS, CloudFormationMarket leader, extensive services, global reach~32%
Microsoft AzureVMs, Storage, Functions, SQL Database, Resource ManagerEnterprise integration, hybrid solutions, Microsoft ecosystem~20%
Google Cloud PlatformCompute Engine, Cloud Storage, BigQuery, Cloud FunctionsBig data, machine learning, open source~10%
IBM CloudCloud Foundry, Kubernetes, Watson, BlockchainEnterprise solutions, AI, consulting services~5%
Oracle CloudDatabase Cloud, Application Cloud, Infrastructure CloudDatabase solutions, enterprise applications~2%

Cloud Computing Characteristics

CharacteristicDescriptionBenefits
On-demand self-serviceUsers can provision resources without human interactionConvenience, automation, faster deployment
Broad network accessResources available over the network via standard mechanismsAccessibility, mobility, flexibility
Resource poolingResources are pooled to serve multiple consumersEfficiency, cost savings, scalability
Rapid elasticityResources can be rapidly provisioned and releasedScalability, cost optimization, agility
Measured serviceResource usage is monitored, controlled, and reportedTransparency, optimization, pay-per-use

Cloud Storage Services

ServiceProviderTypeUse Cases
S3 (Simple Storage Service)AWSObject StorageBackup, archive, content distribution
S3 GlacierAWSArchive StorageLong-term backup, compliance
Amazon EBSAWSBlock StorageDatabase storage, VM boot volumes
Amazon EFSAWSFile StorageShared file systems, content management
Azure Blob StorageMicrosoft AzureObject StorageUnstructured data, media content
Azure FilesMicrosoft AzureFile StorageShared file access, lift and shift
Google Cloud StorageGoogle CloudObject StorageBackup, content serving, analytics
Google Persistent DiskGoogle CloudBlock StorageVM storage, database storage

Cloud Compute Services

ServiceProviderTypeCharacteristics
EC2AWSVirtual MachinesScalable, variety of instance types
LambdaAWSServerless FunctionsEvent-driven, no server management
ECS/EKSAWSContainer ServicesDocker container orchestration
Azure VMsMicrosoft AzureVirtual MachinesWindows/Linux VMs, hybrid integration
Azure FunctionsMicrosoft AzureServerless FunctionsEvent-driven, multiple language support
Azure Kubernetes ServiceMicrosoft AzureContainer OrchestrationManaged Kubernetes service
Google Compute EngineGoogle CloudVirtual MachinesHigh-performance computing, custom machines
Google Cloud FunctionsGoogle CloudServerless FunctionsLightweight, event-driven functions
Google Kubernetes EngineGoogle CloudContainer OrchestrationManaged Kubernetes environment

Cloud Database Services

ServiceProviderTypeFeatures
RDSAWSRelational DatabaseMySQL, PostgreSQL, Oracle, SQL Server
DynamoDBAWSNoSQL DatabaseKey-value, document, serverless
RedshiftAWSData WarehouseAnalytics, columnar storage
DocumentDBAWSDocument DatabaseMongoDB-compatible
Azure SQL DatabaseMicrosoft AzureRelational DatabaseManaged SQL Server
Azure Cosmos DBMicrosoft AzureGlobal NoSQLMulti-model, globally distributed
Google Cloud SQLGoogle CloudRelational DatabaseMySQL, PostgreSQL, SQL Server
Google BigQueryGoogle CloudData WarehouseServerless, analytics, machine learning

Cloud Security Services

ServiceProviderFunctionUse Case
AWS IAMAWSIdentity and Access ManagementUser authentication, permission control
AWS KMSAWSKey Management ServiceEncryption key management
AWS CloudTrailAWSAudit and LoggingAPI call tracking, compliance
Azure Active DirectoryMicrosoft AzureIdentity ManagementSingle sign-on, multi-factor authentication
Azure Security CenterMicrosoft AzureSecurity ManagementThreat detection, security policies
Google Cloud IAMGoogle CloudIdentity and Access ManagementResource access control
Google Cloud Security Command CenterGoogle CloudSecurity and Risk ManagementSecurity posture management

Cloud Networking Services

ServiceProviderFunctionBenefits
VPC (Virtual Private Cloud)AWSVirtual NetworkIsolated network environment
Virtual NetworkAzureVirtual NetworkConnectivity to Azure resources
Virtual Private CloudGoogle CloudVirtual NetworkGlobal, scalable networking
CloudFrontAWSContent Delivery NetworkGlobal content distribution
Azure CDNMicrosoft AzureContent Delivery NetworkGlobal content caching
Cloud CDNGoogle CloudContent Delivery NetworkGlobal content delivery
Route 53AWSDNS ServiceDomain name resolution

Cloud Monitoring & Management

ServiceProviderFunctionFeatures
CloudWatchAWSMonitoring and ObservabilityMetric collection, alarms, logs
CloudFormationAWSInfrastructure as CodeTemplate-based resource management
Azure MonitorMicrosoft AzureMonitoring and DiagnosticsPerformance monitoring, log analytics
Azure Resource ManagerMicrosoft AzureResource ManagementTemplate-based deployment
StackdriverGoogle CloudOperations SuiteMonitoring, logging, error reporting
Google Cloud Deployment ManagerGoogle CloudInfrastructure as CodeTemplate-based resource deployment

Cloud Pricing Models

ModelDescriptionAdvantagesBest For
Pay-as-you-goPay only for resources consumedCost optimization, no upfront costsVariable workloads, startups
Reserved InstancesPrepay for capacity to get discountSignificant cost savings, predictable costsSteady-state applications
Spot InstancesUnused capacity at discounted pricesUp to 90% savings, flexible workloadsBatch processing, fault-tolerant apps
On-demandPay for resources when neededNo commitment, flexibilityShort-term, unpredictable workloads
Enterprise DiscountVolume-based pricing for large organizationsSignificant savings for large usageEnterprise customers

Cloud Migration Strategies (6 R's)

StrategyDescriptionWhen to UseExample
Rehost (Lift and Shift)Move applications without changesQuick migration, minimal riskVMs to cloud VMs
Replatform (Lift, Tinker and Shift)Optimize applications during migrationPerformance improvement neededMove to managed databases
Refactor (Re-architect)Redesign application for cloud-nativeModernization neededMonolith to microservices
RearchitectSignificant application changesCloud-native capabilities neededAdd serverless components
RetireDecommission unnecessary applicationsOutdated or unused applicationsLegacy systems
RetainKeep applications on-premisesRegulatory or technical constraintsApplications with strict requirements