Step 1: Create S3 Bucket
First you need to create bucket and user so let's follow bellow step:
1. Go to Amazon Web Service Console and Login.
2. Click on S3 from Service Lists
3. Click on "Create Bucket" button and you will found bellow forms. you can enter your bucket name there.
4. Create Create IAM User. Click here to create IAM User.
5. Click on "Create User" button as bellow show you.
6. Next Add User Name and select "Programmatic access" from access type. then click on next.
7. Next Select “Attach Existing Policy Directly” and choose "AmazonS3FullAccess" from permission link.
8. It's optional so you can skip and click to next.
9. You can view user details and then click on "Create User" button.
10. Now you will see created user in link. there is a "Access Key ID" and "Secret Access Key" that we need on .env files.
First you need to create bucket and user so let's follow bellow step:
1. Go to Amazon Web Service Console and Login.
2. Click on S3 from Service Lists
3. Click on "Create Bucket" button and you will found bellow forms. you can enter your bucket name there.
4. Create Create IAM User. Click here to create IAM User.
5. Click on "Create User" button as bellow show you.
6. Next Add User Name and select "Programmatic access" from access type. then click on next.
7. Next Select “Attach Existing Policy Directly” and choose "AmazonS3FullAccess" from permission link.
8. It's optional so you can skip and click to next.
9. You can view user details and then click on "Create User" button.
10. Now you will see created user in link. there is a "Access Key ID" and "Secret Access Key" that we need on .env files.
Mã:
AWS_ACCESS_KEY_ID=AKIAVAEWWDTDY...
AWS_SECRET_ACCESS_KEY=Zp/wgwj46SAC....
AWS_DEFAULT_REGION=us-east-2
AWS_BUCKET=itsolutionstuff-bucket
AWS_USE_PATH_STYLE_ENDPOINT=false
Chỉnh sửa lần cuối: