Forums

Possible to mount an S3 bucket?

I would like to use an S3 bucket to store the files uploaded to my website. How do I mount an S3 in Pythonanywhere. I don't have access to apt-get, so I couldn't do it via fuse, follow this guide: https://medium.com/@MicroPyramid/how-to-mount-s3-bucket-on-local-disk-470f5208e9d

I am using web2py as my framework. I know web2py has theoretical support for s3, but I am having difficulty implementing it, and it would be all around easier to do it via a mounted directory linked to my S3 bucket.

We don't have a way for you to mount S3 buckets on PythonAnywhere. You can probably use the S3 API to move files into and out of S3, though.