How to upload recorded media to an Amazon S3 bucket (S3Upload)

The ModuleS3Upload module for Wowza Streaming Engine™ media server software automatically uploads finished recordings to an Amazon S3 bucket. It uses the Amazon Web Services (AWS) SDK for Java to upload the recorded files.


For developers


Wowza Streaming Engine or later is required.

The Amazon Web Services (AWS) Java SDK is required to provide the upload functionality.

Note: The module will work with earlier versions of Wowza Streaming Engine software, however, these will require an older version of the AWS SDK (version 1.10.77 or earlier) because the latest versions of the SDK have dependency requirements that aren't compatible with Wowza Streaming Engine software prior to


  1. Download
  2. Extract the contents from the downloaded (zipped) package, and then copy the lib/wse-plugin-s3upload.jar file from the package to the lib folder in your Wowza Streaming Engine installation ([install-dir]/lib).
  3. Download AWS Java SDK (
  4. Extract the contents from the downloaded (zipped) package, and then copy the lib/ file from the package to the lib folder in your Wowza Streaming Engine installation ([install-dir]/lib).
  5. Restart Wowza Streaming Engine.


To enable this module, add the following module definition to your application configuration. See Configure modules for details.

Fully Qualified Class Name
ModuleS3Upload Uploads recordings to Amazon S3. com.wowza.wms.plugin.s3upload.ModuleS3Upload


After enabling the module, you can adjust the default settings by adding the following properties to your application. See Configure properties for details.

/Root/Application s3UploadAccessKey String The AWS access key ID. There isn't a default value.
/Root/Application s3UploadSecretKey String The AWS secret key. There isn't a default value.
/Root/Application s3UploadBucketName String The S3 bucket to which you upload files. There isn't a default value.
/Root/Application s3UploadProfile String The AWS profile to use for authentication. There isn't a default value.
/Root/Application s3UploadProfilePath String An alternative path to the AWS credentials. There isn't a default value.
/Root/Application s3UploadRegion String The S3 region for bucket location. For a list of region names for each location, see AWS Regions and Endpoints. There isn't a default value.
/Root/Application s3UploadUseDefaultRegion Boolean Enables the uploader to use the same region as the EC2 instance or the AWS SDK default region. The default value is true. Set to false to prevent the uploader from automatically using those regions.
/Root/Application s3UploadAllowBucketRegionOverride Boolean Enables global access to buckets. This is used to prevent region mismatches from causing uploads to fail.The default value is true. Set to false to disable global access to buckets.


s3UploadCannedAcl String A predefined grant (list of grantees and permissions) known as a canned access control list (ACL). See Amazon's list of supported canned ACLs. There isn't a default value.
/Root/Application s3UploadFilePrefix String The name of the folder to which files are uploaded. There isn't a default value.
/Root/Application s3UploadResumeUploads Boolean Specifies that uploads should resume if interrupted. The default value is true. Set to false to prevent interrupted uploads from resuming.
/Root/Application s3UploadDelay Integer Delays the uploading of files by the in case a stream is republished. The default value, 0 milliseconds, results in no delay. Increase the value to delay the upload.
/Root/Application s3UploadRestartFailedUploads Boolean Restarts failed uploads after a timeout without restarting the application. The default value is true.
/Root/Application s3UploadRestartFailedUploadTimeout Integer Specifies the time, in milliseconds, to wait to restart a failed upload. The default value is 60000 milliseconds.
/Root/Application s3UploadDeleteOriginalFiles Boolean Specifies whether to delete the original files after uploading. The default value is false. Set to true to delete files after uploading.(default: false)
/Root/Application s3UploadVersionFile Boolean Enables automatic incremented versioning of uploaded files. The default value is false. Set to true to enable versioning.
/Root/Application s3UploadACLGroupGranteeUri String The URI representation of the Group Grantee from the Amazon S3 Predefined Groups. There isn't a default value.
/Root/Application s3UploadACLPermissionRule String The level of permissions granted to the Group Grantee to access the uploaded file. For a list of valid values, see What permissions can I grant? There isn't a default value.
/Root/Application s3UploadDebugLog Boolean Enables verbose debug logging. The default value is false. Set to true to turn on verbose logging.


Note the following details about using the ModuleS3Upload module:
  • If you don't provide credentials, the default AWS methods are used to authenticate with S3. For more information, see Using the default credential provider chain.
  • When a recording is finished, a temporary file named [recording-name].upload is created to track the recording and sort any data that may be needed to resume the file upload later if it's interrupted. AWS TransferManager uploads the recorded file, splitting it into a multipart upload if required. After the recorded file is uploaded, the temporary [recording-name].upload file is deleted.
  • When the Wowza Streaming Engine application starts or restarts, the module checks to see if any interrupted uploads must be completed. Interrupted single part uploads are restarted from the beginning while interrupted multipart uploads are resumed from the last complete part. If the module is set to not resume uploads after interruptions (s3UploadResumeUploads = false), incomplete multipart uploads are deleted from the S3 bucket.

For developers

Source code is available on GitHub.

Wowza Media Systems™ provides developers with a platform to create streaming applications and solutions. See Wowza Developer Tools to learn more about our APIs and SDK.

Wowza media server software and all components, including modules, source code, and other related items offered on this page, are copyrighted (c) 2006-2018 by Wowza Media Systems, LLC, all rights reserved, and are licensed pursuant to the Wowza Media Software End User License Agreement.

If you're having problems or want to discuss this article, post in our forum.