Amazon provides a scalable cloud storage service, a simple storage service commonly called Amazon S3. It allows storage and retrieval of large amounts of data on the internet. S3 offers a simple yet secure object storage infrastructure. It is:
Scalable
Highly available
Durable
Supports Integration with AWS
Reliable
The following are some of the key components for AWS S3.
A bucket is a container of objects you want to store in the cloud. It should have a globally unique namespace. It's analogous to a folder in a file system. All objects are stored in a bucket.
An object is the content being stored in the bucket. It is the fundamental storage unit. Considering a bucket as a folder, an object is analogous to a file in a file system. Objects have a limitation of size. They cannot be more than 5TB. An object can be any type of file, such as:
Media files
JSON or CSV files
SDK or jar files
Database backup
AWS offers various storage classes, which provide different levels of durability, availability, performance, and cost. You can choose any storage class based on your requirements.
Sign in to your AWS account and follow the following steps. In this demo, you will learn how to create, configure, and delete a bucket, upload, view, copy, and delete the object
Open the AWS management console and search for S3.
The S3 dashboard opens. Click on the "Create bucket" button.
Give your bucket a name. Ensure that the name is globally unique. Choose a region that is closer to your clients. Under object ownership, you can edit the access control list (ACL).
According to your requirements, choose the encryption and add an object lock. Then click on the "Create bucket" button.
Your bucket is successfully created. Click on the bucket name to open it.
Open your bucket by clicking on it. Click on the upload button to upload an object.
You can drag or drop your objects. Once uploaded, the following window opens.
Choose the storage class and adjust the permissions and properties of your object according to your requirements.
The object will be uploaded successfully. You can click on the object name to view its details.
The details of the object are displayed. You can use the link to view your object. However, in this case, if we click on the link, it will show an error, as we blocked permission to access the bucket while creating it.
Navigate to the buckets dashboard and click on the create folder button. This will create a folder. It will appear next to your other objects. Now you can move your object to the folder as well.
You can delete the folder by selecting it and clicking the "Delete" button.
You will need to confirm by writing "permanently delete."
Go to the bucket dashboard. Select the bucket and click on the delete button. For deleting a bucket you will need to empty the bucket. Click on "empty bucket configurations."
Once the bucket is empty, you can quickly delete it. Confirm the deletion by writing "permanently delete". The bucket will be deleted.
Free Resources