QuestionQ115

VerifiedDeployment

An application runs on multiple EC2 instances behind an ELB.

Where is the session data best written so that it can be served reliably across multiple requests?

Explanation

ElastiCache is an in-memory caching solution that provides high-performance, durable session storage shared across multiple EC2 instances. Regardless of which instance handles a request, session data is consistently and rapidly accessible from ElastiCache. EBS and instance store are instance-specific and do not provide shared access. The root filesystem is ephemeral and unsuitable for production session data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!