Go to: https://s3.console.aws.amazon.com/s3/home
Click Create bucket, and fill in:
Choose your preferred (same as in your AWS profile), e.g.,
us-east-1
If you are using a different AWS region, you will need to update the region in the AWS Management Console on the upper right, next to Account ID
face-recognition-users
This affects whether objects uploaded by others are owned by you (the bucket owner)
Recommended Setting:
This determines if objects can be made public.
*Recommended Setting** (FOR PRIVATE FACE DATA):
📌 Why? You do not want anyone from the internet accessing user face images.
If testing requires public access temporarily, you can unblock later, but always re-enable for production.
This stores multiple versions of the same file.
Encrypts objects at rest.
Recommended: Enable
📌 Encryption helps protect sensitive facial data.
You can skip most of this unless needed for logging or replication. Tags: Not needed now (optional for cost tracking)
Object Locking: Leave disabled unless you need WORM (write once, read many)
Final Step: Create Bucket
Click “Create bucket” to finish.
faces/
folder (optional organization).Setting | Value |
---|---|
Object Ownership | Bucket owner enforced (ACLs off) |
Block Public Access | All checked |
Versioning | Disabled |
Encryption | SSE-S3 |
Bucket Name | your_s3_name |
Folder (optional) | faces/ |
.env
Create a .env
file in your project folder (or like the .env.example in the clone project of this workshop, the others env like Dynamo can be build later in this workshop):
AWS_REGION=us-east-1 #or the region specified that you selected
S3_BUCKET=your-bucket-name
REKOGNITION_COLLECTION= your-collection-name