NorrCompetition | NorrNext Documentation
DocumentationNorrCompetition
  • 🚀Getting started
    • Technical Requirements
    • Installation and Updates
  • 🛠️Configuration
    • Component Options
    • General
    • Contests
    • Contest
    • Entries
    • Entry
    • Categories
    • Category
    • Images
    • Comments
    • Contest Form
    • Permissions
  • 🖼️Contests
    • Managing Contests
    • Creating Contest
    • Contest Layout Options
    • Closing Contest
  • 🏆Entries
    • Managing Entries
    • Adding Entry
    • Approving Entry
    • Entry Data Comparison
    • Entry Layout Options
    • Submitting Entry Form
    • Contestant's Profile
    • Votes Log
  • 📂Categories
    • General Information
    • Managing Categories
    • Creating Category
    • Category Layout Options
  • 🧩Fields
    • General Information
    • Managing Fields
    • Field Types
    • Creating Field
  • 🔋Modules
    • NorrCompetition Entries
    • NorrCompetition Contests
    • NorrCompetition Grid
  • 🔌Plugins
    • NorrCompetition Notifications
    • NorrCompetition Smart Search
    • NorrCompetition Search
    • NorrCompetition Sitemap
    • NorrCompetition Profile Link
    • Application for EasySocial
    • NorrCompetition Application for JomSocial
    • AUP plugin for NorrCompetition
    • NorrCompetition Image Moderation
      • Sightengine Setup
      • Plugin Configuration
  • 💬Comments
    • Integration with Facebook
    • Integration with JComments
    • Integration with Komento
    • Integration with Disqus
    • Integration with VK.com
  • ☁️Remote Storage
    • General Information
    • AWS S3
  • 🖥️Customisation
    • Template Overriding
    • Using content plugins on entry page
    • Link to contestant
    • Events
      • Content
      • Contest
      • Entry
      • Entry Form
      • Field
      • Vote
      • Other
  • ✍️Localisation
    • Language pack installation
    • How to take a part in NorrCompetition localisation
  • 📜Best Practices
    • Recommendations on image sizes
    • Use on multilingual sites
    • Tutorial: How to Create Photo/Video Voting Contest on Joomla
    • Tutorial: Monetize Voting Contests via Membership
    • Tutorial: Monetize Voting Contests via Points
    • Embedding HTML snippets on example of music contest
  • 💡FAQ
    • How the protection from unfair voting is implemented?
    • What notifications does the component send?
    • Create and edit contests on front-end
    • Submitting Entries by Unregistered Users
    • How to install sample data
    • How to change the order of tabs with comments
    • Using navigation module (breadcrumbs)
    • NorrCompetition and YOOtheme Pro
  • 🔍Troubleshooting
    • I do not get notifications from NorrCompetition
    • I get an error or white screen on photo upload
    • No images appear after submitting entries
    • Submit button is not working
  • User is not able to vote. Errors in the console
Powered by GitBook
On this page
  • Set up Aamazon S3
  • Plugin Configuration
  1. Remote Storage

AWS S3

PreviousGeneral InformationNextTemplate Overriding

Last updated 2 years ago

Set up Aamazon S3

Create IAM User

First we advice to create a dedicated user for API access. Please read more in .

During cretion assign "Programmatic access" to this user.

On the last screen copy Access key ID and Secret access key. These will be used later for plugin configuration. You can also download these credentials.

Create a bucket

Proceed to S3 service and click "Create". The wizard will open.

One the first step set you bucket name

One the first step set you bucket name (for example, ncuploads) and select your region.

One the first step set you bucket name (for example, ncuploads) and select your region.

One the second step you can configure different options or simply skip it

One the third step you must uncheck "Block all public access", otherwise API will not have access to your bucket.

One the last step review your settings and click on "Create bucket".

The bucket will be created and you will see it in the list.

Set up public access policy

To enable public access for your bucket you should set a special policy rule. Proceed to your bucket > Permissions > Bucket Policy and paste the following rule:

{ "Version": "2012-10-17", "Statement": [ { "Sid": "AllowPublic", "Effect": "Allow", "Principal": { "AWS": "*" }, "Action":[ "s3:PutObject", "s3:PutObjectAcl", "s3:GetObject", "s3:GetObjectAcl", "s3:DeleteObject" ], "Resource": "arn:aws:s3:::ncuploads/*" } ] }

Of course you should change ncuploads to your actual bucket name.

Plugin Configuration

When S3 bucket is created we are ready to configure the plugin.

  1. Install Aamazon S3 storage plugin

  2. Proceed to configuration

  3. Set the parameters:

    • Access key ID - your access key ID;

    • Secret access key - the key associated with access key;

    • Bucket - the name of the bucket;

    • Prefix (folder) - if you created a folder inside your bucket then set the name of it here;

    • Region - your region

    • Storage Class - select from "Standard" or "Reduced Redundancy"

One the second step you can configure different options or simply skip it
One the third step you must uncheck "Block all public access", otherwise API will not have access to your bucket.
One the last step review your settings and click on "Create bucket".
To enable public access for your bucket you should set a special policy rule.
Flysystem - AWS S3 for NorrCompetition
☁️
Creating an IAM User in Your AWS Account
One the first step set you bucket name
One the last step review your settings and click on Create bucket
Flysystem - AWS S3 for NorrCompetition
One the second step you can configure different options or simply skip it
One the third step you must uncheck Block all public access, otherwise API will not have access to your bucket.
To enable public access for your bucket you should set a special policy rule