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
- Open your preferred web browser and navigate to the AWS Management Console.
- Sign in with your AWS account credentials.
Step 2: Open the S3 Console
- In the AWS Management Console, type
S3
in the search bar and select S3 from the drop-down list. - This will take you to the Amazon S3 dashboard.
Step 3: Create a New Bucket
- On the S3 dashboard, click the Create bucket button.
- 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
- 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.
- Default encryption: You can enable default encryption to automatically encrypt all objects stored in the bucket.
Step 5: Review and Create
- Review your settings to ensure everything is correct.
- 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
- In the AWS Management Console, type
IAM
in the search bar and select IAM from the drop-down list. - This will take you to the Identity and Access Management (IAM) dashboard.
Step 6.2: Create a New User
- On the IAM dashboard, click the Users tab in the navigation pane on the left.
- Click the Add user button.
Step 6.3: Configure User Details
- User name: Enter a name for the new user.
- Click Next button.
Step 6.4: Set Permissions
- On the Set permissions page, choose the Attach policies directly option.
- In the search bar, type
AmazonS3FullAccess
. - Check the box next to the AmazonS3FullAccess policy.
Step 6.5: Review and Create User
- Review the user details and permissions to ensure everything is correct.
- Then click the Create user button.
Step 6.6: Access Keys
- 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
- Important: You'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.