> ## Documentation Index
> Fetch the complete documentation index at: https://docs.memvid.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS S3 Storage Setup

> Learn how to store your Memvid .mv2 files on Amazon Web Services S3

Storing your Memvid `.mv2` files on Amazon S3 provides durable, scalable object storage with high availability and strong consistency. S3 is ideal for production deployments where you need reliable cloud storage with fine-grained access controls and lifecycle management policies. By hosting your memory files on S3, you can leverage AWS's global infrastructure, automatic backups, and integration with other AWS services like Lambda, EC2, and CloudFront for content delivery.

To get started, you'll need to create an S3 bucket in your preferred AWS region. Choose a region close to your application servers to minimize latency, or use a region that complies with your data residency requirements. Once your bucket is created, configure appropriate bucket policies and IAM roles to control access. For Memvid files, you'll typically want to enable versioning to protect against accidental deletions and configure lifecycle policies to transition older versions to cheaper storage tiers like Glacier for long-term archival.

When uploading `.mv2` files to S3, you can use the AWS CLI, SDK, or the S3 console. For automated workflows, integrate S3 uploads into your application's save operations. The files are stored as binary objects, so ensure your application handles the file uploads correctly. You can also set up S3 event notifications to trigger downstream processing when new memory files are uploaded, enabling real-time synchronization across your infrastructure.

For production deployments, consider enabling S3 server-side encryption (SSE) to protect your data at rest, and use S3 Transfer Acceleration for faster uploads from geographically distributed locations. You can also configure cross-region replication for disaster recovery scenarios. Monitor your S3 usage through CloudWatch metrics to track storage costs and access patterns.

<Card title="Create AWS Account" icon="cloud" href="https://aws.amazon.com/free/">
  Sign up for a free AWS account to get started with S3 storage
</Card>
