Monopam can keep a tenant's session recordings in your own Amazon S3 bucket instead of the Local CDN installed with Monopam. Gateways upload each recording to the bucket, Monopam reads transcripts from it, and the player opens a recording straight from S3 with a link that is valid for one hour.
The setting is in System → Tenant → Storage, for each tenant, from Monopam v2026.12.1. Monopam does not create the bucket: prepare the bucket and an access key in AWS first.
Before you start
- Monopam v2026.12.1 or later on the application server and on every gateway. An older gateway can mark a recording as uploaded while it never reaches S3 in newer AWS regions such as
eu-north-1. The Storage tab lists the gateways that are too old. - An account that sees the System menu (
monopam.system.full). - Rights in AWS to create an S3 bucket, an IAM user and an access key.
- HTTPS (port 443) to
s3.<region>.amazonaws.comand<bucket>.s3.<region>.amazonaws.comfrom every gateway, RDP proxy and Remote Session Broker server, from the Monopam application servers, and from your users' browsers.
Create the bucket
- In the AWS console, open S3 → Create bucket. Choose General purpose and the region the bucket should live in. Note the region: Monopam needs the same value.
- Give it a lowercase name without dots, for example
acme-monopam-recordings. Use one bucket per tenant and nothing else in it: when the storage changes, Monopam copies everything in the bucket. - Keep ACLs disabled and all four Block Public Access options on. Playback links are signed, so they work with public access blocked.
- Leave Bucket Versioning and Object Lock off, and Default encryption on SSE-S3. SSE-KMS also works with one more permission (below).
- Choose Create bucket.
The same with the AWS CLI (in us-east-1, leave out --create-bucket-configuration):
aws s3api create-bucket --bucket acme-monopam-recordings --region eu-central-1 \ --create-bucket-configuration LocationConstraint=eu-central-1
Create the access key
- Open IAM → Policies → Create policy, choose JSON, paste the policy below with your bucket name, and save it as
monopam-recordings-s3. - Open IAM → Users → Create user, name it
monopam-recordings, leave console access off, and attachmonopam-recordings-s3. - On the user, open Security credentials → Create access key and choose Application running outside AWS (Other when Monopam runs in AWS).
- Copy the Access key ID and Secret access key. AWS shows the secret only once.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ListTheBucket",
"Effect": "Allow",
"Action": "s3:ListBucket",
"Resource": "arn:aws:s3:::acme-monopam-recordings"
},
{
"Sid": "ReadWriteDeleteRecordings",
"Effect": "Allow",
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject"],
"Resource": "arn:aws:s3:::acme-monopam-recordings/*"
}
]
}
| Permission | Monopam uses it to |
|---|---|
s3:ListBucket | Check the bucket and list the recordings to copy |
s3:PutObject | Upload recordings (large ones in 16 MB parts) |
s3:GetObject | Read transcripts and sign playback links |
s3:DeleteObject | Delete the Test connection file, and recordings past their retention period on gateways with EnableRetentionForCDN |
If the bucket uses SSE-KMS, add this statement with your key's ARN. Without it, uploads are refused even though the S3 permissions are right.
{
"Sid": "UseTheRecordingsKey",
"Effect": "Allow",
"Action": ["kms:Encrypt", "kms:Decrypt", "kms:GenerateDataKey"],
"Resource": "arn:aws:kms:eu-central-1:111122223333:key/<key-id>"
}
Do not add aws:SourceIp or VPC conditions to this policy. Browsers open playback links signed with this key, so such a condition stops playback on your users' computers. Monopam signs in with the access key only; it does not use EC2 instance roles.
Connect Monopam to the bucket
- Open System → Tenant and the Storage tab.
- Set Storage type to AWS S3, then fill in Region, Access key ID, Secret access key and Bucket.
- Choose Test connection. It tries the values on the page, saved or not, with a small test file. All five steps must pass: Bucket, Upload, Read, Playback link and Delete.
- Choose Save.
On a new installation, the first setup page has the same Storage type choice.
Storage settings
| Setting | Default | What it does |
|---|---|---|
| Storage type | Local CDN | AWS S3 keeps recordings in your bucket. |
| Name | default | A label only. |
| Region | None | The bucket's region, for example eu-central-1. |
| Access key ID | None | The IAM user's access key. |
| Secret access key | None | Its secret. Hidden after saving. |
| Bucket | None | The bucket's name. Monopam does not create it. |
Recordings you already have
After you save, Monopam copies the tenant's existing recordings to the bucket in the background. The Storage tab shows Copying recordings to the new storage and how many are copied. Recordings not copied yet still play from the old storage, and nothing is deleted from it.
- The storage cannot be changed again until the copy shows Completed or is stopped.
- A recording that fails is tried again later. After you fix the cause, choose Retry.
- Stop copying leaves the recordings not copied yet only on the old storage, and they no longer play in Monopam. Use it only when the old storage is gone for good.
- To go back to the Local CDN, wait for Completed and save the Local CDN settings again. Recordings written to S3 in the meantime are copied back.
Check that it works
- The copy on the Storage tab shows Completed with nothing failed.
- A new session's recording plays, and its file is in the bucket.
- A recording plays on an ordinary user's computer. Test connection opens the playback link from the Monopam server only, so this is the check that browsers reach S3.
Security and cost
- Monopam always reaches S3 over HTTPS, so the bucket can refuse plain HTTP with the bucket policy below.
- To rotate the key, create a second access key for the user, enter it on the Storage tab, test and save, then deactivate the old key. A new key alone does not start a copy.
- Recordings over 16 MB are uploaded in parts. Add a lifecycle rule that deletes incomplete multipart uploads after 7 days. With versioning on, let the rule also delete noncurrent versions, or deleted recordings keep costing.
- Monopam deletes a recording from the bucket when its retention period ends only on gateways with
"EnableRetentionForCDN": truein theirconfig.json(MONOPAM_GW_ENABLE_RETENTION_FOR_CDN=truefor a container gateway); it is off by default. Without it, add a lifecycle rule that expires objects after your retention period, or the bucket keeps every recording. Monopam shows an expired recording as This recording cannot be played. Do not move recordings to Glacier Flexible Retrieval or Deep Archive, where they cannot be played or copied. Standard-IA, Intelligent-Tiering without archive tiers and Glacier Instant Retrieval play normally. - Monopam records a Record Watched audit event each time someone opens a recording. For records on the AWS side, turn on CloudTrail data events or S3 server access logging.
- Each playback downloads the recording from S3 to the browser, which AWS bills as data transfer out.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "HttpsOnly",
"Effect": "Deny",
"Principal": "*",
"Action": "s3:*",
"Resource": [
"arn:aws:s3:::acme-monopam-recordings",
"arn:aws:s3:::acme-monopam-recordings/*"
],
"Condition": { "Bool": { "aws:SecureTransport": "false" } }
}
]
}
Troubleshooting
| You see | What to do |
|---|---|
Region is required for AWS S3. | Choose the bucket's region, for example eu-central-1. |
The access key is not known to AWS S3 … | Copy the access key ID again from IAM and check that the key is active. |
The secret does not match the access key, or this server's clock is wrong | Paste the secret again. If it is right, sync the Monopam server's clock with NTP. |
Bucket '…' not found in … | Create the bucket first, or correct its name. |
Bucket '…' is not in …. Choose the bucket's own region. | Choose the region shown for the bucket in the S3 console. |
The key is valid but may not … (needs …) | Add the named permission to the policy. On an SSE-KMS bucket, add the KMS statement too. |
Could not reach s3.<region>.amazonaws.com | Allow HTTPS from the Monopam server to both S3 addresses. |
Update these gateways before using AWS S3 | Update the listed gateways to v2026.12.1 or later before you save. |
A copy is running. Wait for it, or stop it first. | Wait for Completed, or stop the copy. |
| The player says This recording cannot be played | The browser cannot reach S3, or the file is missing. Check the proxy and firewall from that computer, then look for the file in the bucket. |