• Documentation
  • Pricing
© 2026 Serverless, Inc. All rights reserved.

Framework

  • Overview
  • Documentation
  • Plugins360
  • Pricing

Learn

  • Blog
  • GuidesUpdated
  • Examples240
  • Courses

Resources

  • Support
  • Security
  • Trust Center
  • Status

Community

  • Slack
  • GitHub47k
  • Forum
  • Meetups

Company

  • About
  • Careers
  • Contact
  • Partners

Legal

  • Terms of Service
  • Privacy Policy
  • Trademark
  • DMCA
Austen Collins

AWS S3 File Replicator

by

This example creates 2 AWS S3 buckets and copies files in one bucket to the other

  1. AWS S3 File Replicator

AWS S3 File Replicator

This example creates 2 AWS S3 buckets and copies files in one bucket to the other. It's written in Node.js

The inputBucket and outputBucket are provisioned via the serverless-lift storage construct, which creates an S3 bucket per construct with sensible defaults.

Simply upload a file to the inputs bucket (e.g. using the AWS S3 console) and see it be instantly transferred to the outputs bucket.

Setup

npm install

Deploy

serverless deploy

After running deploy, you should see output similar to:

Deploying "replicator" to stage "dev" (us-east-1)

✔ Service deployed to stack replicator-dev (65s)

functions:
  replicate: replicator-dev-replicate (1.1 kB)

Contents

  • AWS S3 File Replicator
  • Setup
  • Deploy

Related

GuidesPluginsExamplesSlack CommunitySupport