AWS Services Comparison – Dark Mode

Quick, searchable comparisons of common AWS topics. Use the chips or type to filter. Click a section to collapse/expand.

1) Security Group vs Network ACL

Comparison
FeatureSecurity GroupNetwork ACL
Applied atInstance (ENI) LevelSubnet Level
StateStateful - Response is always allowedStateless - Request and Response both have to be allowed
Default Rules (Default SG/NACL)- All inbound is allowed from the same SG
- All outbound is Allowed
- All inbound is Allowed
- All outbound is Allowed
Default Rules (New SG/NACL)- All Inbound is Deny
- All outbound is Allowed
- All inbound is Deny
- All outbound is Deny
Assignment1 Instance can have many SG assigned1 Subnet can have only 1 NACL
Rule TypesOnly allow statementsAllow and Deny both statements
Rule OrderOrder is not importantOrder is important (lower order rule is applied first)
Source/DestinationSource - IP / IP Range / Port / SG-<xxxxxxxx>Source - IP / Port / IP Range

2) VPC Endpoints: Gateway vs Interface

Comparison
FeatureGateway EndpointInterface Endpoint
Used forPrivate connectivity to Amazon S3 and Amazon DynamoDBPrivate connectivity to 100+ AWS Services (including Amazon S3)
How it worksAn entry for prefix list (IP addresses) for supported services is added in to the routing tableAn ENI(s) is provisioned in the selected subnet(s) which serves as an entry point for traffic destined to a supported service (powered by AWS PrivateLink)
Provisioned atVPC Level then entry added to Route TableSubnet Level (no entry required in Route Table)
SecurityThrough VPC Endpoint PolicyThrough Security Group

3) Storage Types: Block vs File vs Object

Comparison
FeatureBlock StorageFile StorageObject Storage
Unit of TransactionBlocksFilesObjects (files with metadata)
ExampleLaptop DiskWindows ShareOneDrive / Google Drive / Dropbox
How can you update?You can directly update the fileYou can directly update the fileYou cannot update the object directly. You create a new version of the object and replace the existing one or keep multiple versions of the same object
ProtocolsSCSI, Fiber Channel, SATASMB, CIFS, NFSREST/SOAP over HTTP/HTTPS
Support for metadataNo metadata support; only file system attributesNo metadata support; only file system attributesSupports custom metadata
AWS ServicesAmazon EBS; Amazon Instance StoreAmazon EFS; Amazon FSxAmazon S3; Amazon Glacier

4) DynamoDB Indexes: GSI vs LSI

Comparison
FeatureGlobal Secondary Index (GSI)Local Secondary Index (LSI)
QueriesAcross all partitionsIn a single partition
Size LimitNo size limitationsCan't exceed 10 GB
Provisioned throughputSeparate from tableShares with the tables
Read ConsistencyOnly EventualStrong or Eventual
Maximum205
CreationAnytimeOnly with table creation
DeletionAnytimeOnly with table deletion

5) Connectivity: Site‑to‑Site VPN vs Direct Connect

Comparison
FeatureSite‑to‑Site VPNDirect Connect
Use caseRemote networks to VPC; no heavy transfer or strict consistencyRemote networks to VPC; heavy transfer or consistent connection
Choose when…Cost is importantPredictable performance is important
Supported speed~1.25 Gbps per tunnel1 / 10 / 100 Gbps (sub‑1 Gbps via partners)
How it worksTunnel over the InternetDedicated network; no Internet
High AvailabilityAWS side is HA (VGW across 2 AZs)Single connection by default
EncryptionIPSecNot encrypted by default
Time to establishMinutes (self‑service)Hours/days via provider
Cost dimensionPer connection hour + data outPort fees + data out

6) RPO vs RTO

Comparison
AspectRPO (Recovery Point Objective)RTO (Recovery Time Objective)
Focuses onData loss preventionWhole business recovery
Depends onBackup FrequencySpeed of recovery
DescribesMaximum data lossMaximum recovery time
ConsiderationHow often your data changes?How much downtime you can handle?

