Storage
Decide where to place your log.
Local Storage:
When you use local storage, all the images, videos, and files you upload are stored on the server
where your application is installed. This means that the files reside directly on the server's file
system. You can access these files using your domain followed by the specific file path and
extension (e.g., yourdomain.com/yourfile.extension). Essentially, the server hosting your
application also holds and serves the uploaded content.
AWS S3 (Simple Storage Service):
On the other hand, if you opt for AWS S3, all the images, videos, and files you upload are stored in
an AWS S3 bucket. AWS S3 is a scalable object storage service provided by Amazon Web Services.
Instead of residing on the same server as your application, the files are stored in a separate and
dedicated storage infrastructure provided by AWS. Accessing these files is done through the AWS S3
endpoint, which is a specific URL provided by AWS for your S3 bucket. This separation allows for
scalable and reliable storage, and you can access your files via the AWS S3 endpoint rather than
through your application's domain.