ShahriarLabs Simulators · SimAWS
Compare by changing the scenario
Understand the tradeoff, then test what changes the answer.
- LetX export handler and QuantumSketch render worker
Lambda vs Fargate: functions, containers and the job boundary
Both are serverless compute options. Compare the execution model, continuous duration, process lifetime, scaling unit and total workload cost—not the slogan “functions versus servers.”
Explore - LetX worker configuration and credentials
Secrets Manager vs Parameter Store vs KMS: choose the responsibility
Secrets Manager stores secrets and supports secret lifecycle features. Parameter Store organizes configuration, including SecureString values. KMS manages encryption keys and key-use permissions; it is not a substitute for a secret store.
Explore - LetX job API and QuantumSketch application service
API Gateway vs ALB: choose the request boundary before the backend
API Gateway fits an API-focused request boundary with features selected by API type. An Application Load Balancer routes HTTP traffic to target groups and evaluates target health. Either can reach Lambda in real AWS; containers do not automatically require choosing only ALB.
Explore - LetX exports and QuantumSketch native rendering
Lambda vs EC2: compare execution boundaries and operating responsibility
Traditional Lambda fits bounded event-driven units of work; EC2 supplies a virtual machine whose operating system and application lifecycle you manage. Choose from execution duration, workload dependencies, latency, state and recovery before comparing the complete cost.
Explore - LetX job lookups and QuantumSketch reporting
DynamoDB vs RDS: compare the requests and invariants you must support
Choose DynamoDB from intentional key-based access patterns and RDS from the relational workload and engine capabilities you need. Both can support transactions in real AWS. Query shape, consistency, operation boundaries and recovery are more useful than “JSON versus SQL.”
Explore - LetX private database and QuantumSketch reporting
RDS Multi-AZ standby vs read replica: availability and read scale differ
For an RDS Multi-AZ DB-instance deployment, the standby supports failover and cannot serve customer reads. A read replica supplies a separate read path with replication considerations. Name the deployment and engine: Multi-AZ DB clusters and Aurora have different architectures.
Explore - QuantumSketch public static gallery
S3 website endpoint vs private CloudFront origin: different access models
An S3 website endpoint provides website behaviors but is not an HTTPS private-OAC origin. CloudFront with a regular private S3 origin adds a controlled origin path and viewer HTTPS. Choose website behavior, origin privacy and viewer access as separate requirements.
Explore - LetX private worker downloading inputs and calling an external API
S3 gateway endpoint vs NAT: service-specific access is not general egress
An S3 gateway endpoint supplies a service-specific VPC route without requiring NAT for that path. Public NAT supports suitable outbound internet destinations. Choose from actual destinations, source topology and policy needs; an S3 endpoint cannot reach an arbitrary third-party API.
Explore - LetX interactive API and background exports
Reserved vs provisioned Lambda concurrency: capacity limit and readiness differ
Reserved concurrency allocates a function’s concurrency share and caps it. Provisioned concurrency prepares execution environments for a selected version or alias to reduce initialization latency. A reservation does not pre-initialize environments, and readiness does not increase a dependency’s safe capacity.
Explore - LetX independent exports and QuantumSketch ordered project updates
SQS standard vs FIFO: order and producer deduplication do not undo side effects
Standard queues suit independent work with at-least-once delivery. FIFO adds message-group ordering and bounded producer deduplication behavior. Neither a delivery label nor a visibility timeout makes an external side effect and its acknowledgement atomic.
Explore - LetX job records and QuantumSketch editable projects
Backup vs replication: past recovery and current continuity differ
Replication maintains another copy or serving path according to the selected service. Backups preserve recoverable points for restoration. A replicated mistake can affect every live copy; a retained backup can still be useless if restore access, integrity or application recovery is untested.
Explore - QuantumSketch rendering and LetX export workers
Horizontal vs vertical scaling: find the bottleneck and replacement boundary
Vertical scaling changes the resources of a worker; horizontal scaling changes the number of workers. Choose from parallelism, state ownership, dependency headroom and recovery behavior. Increasing either dimension can waste capacity when the actual bottleneck lies elsewhere.
Explore - LetX low-traffic launch and QuantumSketch steady rendering
Pay-per-use vs always-on capacity: compare the idle floor and busy month
Usage-driven charging can fit intermittent work, while continuously available capacity may fit sustained demand or specific execution and latency constraints. Compare equivalent complete architectures over quiet, normal and burst periods; “serverless” does not mean every component has zero idle cost.
Explore - QuantumSketch practice worker
Security groups vs NACLs: follow the request and reply
Security groups apply to associated resources and are stateful. NACLs filter subnet-boundary traffic, support allow and deny rules, and require separate permission for return traffic.
Explore - LetX practice workers and public front end
NAT gateway vs internet gateway: two different paths
An internet gateway provides a VPC internet path for appropriately addressed resources. Public NAT lets private IPv4 resources initiate internet connections through a translated public address.
Explore - ShahriarLabs asset reader
IAM users vs roles: choose credentials for the workload
IAM users identify account identities that can have long-lived credentials. Roles are assumed to obtain temporary credentials. Prefer suitable federation for people and roles for workloads.
Explore - QuantumSketch rendering and notification workflow
SQS vs SNS vs EventBridge: queue, publish or route?
Use SQS to buffer work for consumers, SNS to publish to subscribers, and EventBridge to route events using rules. They can be combined when a system needs both routing and durable buffering.
Explore