How to create an Amazon S3 bucket and generate your IAM credentials (API key and Secret key) using the new 2022 AWS S3 interface?


Today’s tutorial is going to be split in three main steps and I am going to explain you how to:

  1. Create an Amazon S3 bucket
  2. Generate your Amazon S3 IAM (Identity and Access Management)credentials
  3. Apply the correct bucket policies

To begin you will need to own or create an AWS account. To do that you can follow our guide “how to create an AWS account today“. If you already created your account it’s ok to continue following this tutorial.

1. Create an Amazon S3 bucket

1.1. Authenticate into your AWS account ant then go to search and type in “S3”. You will see the S3 service appearing bellow. Click on it.

1.2. On the right part of the screen you will see an orange button with the name “Create bucket” press it and you will be redirected to Create bucket.

1.3. Enter your unique bucket name (check out AWS S3 bucket naming rules) and select the AWS Region in which you want your bucket to be in.

1.4. Block Public Access Settings for this Bucket

Ensure that you disable the “Block all public access” option if the objects stored in your bucket are intended to be publicly accessible. This is particularly important if you are storing images and videos for a website. Enabling this setting restricts public access to the objects within the bucket, potentially causing errors when attempting to access them.

Note: Upon disabling “Block all public access,” it is crucial to acknowledge that the current settings may result in both the bucket and its objects becoming public. This acknowledgment is necessary to proceed.

1.5. Create bucket – press on the orange button at the end of the page to create the bucket.

2. Generate your AWS IAM (Identity and Access Management) credentials

2.1. Search for “IAM” in the top search bar and click on it after it finds it.

2.2. In the left side menu click on users

2.3. On the right side click on the blue button “Add users”

2.4. Write your username and Select AWS access type by checking the box next to “Access key – Programmatic access” (Enables an access key ID and secret access key for the AWS API, CLI, SDK, and other development tools) and then click at the bottom on the blue button “Next: Permissions”

2.5. On “Set permissions” screen click on the box “Attach existing policies directly”. In the search bar below, look for for “AmazonS3FullAccess”. Click at the bottom on the blue button “Next: Tags”

2.6. Add tags if you need them and after that click at the bottom on the blue button “Next: Review”. Review your details and if everything is ok click at the bottom on the blue button “Create user”.

2.7. Copy the newly created IAM credentials for safe keeping. You won’t have another chance. If you loose them you will need to create another user.

Thank you for following our tutorial. We encourage you to leave us a comment so we know you are there 🙂

Table of Contents

Your Path to Exceptional Web Solutions

Sail towards online greatness with Upcasted! We specialize in crafting exceptional websites and web applications. Join us to enhance your digital presence and create something extraordinary together!

Start a project

Quick Pricing Quotes for Self-Assured Clients

If you already have a clear vision for your project and don’t require professional consultation, you can quickly provide your details below, and we’ll get started.

We’re here to streamline the process for those who are ready to take the next step. If you have any questions, don’t hesitate to reach out. Let’s get to work!

At Upcasted, we’re dedicated to providing you with tailored solutions for your web projects. To ensure we fully understand your needs and objectives, we offer a 30-minute consultation call with one of our web specialists.

Why Schedule a Consultation?

  • Personalized Advice: During this call, we’ll get to know your business and project requirements better, allowing us to provide personalized recommendations.

  • Clarify Your Goals: It’s the perfect opportunity to discuss your goals, budget, and timeline, helping us create a roadmap that aligns with your vision.

  • Expert Insights: Our experienced team can offer initial insights and suggestions to help you make informed decisions.

Book your appointment:

User e-mail*
Additional information*
Feel free to provide any additional information that could enhance our understanding of your requirements and allow us to better prepare for our upcoming meeting. Your insights will contribute to a more productive and tailored consultation. We appreciate your collaboration in ensuring that our web expert is fully equipped to address your specific needs during the session.