Page tree
Skip to end of metadata
Go to start of metadata

Amazon S3 (Simple Storage Service) offers secure and scalable cloud storage solutions for your media files, ensuring reliability and accessibility. Follow these steps to seamlessly integrate Amazon S3 storage into MetaFox

Set Up Amazon S3 Bucket

You can refer to the Amazon S3 User Guide for a detailed guide on this service. Generally, setting up an Amazon S3 bucket includes following steps:

  • Log into Amazon Web Services (AWS) Console with your AWS account using your credentials. From the AWS Management Console, navigate to the Amazon S3 service.
  • Click the "Create bucket" button to initiate the bucket creation process.
  • Choose a unique bucket name and select the region closest to your target audience.
  • Set bucket properties, such as logging, versioning, and tags, based on your requirements.
  • Turn Block all public access setting off
  • Define bucket-level permissions using Access Control List (ACL). Decide who can read and write data to the bucket.
  • Create a bucket policy to control access on a granular level. Assign permissions to users, groups, or even specific IP addresses.


Set Up User Credentials

Navigate to AWS Identity and Access Management (IAM) and create a new user with permissions to access the above Amazon S3 bucket. Please refer to Amazon IAM User Guide if needed.

  • Once user is created, obtain the access key and secret for the user. Ensure that these credentials are securely stored. We will use them to configure in MetaFox site then.


Configure S3 on MetaFox

Let's log into AdminCP of your MetaFox site. Then go to Settings > Storage > Configurations

There are some storage configurations in this page.

You can edit the existing S3 configuration or create a new configuration of S3 storage if needed.

You will need to fill in the Edit/Create form at least all required fields (Access Key, Secret Key, Bucket and Region) that you have obtained above. Then click the Save Changes button.

Congratulation! You just completed the setup for Amazon S3 on MetaFox site. You can configure new storage for items now


  • No labels