ShahriarLabs Simulators · SimAWS
Find the cause. Repair the problem.
Direct explanations of cloud failures, paired with experiments you can run without an account.
- QuantumSketch illustration release
CloudFront serves old content: identify the cache before invalidating
An updated S3 object can coexist with an older cached response. Identify the requested path, CDN cache behavior and browser cache separately; use versioned asset names for routine releases and targeted invalidation when the existing path must change.
Explore - QuantumSketch custom asset hostname
Custom domain fails: separate DNS, viewer TLS and origin access
Test the request as separate boundaries: authoritative DNS and routing, CloudFront hostname configuration, viewer certificate coverage, then origin access. Repairing a bucket policy cannot resolve a DNS failure or a certificate-name mismatch.
Explore - LetX export processing and QuantumSketch render jobs
Lambda times out: diagnose the work boundary in traditional compute mode
A timeout says an invocation exceeded its configured duration, not why it was slow. For traditional Lambda compute, configure 1–900 seconds and inspect input size, dependency waits and useful progress. Retry safety and a durable job boundary matter as much as a higher timeout.
Explore - LetX export artifact
Deleted S3 object: inspect versions before removing a delete marker
In a versioning-enabled bucket, a normal delete can hide retained versions behind a delete marker. Inspect the exact key and version history, verify a recoverable version, then remove the intended latest marker or choose an explicit version-copy recovery. Permanent version deletion has a different outcome.
Explore - ShahriarLabs LetX practice artifact bucket
Versioned bucket cannot be deleted: current objects are not the whole bucket
A bucket can look empty in its current-object view while retaining noncurrent versions and delete markers. Inventory all retained history, resolve per-version permission failures and choose an intentional cleanup before deleting the bucket itself.
Explore - LetX job endpoint
Lambda invocation denied: distinguish the caller from the execution role
The identity invoking a function and the execution role used by its code are different actors. Diagnose whether the caller lacks invocation permission, an AWS service lacks its function resource-policy grant, or the function cannot use its configured role.
Explore - LetX HTTP export API
API Gateway integration error: trace route, permission and handler result
For the supported HTTP API Lambda path, verify the requested method and route, the deployed stage, the selected integration and its scoped Lambda invoke permission. A backend that exists or passes a direct test does not prove the API route can invoke it correctly.
Explore - LetX export completion
SQS message returns after processing: completion is not acknowledgement
Receiving a message starts a visibility lease rather than deleting it. If processing succeeds but deletion does not complete with the current receipt, the message may be received again. Make the business effect safe to repeat and acknowledge only after durable completion.
Explore - QuantumSketch render jobs
DLQ replay repeats the failure: repair the cause before returning work
A dead-letter queue isolates repeatedly unsuccessful work; moving it back does not repair an invalid input, missing permission or incompatible consumer. Diagnose a sample, verify a repeat-safe repair and return work at a controlled rate with useful completion evidence.
Explore - QuantumSketch private web workers
ALB target unhealthy: inspect registration, path and response separately
A running worker is not automatically an eligible healthy target. Confirm registration, enabled zone and target port, then inspect the health-check network path, response and thresholds. Adding application capacity does not repair a shared wrong port or blocked check.
Explore - LetX private export worker
EC2 launch fails: check subnet and security-group VPC compatibility
A subnet and security group must be compatible with the intended launch VPC. This local model requires their original VPC IDs to match; real AWS also supports eligible Security Group VPC Associations. Check identities and association state before changing port rules.
Explore - QuantumSketch worker storage
EBS attachment fails: match the volume and instance Availability Zone
An EBS volume attaches to an instance in the same Availability Zone. Check zone, state and attachment constraints before changing permissions. To use snapshot-based recovery in another zone, create a new volume there; a snapshot is not a way to move the existing volume in place.
Explore - LetX workspace export lookup
DynamoDB Query fails: match the key schema before adding filters
A Query needs equality on the selected partition key and may constrain its sort key. Compare attribute names and typed values with the actual key schema. A filter cannot supply the missing key condition or turn a different attribute into an access path.
Explore - LetX private database connection
RDS connection times out: trace the private path before changing credentials
A timeout first calls for endpoint, port, state and network-path evidence. From the intended client, inspect DNS, VPC placement, security-group rules and both ACL directions. A successful private path is separate from database authentication and whether the selected endpoint accepts writes.
Explore - LetX workload role and QuantumSketch operator session
Role assumption fails or work is denied: trust and permissions are separate
A role trust policy governs who may assume it. The role’s permissions govern what the resulting workload identity may do. Determine whether assumption failed or a later action failed, then repair that boundary without granting unrelated administrator access.
Explore - LetX encrypted-configuration export artifact
S3 allow but KMS denied: inspect the object version and key-use action
An SSE-KMS object read can require both S3 access and permission to decrypt with its key. Check the requested version’s key metadata, key Region and state, and key-policy/identity decisions. Changing a bucket default does not re-encrypt every retained version.
Explore - QuantumSketch animation worker
EC2 SSH connection timed out: trace the broken hop
A timeout means the connection did not complete. Check the instance, public address, subnet route, security group and both NACL directions before changing credentials.
Explore - LetX background export worker
Private subnet has no internet: check the NAT path
A private instance needs a usable outbound path. For public NAT, verify the private route to NAT, NAT state and VPC, its public subnet route to an attached internet gateway, and both subnet ACLs.
Explore - ShahriarLabs lesson assets
S3 AccessDenied: identify the permission boundary
A 403 is an access decision, not proof that the object is missing. Identify the caller, action and resource; then check matching allows, explicit denies and the applicable public-access or encryption controls.
Explore - ShahriarLabs asset reader
IAM explicit deny: why another allow cannot fix it
A matching explicit deny overrides an allow. First identify which statement applies to the exact action, resource and principal; adding a broader allow cannot cancel that deny.
Explore - QuantumSketch rendering queue
SQS backlog keeps growing: compare arrival and drain rates
A queue grows when incoming work exceeds completed work over time. Separate arrival rate, worker capacity and retries before increasing concurrency or changing visibility timeout.
Explore - LetX practice export pipeline
Retry storms: when recovery logic multiplies the outage
Retries consume capacity too. Bound attempts, use backoff and jitter, and make side effects idempotent so failure recovery does not amplify load or duplicate work.
Explore