Skip to content

AWS

Deploy to ECS, Lambda and EKS; read CloudWatch; federate with STS.

Category Cloud & Kubernetes
Authentication IAM role assumed with the job OIDC token (AssumeRoleWithWebIdentity)
Provider id aws
  • ECS service deployments (rolling, blue/green)
  • Lambda function and alias deployments
  • EKS via Kubernetes integration
  • CloudWatch metrics for verification
  1. Create the IAM OIDC identity provider for your Slipway issuer (see OIDC with AWS).
  2. Create a role whose trust policy matches the claims you want to allow (project, environment, ref).
  3. Add the AWS integration and enter the role ARN and region.
  4. Create an ECS or Lambda infrastructure on the environment and run Test infrastructure.

Illustrative configuration. Non-secret settings are stored as integration config; credentials are stored as encrypted Slipway secrets and referenced by name.

provider: aws
config:
region: eu-west-1
role_arn: arn:aws:iam::123456789012:role/slipway-deploy
# no access keys: the runner exchanges its job token for STS credentials