This article is a mirror article of machine translation, please click here to jump to the original article.

View: 1089|Reply: 1

AWS S3 Object Storage Creation Bucket and IAM Policy Setup tutorial

[Copy link]
Posted on 2025-4-4 22:58:15 | | | |
Requirements: Use AWS S3 object storage, create a standard bucket to store files, and create an IAM policy to allow access to only the bucket through the key call interface.

Create a new S3 bucket

First, open the S3 Control Panel at the address:The hyperlink login is visible., directly create a new bucket with a custom name (for example:itsvse-20250404), and other options can be left as default (or modified according to your actual situation). As shown below:



IAM configuration

Open the IAM dashboard at the following address:The hyperlink login is visible.to create a new policy to allow access only to the itsvse-20250404 bucket in AWS S3, as shown in the following figure:



Policy JSON configuration:


Reference:The hyperlink login is visible.

Create a new user and apply this policy as shown in the following figure:



To attach the policy directly, search for the newly created "s3-only-itsvse-20250404" policy and check it, as shown in the following figure:



After the new creation is completed, select the newly created user and create an access key, as shown in the following figure:



Copy save key!!!!!!!

Test with the AWS CLI

The AWS Command Line Interface (AWS CLI) is a unified tool for managing AWS products. With just one tool to download and configure, you can use the command line to control multiple AWS products and leverage scripts to automate those services.

AWS CLI Installation:The hyperlink login is visible.
AWS CLI commands:The hyperlink login is visible.
AWS Windows version download:The hyperlink login is visible.

Once the download .msi is complete, just install it directly. (omitted)

After the installation is complete, enter the following command in the cmd window to check the version:


As shown below:



Configure the AWS CLI access key with the following command:


Just enter it according to the prompts.

Upload nginx.conf on your desktop to the itsvse-20250404 bucket under the command:




(End)




Previous:Use the open-source tool Restic Incrementally back up disk files
Next:Alibaba Cloud OSS Object Storage Tutorial on Creating a New Bucket and Setting RAM Policy
 Landlord| Posted on 2025-4-8 15:25:14 |
Alibaba Cloud OSS Object Storage Tutorial on Creating a New Bucket and Setting RAM Policy
https://www.itsvse.com/thread-10986-1-1.html
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com