How to use AWS S3 Storage
AWS provides a dedicated service to upload files to Amazon s3 easily and quickly.
AWS S3 is a mass storage service, virtually unlimited with really impressive advantages.
To get started with AWS S3, do the following
- Go to this link to set up an S3 bucket
- Click on Create Bucket and enter a name (names of the buckets are shared among the entire Amazon S3 network, so if you create a bucket, nobody else can use that name for a new bucket).
- Now we need to create a bucket policy, so we need to go to this link. To generate a proper policy you need to get the following image and select DeleteObject, GetObject, and PutObject as actions.s
This JSON result will be put in the Bucket Policy tab located here.
5. Now we will go here to get our Access Key Id and Secret Access Key to put them on our .env file.