AWS BUCKET S3
Amazon S3 (Simple Storage Service) is a scalable, durable, and secure cloud storage service offered by AWS (Amazon Web Services). It allows users to store and retrieve any amount of data, from anywhere in the world, at any time. Data in S3 is organized into buckets, which serve as containers for objects such as files, images, videos, or backups.
Key features of Amazon S3 include:
- High scalability for managing large datasets.
- Durability and availability through replication across multiple data centers.
- Fine-grained access control using permissions and policies.
- Integration with other AWS services like EC2, Lambda, and CloudFront.
Presigned URL
A Presigned URL in Amazon S3 is a secure, temporary link that grants time-limited access to a specific object in an S3 bucket without requiring additional authentication. Presigned URLs are typically used to share objects with users who do not have direct access to the S3 bucket or to enable temporary, programmatic access.
Key Features of a Presigned URL:
- Expiration Time: The URL is valid only for a specified duration, ensuring temporary access.
- Restricted Permissions: The URL can grant limited actions like GET (download), PUT (upload), or POST (multipart upload).
- No Additional Authentication Needed: Recipients of the URL do not need AWS credentials to access the object.
Steps to Create a S3 Bucket
Step 1
Login to your AWS account, on the search bar, search for and click S3 bucket
Step 3
Give the Bucket a unique name
Step 4
Ensure to block all public access, leave other parameter as default and scroll down to click create.
We have successfully created an AWS S3 Bucket, Now let's upload a file into our Bucket.
To upload a file into the Bucket do the following
Click on add file to upload a file
After uploading
NB: Don't forget to click upload which is at the bottom of the page.
Creating a Folder
Step 1
On your Bucket, click on Create Folder
Step 3
Click create
NB: you can create folder for tables, videos e.t.c.
Creating a Presigned URL
Step 1
On your bucket page, open your file
Step 2
On you object page, click on object actions
Step 3
Click on Share with presigned URL
Step 4
Input the number of minutes or hours you want the Presigned URL to last and click create
Step 5
Copy and paste the URL on a new browser Tab
Conclusion
Following the steps in this article we have successfully create an AWS Bucket S3 with a Presigned URL.
Top comments (0)