Best of AWS S3June 2024

  1. 1
    Article
    Avatar of communityCommunity Picks·2y

    How to upload to S3 in Next.js and save references in Postgres

    Learn how to add a feature to a Next.js app that allows users to upload files to Amazon S3 using presigned URLs, and save references to these files in a Postgres database. The guide covers creating a Neon project, setting up an S3 bucket, creating IAM user access keys, and setting up a Next.js application with necessary API routes to handle file uploads and database operations.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    How to Use Time To Live in Event-Driven Architecture in AWS

    Time to Live (TTL) is a concept used to determine the lifespan of data in a distributed system. It is beneficial for ephemeral data like cached content, analytic metrics, and short-lived social media content. However, it is less useful for permanent data like media for streaming platforms or bank transactions. AWS services like SQS, S3, and DynamoDB support TTL, allowing developers to automate data expiration and efficiently manage resources. TTL can also be integrated with event-driven architectures to execute actions upon data expiration.

  3. 3
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    S3 Is A Security Nightmare (Common Exploit Showcase)

    S3 has security issues and common vulnerabilities in uploads that can lead to cross-site scripting and unauthorized file overrides. Several third-party libraries exist to simplify S3 usage.