Step 1: Log on to your AWS Console.
Step 2: go to the Search bar ” S3 services “
Step 3: Click on S3 Scalable Storage in the Cloud” and proceed further
Step 4: Create a new Bucket
In the general configuration category:
Step 5: Enter the bucket name (delete-object-put object bucket in our case)
Step 6: Next, choose the AWS region, [Asia Pacific (Mumbai) ap-south-1].
ACLs disabled (Recommended)
Disable
( choose the Disable )
Amazon S3 managed keys (SSE-S3)
Bucket Key = Enabel
Step 7: Click on Create Bucket.
If the bucket is created successfully, you will see a message like this on the top of the page:
Creating an IAM (Identity and Access Management) service in AWS (Amazon Web Services) can be done by following these steps:
1. Go to the IAM service by searching for it in the search bar or selecting it from the list of services.
2. Once in the IAM console, click on the “Users” tab in the left-hand menu.
3. Click the “Add user” button.
4. Enter a name for the new user and select the “Programmatic access” checkbox to give the user access to AWS via APIs, CLI, and SDKs.
5. Click “Next: Permissions” to assign the user permissions.
6. Choose an existing policy or create a new one that defines the user’s permissions.
7. Click “Review” to review the user’s information and permissions.
8. click Create User to create a new user.
Click Download .csv file
To create an IAM (Identity and Access Management) policy in AWS (Amazon Web Services), you can follow these steps:
1. Go to the IAM service by searching for it in the search bar or selecting it from the list of services.
2. Once in the IAM console, click on the “Policies” tab in the left-hand menu.
3. Click the “Create policy” button.
4. Choose either the “Visual editor” or the “JSON” tab to create the policy.
5. choose the Visual editor tab to select the service the policy will apply to and then choose the actions and resources the policy will allow or deny
Deny
6. choose the JSON tab, and enter the policy in JSON format. The JSON format must include a version, statement, and action.
7. then create the policy enter a name and description and click Create a policy
Attach policy
1. Once in the IAM console, click on the “Users,” “Groups,” or “Roles” tab in the left-hand menu, depending on which entity you want to attach the policy to.
2. Select the user, group, or role that you want to attach the policy to.
3. Click on the “Permissions” tab, and then click on the “Attach policies” button.
4. In the search bar, type the name or description of the policy that you want to attach, and then select the policy from the list.
5. Click Attach policy to attach the policy to the selected entity
the below snaps, the user is not able to delete objects and not able to upload objects