How to create S3 storage on Amazon AWS and get Credentials

Amazon Simple Storage Service (S3) is a scalable object storage service that allows you to store and retrieve any amount of data. Follow these steps to create an S3 bucket.

Prerequisites

An AWS account. If you don't have one, you can create it at aws.amazon.com.

Step 1: Sign in to the AWS Management Console

  1. Open your preferred web browser and navigate to the AWS Management Console.
  2. Sign in with your AWS account credentials.

Step 2: Open the S3 Console

  1. In the AWS Management Console, type S3 in the search bar and select S3 from the drop-down list.
  2. This will take you to the Amazon S3 dashboard.

Step 3: Create a New Bucket

  1. On the S3 dashboard, click the Create bucket button.
  2. Fill in the following details:
    • Bucket name: Enter a unique name for your bucket. The name must be globally unique across all existing bucket names in Amazon S3. Remember this name or save it for later
    • Region: Choose the AWS Region where you want the bucket to be created. It's usually best to choose a region close to you or your customers to reduce latency. Remember this region or save it for later

Step 4: Configure Bucket Options

  1. Bucket settings for Block Public Access: By default, Amazon S3 blocks all public access to your bucket. You can modify these settings based on your requirements.
  2. Default encryption: You can enable default encryption to automatically encrypt all objects stored in the bucket.

Step 5: Review and Create

  1. Review your settings to ensure everything is correct.
  2. Click the Create bucket button at the bottom of the page.

Step 6: Create a New IAM User with S3 Access

Step 6.1: Open the IAM Console

  1. In the AWS Management Console, type IAM in the search bar and select IAM from the drop-down list.
  2. This will take you to the Identity and Access Management (IAM) dashboard.

Step 6.2: Create a New User

  1. On the IAM dashboard, click the Users tab in the navigation pane on the left.
  2. Click the Add user button.

Step 6.3: Configure User Details

  1. User name: Enter a name for the new user.
  2. Click Next button.

Step 6.4: Set Permissions

  1. On the Set permissions page, choose the Attach policies directly option.
  2. In the search bar, type AmazonS3FullAccess.
  3. Check the box next to the AmazonS3FullAccess policy.

Step 6.5: Review and Create User

  1. Review the user details and permissions to ensure everything is correct.
  2. Then click the Create user button.

Step 6.6: Access Keys

  1. After the user is created, you will see a confirmation page with the user's access keys. These include the Access key ID and Secret access key. You'll need both, so remember them or save them for later
  2. ImportantYou'll need both, so remember them or save them for later (or download those credentials)

Conclusion

You have successfully created an S3 bucket and a new IAM user with full access to S3. The new user can now manage the S3 bucket and perform all necessary operations.

You can now proceed to create a backup according to the backup type:

Additional Resources

For more detailed information, refer to the AWS IAM Documentation.