AWS - TwoGears/hakomo-guides GitHub Wiki

Setting up an S3 instance to store static and media files

full guide here

tl;dr:

  • Login to aws
  • Make a bucket
    • Navigate to S3 under STORAGE & CONTENT DELIVERY
    • If you don't have a bucket, create one (be sure to create it in the same region as your app)
    • Add CORS permissions to the bucket:
      • Select the bucket
      • Click properties on the right top
      • Permissions -> Add/Edit Cors Configuration -> Save
      • Save
  • Credentials
    • For root user
      • Go to security credential
      • Create New Access Key
      • Make sure to download the credentials on creation.
    • For IAM users
      • Navigate to IAM under Security & Identity
      • Go to users from the left sidebar, and click Create New Users
      • Every user that you create, will have a credential after you create them.
      • Make sure to download the credentials on creation.
      • TODO Create group with permissions