Forem

Cover image for Creating a Storage Bucket in AWS Using S3.
Busa Ayim-Odu
Busa Ayim-Odu

Posted on

1 1 1 1

Creating a Storage Bucket in AWS Using S3.

Project: Creating a Storage Bucket in AWS Using S3

This guide walks you through creating an AWS S3 bucket, a widely used service for scalable, durable, and secure cloud storage.

Step-by-Step Instructions

  • Step 1: Log in to AWS Management Console Go to the AWS Management Console. Enter your credentials to access your AWS account. AWS Signing -Step 2: Navigate to S3 In the AWS Console, search for S3 in the search bar at the top. S3 Click on S3 to open the service dashboard. -Step 3: Create a New Bucket Click the "Create bucket" button. Create Bucket

Fill in the following fields:
Bucket Name: Enter a unique name (e.g., my-storage-bucket2).
AWS Region: Choose the region closest to your users or application (e.g., us-east-1).
AWS1

Configure optional settings:

  • Block Public Access Settings: Leave the default settings for now to block all public access.
    Aws2

  • Versioning: Enable this if you want to keep multiple versions of objects for recovery.
    aws3

  • Encryption: Choose AES-256 or SSE-S3 for data security.
    Click "Create bucket" at the bottom.
    aws4

  • Step 4: Upload Objects to the Bucket
    Click on the name of your newly created bucket to open it.
    aws5
    Select "Upload" to add files.
    aws6
    Drag and drop files or browse to select them from your local machine.
    aws7
    Click "Upload" to transfer the files to your bucket.
    aws8

  • Step 5: Set Bucket Permissions (Optional)
    Navigate to the Permissions tab.
    aws9

  • Select a Storage class and click upload.
    aws10
    aws11

  • Step 6: Access the Bucket and Files
    Each uploaded object gets a unique URL.
    aws12

Go to the Objects tab and click on an object to view its details.
aws14
aws15
Creating a Presigned URL.
aws16
aws17
Copy the Object URL to share or access the file.
aws18

  • Step 7: Automate and Manage Storage (Optional) Lifecycle Policies: Set up rules to move objects to cheaper storage tiers or delete them after a specified time. aws19 aws20

Conclusion
Congratulations! You’ve successfully created and configured an AWS S3 bucket for your storage needs. S3 buckets can be used for various purposes like hosting static websites, backing up data, or storing application assets.

For further exploration, try enabling features like Bucket Metrics or configuring Access Logs to monitor usage and performance. Thank you for you time!

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read full post →

Top comments (0)

Billboard image

Deploy and scale your apps on AWS and GCP with a world class developer experience

Coherence makes it easy to set up and maintain cloud infrastructure. Harness the extensibility, compliance and cost efficiency of the cloud.

Learn more

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay