Table of Contents
Creating a S3 bucket
To create a bucket
- Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
- Choose Create bucket.The Create bucket wizard opens.
- In Bucket name, enter a DNS-compliant name for your bucket.The bucket name must:
- Be unique across all of Amazon S3.
- Be between 3 and 63 characters long.
- Not contain uppercase characters.
- Start with a lowercase letter or number.
After you create the bucket, you can’t change its name. To know more about S3, go to https://nerdyelectronics.com/cloud/what-is-amazon-s3/
4. In Region, choose the AWS Region where you want the bucket to reside.
5. In Bucket settings for Block Public Access, choose the Block Public Access settings that you want to apply to the bucket.
6. Choose Create bucket.
Uploading files to S3
When you upload a file to Amazon S3, it is stored as an object. Objects consist of the file data and metadata that describes the object. You can have an unlimited number of objects in a bucket.
You can upload any file type—images, backups, data, movies, etc.—into an S3 bucket. The maximum size of a file that you can upload by using the Amazon S3 console is 160 GB.
You can upload files by dragging and dropping or by pointing and clicking. To upload folders, you must drag and drop them. Drag and drop functionality is supported only for the Chrome and Firefox browsers.
To upload folders and files to a bucket by using drag and drop
- Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
- In the Bucket name list, choose the name of the bucket that you want to upload your folders or files to.
- In a window other than the console window, select the files and folders that you want to upload. Then drag and drop your selections into the console window that lists the objects in the destination bucket.
The files you chose are listed in the Upload dialog box.
- In the Upload dialog box, do one of the following:
- Drag and drop more files and folders to the console window that displays the Upload dialog box. To add more files, you can also choose Add more files. This option works only for files, not folders.
- To immediately upload the listed files and folders without granting or removing permissions for specific users or setting public permissions for all of the files that you’re uploading, choose Upload.
- To set permissions or properties for the files that you are uploading, choose Next.
- Choose Next.
- In the Upload review page, verify that your settings are correct, and then choose Upload. To make changes, choose Previous.
To upload files to a bucket by pointing and clicking
- Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
- In the Bucket name list, choose the name of the bucket that you want to upload your files to.
- Choose Upload.
- In the Upload dialog box, choose Add files.
- Choose one or more files to upload, and then choose Open.
6. After you see the files that you chose listed in the Upload dialog box, do one of the following:
- To add more files, choose Add more files.
- To immediately upload the listed files, choose Upload.
This is how we upload and store files in Amazon S3 bucket.