How to store and extract data from AWS S3 bucket?

AWS S3 bucket

Creating a S3 bucket

To create a bucket

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
  2. Choose Create bucket.The Create bucket wizard opens.
  3. 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

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
  2. In the Bucket name list, choose the name of the bucket that you want to upload your folders or files to.
    Bucket name
  3. 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.
    Select the files and folder to upload

    The files you chose are listed in the Upload dialog box.

  4. In the Upload dialog box, do one of the following:
    1. 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.
    2. 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.
    3. To set permissions or properties for the files that you are uploading, choose Next.
    upload files and folders
  5. Choose Next.
  6. 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

  1. Sign in to the AWS Management Console and open the Amazon S3 console at https://console.aws.amazon.com/s3/.
  2. In the Bucket name list, choose the name of the bucket that you want to upload your files to.
    bucket name
  3. Choose Upload.
    upload
  4. In the Upload dialog box, choose Add files.
    add files
  5. Choose one or more files to upload, and then choose Open.
    upload files

    6. After you see the files that you chose listed in the Upload dialog box, do one of the following:

    1. To add more files, choose Add more files.
    2. To immediately upload the listed files, choose Upload.

    This is how we upload and store files in Amazon S3 bucket.

Sharing is Caring!!

Leave a Reply

Your email address will not be published. Required fields are marked *