Table of Contents
Overview
If a segment file is over 10 Mb in size, the file needs to be uploaded to a Beeswax S3 bucket. Follow the instructions below for this process.
Bid and Delivery Model Upload Instructions:
When a bid model is uploaded Beeswax will replicate that bid model data and load into every region where the customer has a bidder active.
Provide IAM ARN
- Give your Beeswax account representative your AWS Identity & Access Management (IAM) Amazon Resource Name (ARN).
- Refer to AWS documentation for details.
- Use only "user" or "role" ARNs, not "group" or "root".
Wait for Confirmation
- Beeswax will notify you when your permissions have been added to the bucket policy.
- Do not upload files before receiving this notification.
Apply ACL Policy
Beeswax will provide an ACL policy for your user:
{
"Sid": "AllowAssumeBeeswaxRole",
"Effect": "Allow",
"Action": "sts:AssumeRole",
"Resource": "arn:aws:iam::164891057361:role/customer-s3-bid-models-<customer_buzz_key>"
}Replace
<customer_buzz_key>
with your actual buzz key.
Assume Role
- Assume the role from your ACL policy to access the Beeswax S3 bucket.
- Create a new profile in
~/.aws/config
using your AWS user to assume the specified role. - Refer to AWS CLI documentation for details.
Upload Bid Model File
- Upload to:
s3://beeswax-data-us-east-1/bid_models/<customer_buzz_key>/
- Use
--profile
option with the profile created in step 4. - Include the forward-slash at the end of the bucket path to avoid "Access Denied" errors.
- For EMEA or APAC, use
beeswax-data-eu-west-1
orbeeswax-data-ap-northeast-1
respectively.
- Upload to:
Set File Permissions
- Run this AWS CLI command:
aws s3api put-object-acl \ --profile <assumeBeeswaxRoleProfile> \ --bucket beeswax-data-us-east-1 \ --key bid_models/<customer_buzz_key>/file_name.txt \ --acl bucket-owner-full-control \ --region us-east-1
- Replace placeholders with your actual values.
- Adjust bucket and region for EMEA or APAC uploads.
- Run this AWS CLI command:
There are three options for the continent field: NAM, EMEA, APAC. When the continent field is not passed then it will default to NAM.