Skip to content

Commit a415d46

Browse files
Merge pull request #657 from ant-media/amarantmeida-patch-11
Update aws-s3.md
2 parents 171d2f3 + 4264616 commit a415d46

File tree

1 file changed

+46
-10
lines changed
  • versioned_docs/version-2.15/guides/recording-live-streams/s3-recording-and-integration

1 file changed

+46
-10
lines changed

versioned_docs/version-2.15/guides/recording-live-streams/s3-recording-and-integration/aws-s3.md

Lines changed: 46 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,29 +7,65 @@ sidebar_position: 1
77

88
# Record Streams To AWS S3
99

10-
In order to programmatically access S3, you should have an access token and secret keys. You can create a programmatic user to have an access token and secret key from the AWS IAM (Identity and Access Management) console.
10+
Ant Media Server supports recording live streams directly to Amazon S3, enabling durable, scalable, and cost-effective storage for your video content.
11+
12+
By recording streams to S3, you can:
13+
- Persist live streams for on-demand playback
14+
- Store recordings securely outside the server lifecycle
15+
- Integrate with downstream workflows such as VOD delivery, archiving, analytics, or processing
16+
- Avoid local disk limitations on the Ant Media Server instance
17+
18+
This guide explains how to configure Ant Media Server to upload recorded streams to Amazon S3. It covers the required AWS setup, access permissions, and the credentials needed to allow Ant Media Server to write recordings to your S3 bucket.
19+
20+
## Prerequisites: AWS IAM Access for S3
21+
22+
To access Amazon S3 programmatically, you need an Access Key ID and Secret Access Key associated with an IAM user.
23+
These credentials are created in the AWS IAM (Identity and Access Management) console by:
24+
- Creating an IAM user without console access, and
25+
- Generating access keys for that user after creation.
26+
27+
The access key and secret key are then used by applications or services to authenticate API requests to Amazon S3.
1128

1229
![image.png](@site/static/img/image-284429.png)
1330

1431
![image.png](@site/static/img/image-284529.png)
1532

16-
Just add a user by checking the Programmatic Access box and then in the next section, click Attach existing policies directly and add AmazonS3FullAccess access permission to this user. Copy the access token and secret key for this user.
33+
Create a new IAM user for S3 access.
34+
- In the **IAM → Users → Create user** screen, enter a User name.
35+
- Do not select AWS Management Console access. This user is intended for programmatic access only.
36+
- Click Next to proceed to permissions.
37+
- In the Set permissions step, choose **Attach policies directly**.
38+
- Attach the **AmazonS3FullAccess** policy (or a more restrictive custom S3 policy if required).
39+
- Complete the user creation process.
40+
41+
![Create AWS S3 User](@site/static/img/recording-live-streams/s3-integration/aws_s3_CreateUser1.webp)
42+
43+
![AWS S3 Full Access Policy](@site/static/img/recording-live-streams/s3-integration/aws_s3_fullaccess.webp)
44+
45+
![Create AWS S3 User – Final Step](@site/static/img/recording-live-streams/s3-integration/aws_s3_Create_Userfinal.webp)
46+
47+
After the user is created:
48+
- Open the newly created IAM user.
49+
- Go to the **Security credentials** tab.
50+
- Under Access keys, click **Create access** key.
51+
- Select **Application running outside AWS** (or the relevant use case).
52+
Copy and securely store the Access Key ID and Secret Access Key.
53+
54+
![AWS Access Key – Step 1](@site/static/img/recording-live-streams/s3-integration/aws_s3_accesskey_1.webp)
1755

18-
![image.png](@site/static/img/image-284629.png)
56+
![AWS Access Key – Step 2](@site/static/img/recording-live-streams/s3-integration/aws_s3_accessey_2.webp)
1957

20-
![image.png](@site/static/img/image-284729.png)
58+
![AWS Access Key – Step 3](@site/static/img/recording-live-streams/s3-integration/aws_s3_accesskey_3.webp)
2159

22-
Right now, you should have the access token, secret key, and bucket name in your hand.
60+
![AWS Access Key – Step 4](@site/static/img/recording-live-streams/s3-integration/aws_s3_accesskey_4.webp)
2361

24-
![image.png](@site/static/img/image-284829.png)
2562

26-
You also need to know the region of your bucket. If you do not have any bucket, you can create it on S3 Console
63+
You must know the AWS region where your S3 bucket is located. If you don’t already have a bucket, you can create one from the Amazon S3 console.
2764

28-
![image.png](@site/static/img/image-284929.png)
65+
![Create S3 Bucket](@site/static/img/recording-live-streams/s3-integration/aws_s3_create_bucket.webp)
2966

30-
![image.png](@site/static/img/image-285029.png)
67+
![Block Public Access](@site/static/img/recording-live-streams/s3-integration/aws_s3_block_public_access.webp)
3168

32-
![image.png](@site/static/img/image-285129.png)
3369

3470
Here you see the sample S3 credentials. You need to replace the placeholders with your actual S3 credentials. Then follow the below
3571

0 commit comments

Comments
 (0)