Creating an S3 Bucket
This section explains how to create an Amazon S3 bucket that will store your static website files. The bucket will later be integrated with CloudFront for secure global content delivery.
-
Sign in to the AWS Management Console and open the Amazon S3 console.
-
Choose the Region where you want to create the bucket.
Tip
You can create the bucket in any Region. CloudFront will distribute the content globally regardless of the bucket's Region.
-
Select Create bucket.
-
Enter a unique Bucket name.
Note
Bucket names must be globally unique. For best alignment with your architecture, you may use your domain name (for example,
example.comorwww.example.com). -
Ensure that Block all public access remains enabled.
Warning
Do not make the bucket public. CloudFront will handle all public access. Keeping public access blocked prevents exposing your files directly to the internet.
-
(Optional) Enable Bucket Versioning if you want to retain previous versions of files.
-
Under Default encryption, select the encryption type required for your environment.
-
Review your settings and choose Create bucket.