DEV Community

Cover image for What is S3 Bucket & How to mount a S3 Bucket as a Drive (network drive)
Surya Shankar
Surya Shankar

Posted on

What is S3 Bucket & How to mount a S3 Bucket as a Drive (network drive)

S3 bucket [Simple Storage]

  • Also known as Object Storage & is similar to your computer storage (like local disk D:) but virtually.
  • In this storage, you can store all of your data (pics, videos and documents , files).
  • 99.99% availability
  • 99.999999999% (11x9) durability
  • Storage : 0 bytes to 5 terabytes
  • Tiered Storage Available
  • Lifecycle Management
  • Versioning
  • Encryption
  • Secure your data using Access Control Lists and Bucket Policies.

How to create a S3 bucket

  • Open the Amazon S3 console

Image description

  • Choose Create bucket.

Image description

  • Enter Bucket name, Start with a lowercase letter or number.
  • In Region, choose the AWS Region where you want the bucket to reside.
  • ACLs enabled

Image description

  • You can Enable versioning

Image description

  • Choose Create bucket.

  • Now You Have Successfully Created a S3 Bucket.

  • Inside that bucket you can add upload any file.

Image description

  • Click on add file , browse and select it.

Image description

  • Make Url public .

Image description

  • Copy and paste that public Url in browser[Publicly accessible].

Image description

After that we have to create a user(IAM user)

  • Search for IAM.

Image description

  • Go to users.
  • Add User

Image description

  • Next permission

  • Now select attach existing policies and search for s3 full access

Image description

  • Next tag
  • Create user.

Image description

  • Now click on download.csv file and copy access and secreat keys.

Image description

Download Tntdrive

  • One such way is to download a Tntdrive.

  • open Tntdrive
    -Write account name , select account type Amazon S3 & paste access and secreat keys.

Image description

  • Click on add new account
  • Add new mapped drive
  • Amazon s3 bucket - browse and select the IAM user you created.

Image description

  • Add new drive

Image description

  • click on open

Image description

  • Network drive successfully created on your local disk

Image description
You can now add anything inside this disk , it will reflect in s3 bucket.

Discussion (0)