Skip to main content
Vikat Enterprise images for AWS customers are distributed through AWS ECR, enabling native IAM integration for secure, credential-less authentication.

Architecture

Prerequisites

  • EKS cluster (v1.23+) or ECS cluster
  • AWS CLI configured with appropriate permissions
  • kubectl configured for your EKS cluster
  • Your AWS Account ID allowlisted by Vikat team
Contact the Vikat team to get your AWS account ID and IAM role ARN allowlisted for ECR access.
IAM Roles for Service Accounts (IRSA) provides the most secure authentication method for EKS deployments.

Step 1: Create IAM Policy

Create an IAM policy that grants ECR pull access to the Vikat repository.
Replace VIKAT_ACCOUNT_ID and YOUR_HUB_SLUG with the values provided by the Vikat team.
Save this policy as vikat-ecr-pull-policy.json and create it:

Step 2: Create IAM Role with OIDC Trust

Create an IAM role that can be assumed by your Kubernetes ServiceAccount. First, get your OIDC provider URL:
Create the trust policy (trust-policy.json):
Create the role and attach the policy:

Step 3: Provide Role ARN to Vikat

Send your IAM role ARN to the Vikat team for allowlisting:

Step 4: Create Namespace and ServiceAccount

Step 5: Deploy Vikat

ECS Task Roles

For ECS deployments, use IAM Task Roles for authentication.

Step 1: Create Task Execution Role

The task execution role allows ECS to pull images from ECR.

Step 2: Create ECS Task Definition

Step 3: Create ECS Service

Verifying Access

Test ECR Authentication

Verify IRSA Configuration

Troubleshooting

ImagePullBackOff Errors

  1. Check IAM Role trust policy: Ensure the OIDC provider and ServiceAccount match
  2. Verify ECR permissions: Confirm the role has ecr:BatchGetImage permission
  3. Check allowlisting: Ensure your role ARN is allowlisted by Vikat team

Authentication Errors

Next Steps