Skip to content

Deploying on AWS

Only what differs on AWS. The deployment flow itself is Deploying a data plane, and the commands are the same on every cloud.

xratu dataplane install prepare acme edge-eu dp-eu-west1 \
  --provider aws \
  --dp-count 2 \
  --artifact-registry <aws-account-id>.dkr.ecr.<region>.amazonaws.com/<repository> \
  --artifact-bucket s3://<bucket>/<prefix> \
  --account-id <aws-account-id> \
  --region <region> \
  --cluster-oidc-issuer https://oidc.eks.<region>.amazonaws.com/id/<cluster-oidc-id> \
  --cluster-oidc-provider-arn arn:aws:iam::<aws-account-id>:oidc-provider/oidc.eks.<region>.amazonaws.com/id/<cluster-oidc-id>

Values in angle brackets are yours to supply, so replace every one before running a command. Names without brackets, such as the organization, pool and dp_install, are the ones you choose in Xratu.

What AWS asks for

Four fields, two of them the OIDC values no other cloud needs in this form. Collect them before you prepare.

In this section

Walkthrough

  • Prepare and apply on AWS collects the OIDC values, prepares, reviews the trust policies, applies, and verifies the IRSA bindings.

The three things to settle early

The registry and the bucket must already exist. Terraform creates roles and policies; it creates no ECR repository and no S3 bucket.

The IAM OIDC provider must exist for the cluster. It is one per cluster and the contract asks for its ARN rather than creating it.

A wrong OIDC value fails after apply, not during it. The role is created and never assumable, so the pod runs and cannot obtain credentials. Read the trust policies in terraform plan.