# Data plane setup on AWS

> **📝 Note**
>
> An LLM-optimized bundle of this entire section is available at [`section.md`](https://www.union.ai/docs/v1/union/deployment/selfmanaged/byok-data-plane-setup-on-aws/section.md).
> This single file contains all pages in this section, optimized for AI coding agent context.

To set up your Union.ai data plane on Amazon Web Services (AWS), you must allow Union.ai to provision and maintain compute resources under your AWS account.

There are two approaches to setting up your data plane:

## Recommended Approach: CDK

Use the Union.ai [EKS Blueprints addon](https://www.npmjs.com/package/@unionai/union-eks-blueprints-addon) with [AWS CDK](https://aws.amazon.com/cdk/) to automate the provisioning of your data plane infrastructure, including the EKS cluster, IAM roles, and Helm chart deployment.

> [!NOTE]
> If the CDK path does not work for you, use AWS CloudFormation or the AWS console to create the required IAM roles and permissions, follow the [manual](https://www.union.ai/docs/v1/union/deployment/selfmanaged/byok-data-plane-setup-on-aws/manual/page.md) installation steps.

### [CDK setup](https://www.union.ai/docs/v1/union/deployment/selfmanaged/byok-data-plane-setup-on-aws/cdk/page.md)

Automate data plane provisioning with AWS CDK and EKS Blueprints

## Subpages

- [Setup with AWS CDK](https://www.union.ai/docs/v1/union/deployment/selfmanaged/byok-data-plane-setup-on-aws/cdk/page.md)
  - Prerequisites
  - Installation
  - Store your credentials in AWS Secrets Manager
  - Create your CDK stack
  - Deploy
  - What gets provisioned
  - Using an existing S3 bucket
  - Additional configuration
- [Manual setup on AWS](https://www.union.ai/docs/v1/union/deployment/selfmanaged/byok-data-plane-setup-on-aws/manual/page.md)
  - Assumptions
  - Prerequisites
  - Deploy the Union.ai operator

---
**Source**: https://github.com/unionai/unionai-docs/blob/main/content/deployment/selfmanaged/byok-data-plane-setup-on-aws/_index.md
**HTML**: https://www.union.ai/docs/v1/union/deployment/selfmanaged/byok-data-plane-setup-on-aws/
