Introduction In the realm of Amazon Web Services (AWS), managing access control is crucial to ensure security and compliance. AWS Identity and Access Management (IAM) policies are used to define permissions for users, groups, and roles. One of the powerful features of IAM policies is the ability to restrict access …
Read MoreToday we will provide access to other IAM users and roles to exiting AWS EKS cluster. Use SSH to connect to the kubectl instance. Check if you have the kubctl permission: 1kubectl get pods Output 1error: You must be logged in to the server (Unauthorized). Note: This error means that IAM user doesn't have authorization …
Read MoreIn AWS, it is important to control access to your resources in order to ensure the security and compliance of your environment. One such resource is Amazon EC2 instances, and in this article, we will show you how to limit the access of IAM users to EC2 instances. Limiting access to EC2 instances: To limit access to EC2 …
Read MoreAPI Gateway is a fully managed service that makes it easy for developers to create, publish, and manage APIs. One of the key features of API Gateway is its testing capability, which allows developers to test their APIs before deploying them to production. However, in some cases, you may want to limit the permissions of …
Read MoreToday we will learn, how to create and upload python package in lambda layer. First we will create lambda fuction in python which will create our python package and upload that in S3 bucket. Step 1: Open you AWS account. Step 2: Open IAM service console. Step 3: Create IAM policy for an IAM Role. Copy the below policy …
Read MoreTo grant a user access to a specific folder in your Amazon S3 bucket, use below IAM policy: 1{ 2 "Version": "2012-10-17", 3 "Statement": [ 4 { 5 "Sid": "VisualEditor0", 6 "Effect": "Allow", 7 "Action": "s3:GetBucketLocation", 8 "Resource": "arn:aws:s3:::*" 9 }, 10 { 11 "Sid": "VisualEditor1", 12 "Effect": "Allow", 13 …
Read MoreToday we will learn, how to create custom IAM policy. Step 1: Open AWS Console and Select IAM service. Step 2: Select "Policies". Step 3: Click on "Create Policy". Step 4: Click on "Json", Paste your policy and Press "Review Policy". Note: You can also use visual editor to create IAM Policies, which is very easy to use …
Read More