S3 Bucket and Endpoint

We have the RDS instance ready to go for storing all of the relational data for our application. But we still need an S3 bucket to store all the files for our app.

In this part, we will setup a new S3 bucket and setup a VPC endpoint so that our private subnets are able to access the bucket.

S3 Bucket

step 1:

Navigate to the S3 dashboard

Navigate to S3 in the AWS console
step 2:

Click on Create bucket

Click Create bucket
step 3:

Give your bucket a unique and descriptive name

Make sure this is in the same region as the VPC

Enter a unique bucket name
step 4:

Leave all the other setting alone and click Create bucket

Keep all other settings as default and click Create bucket

We want this bucket to still be completely private from the public internet so the default privacy settings are good here. We will only grant access to items in the bucket using IAM.

However, we do need to change the CORS policy to allow IAM access from the web browser.

step 5:

Select the bucket you just made

Select your newly created bucket
step 6:

Click on Permissions

Click on the Permissions tab
Cloud Course
Cloud Course
$89.70
$299.00 Lifetime
  • 81+ learning resources
  • 57 lessons and tutorials
  • 15 hands-on deployments
  • 9 quizzes
  • 29 videos (4h 17m 38s)
  • More content coming soon
  • Unlimited lifetime access to all course content
  • Deployment assessment CLI tool
  • Exclusive Discord access
Original Price:$299.00
Discount:-$209.30
Total:$89.70