Enable S3 storage for django backend

Priority: Low
Request: I need to get S3 storage enabled for this project.
Project ID: 19770
Project Link: https://app.crowdbotics.com/dashboard/app/19770

Hi @radac, thanks for writing in!

I’ll be happy to provide this for you. Stand by for confirmation.

@radac, I’ve enabled S3 storage for you app. The following variables are now available inside your app’s production environment:

AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY
AWS_STORAGE_BUCKET_NAME
AWS_STORAGE_REGION

@dmitrii.k I get following error on build output:

botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid bucket name “”: Bucket name must match the regex

Here is my settings.py
AWS_STORAGE_BUCKET_NAME = env.str(‘AWS_STORAGE_BUCKET_NAME’, ‘’)

Can you please help me with this?

1 Like

Hi @radac,

Please make sure you’re using the standard file backend for static files and only use S3 for uploaded media files.