AWS S3 Storage Operations

Upload rendered videos to AWS S3 using AWS SDK v3 with retry logic.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/chad3814/cawpile-video-gen --skill aws-s3-storage-operations
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: AWS S3 Storage Operations
Source: https://github.com/chad3814/cawpile-video-gen/tree/main/.claude/skills/spekka-backend-queries
Command: npx skills add https://github.com/chad3814/cawpile-video-gen --skill aws-s3-storage-operations

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

AWS S3 Storage Operations provides a reliable and secure pattern for uploading rendered videos to AWS S3, handling credentials, and ensuring resilience against upload failures.

Core Features & Use Cases

  • AWS SDK v3 S3 integration with PutObjectCommand and proper credential configuration
  • Robust error handling and retry logic for transient failures
  • Credential management and clean-up: load credentials from environment or Docker secrets, rotate as needed, and remove temporary files after upload
  • Use Case: automatically publish completed video renders to a central S3 bucket with consistent keys and content-type metadata

Quick Start

Upload a sample rendered video to your S3 bucket using the configured S3 client and credentials.

Frequently Asked Questions about AWS S3 Storage Operations

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I upload rendered videos to AWS S3 using Node.js?

You can upload rendered videos to AWS S3 using Node.js by integrating the AWS SDK v3 PutObjectCommand. This ensures secure storage with consistent object keys and correct content-type metadata for your video files.

Why do my S3 video uploads fail intermittently and how can I add retry logic?

S3 video uploads fail intermittently due to transient network errors, which you can mitigate by implementing robust retry logic. This pattern handles transient failures automatically, ensuring resilient video uploads to your S3 bucket.

Can I load AWS credentials from environment variables or Docker secrets for S3 uploads?

Yes, you can load AWS credentials from environment variables or Docker secrets for S3 uploads. This approach supports secure credential management and allows you to rotate credentials as needed without hardcoding them.

What's the best way to clean up local temporary video files after uploading to S3?

The best way to clean up local temporary video files after uploading to S3 is to implement an automated cleanup step. This removes local temp files immediately after the S3 upload succeeds, freeing local disk space.

Does AWS SDK v3 support setting content-type metadata for S3 video uploads?

Yes, AWS SDK v3 supports setting content-type metadata for S3 video uploads. Using PutObjectCommand, you can specify the correct content-type to ensure video files are recognized and served properly by browsers and applications.