7) AWS KMS vs CloudHSM

Comparison
AspectAWS KMSCloudHSM
ScopeAES‑256, RSA encrypt; RSA/ECC signGeneral‑purpose HSM (encrypt, sign/verify, derive, hash, wrap)
Secrets / Keys Stored inShared FIPS‑validated HSMSingle‑tenant FIPS HSM in customer VPC
HSM Controlled byAWSCustomer
Scalability Managed byAWSCustomer
Keys Managed byAWSCustomer
Key Access byAWS IAM / resource policiesCustomer‑defined credentials
Integrated with AWS ServicesYesNo
Key Operations Implemented withAWS CLI/SDK, Encryption SDKCustomer‑built application
Rotation Executed byAWS (except BYOK/CKS)Customer

8) Private vs Public vs Elastic IP

Comparison
AspectPrivate IPPublic IPElastic IP
Used forInternal CommunicationExternal CommunicationExternal Communication
Mandatory / OptionalMandatoryOptionalOptional
After Power CycleStays sameRenewedStays same
Allocated toInstance (ENI)Instance (ENI)Account (then associated)
ChargesNoNoCharged if unused

9) EC2 Purchase Options

Comparison
OptionCharacteristics
On DemandPay per second/hour, unpredictable workload
Reserved Instance1/3‑year commitment, predictable workload, reserve Region/AZ/Type
Savings PlanCommit fixed payment, flexible reservation
Spot InstanceUses unused AWS capacity, supply‑demand pricing

10) Auto Scaling in AWS

Comparison
AspectEC2 Auto ScalingAWS Auto ScalingApplication Auto Scaling
WhatEC2 instance scalingMulti‑resource scaling plansScaling individual AWS services beyond EC2
HowAdd/remove EC2 instances via ASGDiscover scalable resources and configure scaling centrallyTrack metrics via CloudWatch; scale via CloudFormation
WhichEC2 InstancesEC2, Spot Fleets, ECS, DynamoDB, AuroraAppStream, EMR, Neptune, SageMaker, custom

11) ALB vs NLB

Comparison
AspectALBNLB
Operates atLayer 7 (Application)Layer 3 (Network)
Routes traffic based onContent of the packetHeader of the packet
ProtocolsHTTP, HTTPSTCP, UDP, TLS
Static & Elastic IPNoYes
Target TypesInstances, Containers, Lambda, IPsInstances, Containers, IPs

12) DynamoDB: Provisioned vs On‑Demand

Comparison
AspectProvisioned ModeOn‑Demand Mode
WhatProvision RCU/WCU at fixed capacityNo limit scaling, auto
ChargesPay for provisioned capacityPay per read/write
BenefitCost control, reservationAuto adjust to workload
Suitable forSteady predictable trafficRandom unpredictable traffic
Floor & CeilingAuto Scaling setupScale to zero, no ceiling

13) SNS vs SQS

Comparison
AspectSNSSQS
Message PersistenceNoYes
Delivery MechanismPush (passive)Poll (active)
Producer/ConsumerPublisher & SubscriberSender & Receiver
Distribution ModelOne‑to‑many (1:N)One‑to‑one (1:1)
Use CasesA2A, A2PA2A

14) SQL vs NoSQL

Comparison
AspectSQL (Optimized for Storage)NoSQL (Optimized for Performance)
Data StorageRows & ColumnsKey‑Value, Document, Wide‑column, Graph
SchemaFixedDynamic
QueryingSQLDocuments/Collections
ScalingVerticalHorizontal
TransactionsSupportedVaries
GuaranteesACIDBASE

15) Scalability vs Elasticity

Comparison
AspectScalabilityElasticity
DefinitionAbility to uphold functionality as volume growsAbility to dynamically manage resources
Use CasePredictable workload increaseSudden/dynamic workload changes
TypeStrategicTactical
Focuses onDesign/ArchitectureOperations
ProvisioningFor future demandFor present demand
ConsiderationLong‑term predictionShort‑term
ExecutionScheduledTriggered by automation