ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

How to Connect EKS Pods to AWS Services with IAM Roles for Service Accounts (IRSA)

kubernetes

kubernetes tutorial

kubernetes aws tutorial

kubernetes for beginners

kubernetes interview questions

cloud native

open source

train with shubham

abhishek veeramalla

kubesimplify

devops journey

helm for beginners

helm tutorial

docker tutorial

aws eks kubernetes tutorial

aws eks tutorial

aws eks interview questions and answers

aws cloud

aws eks irsa

aws eks oidc

aws iam oidc

amazon web services tutorials

Автор: Rohan Rustagi

Загружено: 2024-12-27

Просмотров: 2613

Описание: How to Connect EKS Pods to AWS Services with IAM Roles for Service Accounts (IRSA) #aws #eks #devops

Timestamps:

Theory/Concepts : 00:00
demo : 13:00

github repo : https://github.com/RohanRusta21/aws-e...
https://github.com/RohanRusta21/EKSCT...

official AWS documentation for IRSA : https://docs.aws.amazon.com/eks/lates...

Concepts :

IAM Roles for Service Accounts (IRSA) is an AWS feature that enables fine-grained control over permissions for applications running in Kubernetes (specifically Amazon EKS) by assigning AWS Identity and Access Management (IAM) roles to Kubernetes service accounts. This eliminates the need to rely on node-level IAM roles, making your setup more secure and manageable.

Key Components of IRSA

Kubernetes Service Account (SA):
A Service Account in Kubernetes is used to provide an identity for a pod or group of pods to interact with the Kubernetes API or other services.

IAM Role:
An IAM role is an AWS identity with a set of permissions. Using IRSA, you associate an IAM role with a Kubernetes service account, giving specific pods permissions to access AWS resources.

OIDC (OpenID Connect) Identity Provider:
IRSA uses an OpenID Connect (OIDC) provider to establish a trust relationship between the Kubernetes cluster and AWS IAM. This allows AWS to verify the identity of the Kubernetes service account.

How IRSA Works

OIDC Setup:
When an Amazon EKS cluster is created, an OIDC identity provider URL is associated with the cluster. You need to configure IAM to trust this identity provider.

Service Account and IAM Role Association:
You create a Kubernetes service account and annotate it with an IAM role. This annotation links the Kubernetes service account with the specific IAM role.

Authentication Flow:
When a pod uses the service account, it automatically inherits the permissions defined in the associated IAM role. AWS validates the identity of the service account via the OIDC provider.

Temporary Credentials:
The pod does not need static AWS credentials. Instead, it receives temporary credentials from the IAM role, which are rotated automatically.

Why Use IRSA?

Fine-Grained Access Control:
You can assign specific permissions to specific workloads, avoiding over-permissioning.
Improved Security:

Reduces the blast radius in case of a breach by ensuring pods only have the permissions they need.
Eliminates the need for AWS credentials stored in containers or environment variables.

Simplified Management:
Node-level roles (like an EC2 instance profile) are no longer necessary for pod access to AWS resources, making permissions easier to manage.

Least Privilege Principle:
Each pod can operate with the minimum permissions required, adhering to security best practices.


Follow my mentors too : @PavanElthepu @MPrashant @GouravSharma @cloudwithraj @AntonPutra @AbhishekVeeramalla @kubesimplify @kshindi @DevOpsJourney

Tags : #prometheus #secrets #docker #k8s #kubernetes #cncf #rbac #serverless #grafana #autoscaling #deployment #opensource #devops #grafana #vault #terraform #kustomize #etcd #controlplane #container #opa #dockerhub #gatekeeper #eks #pods #aws #oidc

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
How to Connect EKS Pods to AWS Services with IAM Roles for Service Accounts (IRSA)

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]