S3 & CloudFront Integration
S3 & CloudFront practically occurs at the Product level. One Product can only integrate with one S3 Bucket and one CloudFront that linked with the corresponding S3 Bucket.
Manage Firebase Integration in your Product:
Where: PMP -> Product -> Product config -> [Your Product] -> Tab "Integration Infor" -> AWS - S3 card
There are functions of integration available within PMP:
View files listing in configurated Bucket
View file's detail information
Search files name in the folder
Export file listing to csv
Download files
Upload Files into S3
Edit file name, file's metadata
Copy or move file to another bucket product that you can access in PMP
Create invalidation (Clear file's cache on S3 sever, more information in Amazon CloudFront documentation)
Delete files
Manage AWS - S3 in PMP
When creating a new product in PMP, the system prompts you to either configure your existing AWS - S3 or use the default bucket of PMP. If you do not configure your existing bucket when creating the product, you can still configure it later by requesting support in the Slack channel #pmp-support.
If using the default bucket of PMP, you need to create the CloudFront for it also, after creating product successfully.
Select the Product that you want to create it CloudFront
Navigate to the Integration Info tab in the Product detail page
Open AWS S3 Integration Card
Click "Click Create CloudFront"
*Notes: Only Product Owner or Studio Admin & Manager can perform this action
AWS - S3 validation rule in PMP
User can copy and clear cache with file name have white space character (support for existing files in S3)
User can only upload files & folder with valid character & size into PMP
Only Allow upload files or folders with names containing alphabet letters, numbers, underscores (_), hyphens (-), and periods (.).
One file or folder size must not exceed 50MB
Total file size in one session must not exceed 300MB
Some case about generating CloudFront link with file have special character
File have white space character: replace white space with character “+”. Example:
acmv4_VN copy.csv → acmv4_VN+copy.csv
หญ้าแห้ง.csv->หญ้าแห้ง.csv
With the file have white space or special character, non-alphabet, non-numbers in its name, system will replace the FIRST special character with “*” and remove the rest its name. Example:
/Songs/SongConfig 5/List am nhac acmv4.csv → /Songs/SongConfig*
/Songs/SongConfig1/List am nhac acmv4.csv → /Songs/SongConfig1/List*
/Songs/SongConfig1/List am nhac acév4.csv → /Songs/SongConfig1/List am nhac ac*
/Songs/SongConfig1/หญ้าแห้ง.csv → /Songs/SongConfig1/*