AWS
Provision AWS Data Plane
Deploy the DataOS Data Plane on an existing Amazon EKS cluster within your AWS account. Your SRE team is responsible for provisioning and operating the underlying AWS infrastructure in accordance with Modern’s published requirements. DataOS components are then installed on the cluster using a Data Plane manifest applied through dataos-ctl.
The Data Plane connects to the DataOS Instance hosted in Modern Cloud in one of two modes, which you choose before you start.
Choose tunnel or ingress
Tunnel
No public load balancer. The Data Plane opens an outbound-only connection to Modern Cloud through Cloudflare.
Ingress
Public HTTP and TCP network load balancers (NLBs) backed by Elastic IPs in public subnets expose the Data Plane. Needs a gateway database.
In tunnel mode, the Data Plane opens an outbound-only connection, so no inbound ports on your cluster are exposed. In ingress mode, the Data Plane is reachable through the public HTTP and TCP hostnames you provide.
Prerequisites
Deploy Data Plane
Work through the steps in order, and run every command from the bastion host. Each step prepares one of the inputs the final dataos-ctl domain apply needs. Those inputs are a deployment application user and API key, a base64 kubeconfig for the EKS cluster, the variables the manifest resolves, and the Data Plane manifest for your mode.
1. Authenticate from the bastion host
Provisioning is always initiated from the bastion host (for example, jumpvmadmin). In production the EKS API server is restricted to authorized CIDR ranges, so both kubectl and dataos-ctl must run from inside your network. Confirm the access path with your infrastructure team.
The bastion host keeps no logged-in session, so you never run dataos-ctl init or dataos-ctl login. Every command carries these four values instead; replace the placeholders with your own each time:
USER_ID
User the command authenticates as
DATAOS_FQDN
Target DataOS Instance domain
APIKEY
API key belonging to USER_ID
DATAOS_TENANT_ID
Always system
Which user they name changes as you go. Your personal user creates the application user's API key in Step 3, and the application user runs every domain command after that. So start by collecting your own two values.
1.1 Get your user ID. It is shown on your profile in the DataOS UI, and by dataos-ctl user get on a machine that has a logged-in CLI session:
The value under ID is your USER_ID.
1.2 Create your personal API key. Issue it from Profile → Tokens in the DataOS UI, or from a machine with a logged-in CLI session:
This key authenticates the one command in Step 3 that creates the application user's key. It is not used to provision anything.
2. Create the application user
Provision a dedicated application user for this Data Plane. In Bifrost on your DataOS Instance (https://<instance-fqdn>/platform/bifrost), create an application user named <dataplane-name>-user and assign these roles:
roles:id:userroles:id:operatorroles:id:super-user
The application user owns the deployment, which keeps the Data Plane independent of any individual account.
3. Create an API key for the application user
This is the one command you run as your personal user, so USER_ID and APIKEY are your own. Issue a short-lived key (for example, a 24-hour lifetime) for the application user.
The command prints the new API key in the terminal. Copy it. You supply it as APIKEY in the lint, apply, and monitor commands that follow.
4. Base64-encode kubeconfig
Confirm kubectl reaches the cluster, then base64-encode the kubeconfig into KUBECONFIG_BASE64. The kubeconfig must already use aws-iam-authenticator, as shown in the prerequisites.
The encoding command differs by operating system, because base64 takes different flags on each and Windows has no base64 at all. Run the one that matches the machine you are deploying from.
This value gives the DataOS Instance access to the EKS API. Treat it as a secret.
5. Set the variables the manifest resolves
dataos-ctl domain apply resolves ${...} references in the manifest from the shell you run it in. Set these values there before you apply. These are shared by both modes:
For ingress mode, also set these. Drop the third subnet and Elastic IP lines if your VPC has only two public subnets.
DATAPLANE_ID
Stable Data Plane identifier
acme-aws-dp-01
INSTANCE_TENANT_ID
DataOS Instance this Data Plane attaches to
pacific-ocean
KUBECONFIG_BASE64
Base64-encoded kubeconfig from the previous step
:
IMAGE_TAG
DataOS Manager image tag to pin (from Modern)
:
ARTIFACT_IDENTIFIER
Install artifact to apply (from Modern)
:
REGION
AWS region where the EKS cluster runs
ap-south-1
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY
AWS credentials for ongoing AWS operations
:
FQDN, TCP_FQDN
Ingress only. HTTP and TCP hostnames
:
PUBLIC_SUBNET_*
Ingress only. Public subnet IDs
:
EIP_ID_*, TCP_EIP_ID_*
Ingress only. Elastic IP allocation IDs for the HTTP and TCP NLBs
:
DATAPLANE_ID and INSTANCE_TENANT_ID are supplied inline on the lint and apply commands in Step 7, so you do not need to set them here.
6. Prepare manifest
Copy the sample manifest for your mode. You only need to fill in a handful of values; everything else is fixed.
What you fill in
Identity and naming:
name/DATAPLANE_ID: the dataplane identifier. Use a name that encodes the Instance and cloud, for example<instance-name>-aws-dp-01. Do not append a date suffix.description: a short, Instance- and Tenant-specific description for traceability.workpiece.name: must end with the.dataplanesuffix. This becomes the Data Plane domain.
Cluster and cloud access:
directInputs.regionand theAWS_REGIONentry inkubeAuthConfigs: resolved from${REGION}(the AWS region where your EKS cluster runs). Do not setkernelRequest.region.kubeConfigBase64: the base64 kubeconfig from Step 4.directInputsandkubeAuthConfigs: your AWS credentials from Step 5.
Version and install:
dataOsManagerConfigs.imageTag: resolved from${IMAGE_TAG}(thedataos-managerversion from Modern).installFromPrime.artifactIdentifier: resolved from${ARTIFACT_IDENTIFIER}(the install artifact from Modern).
PostgreSQL databases and object store:
pgHost,pgPort: the PostgreSQL endpoint.pgPortis a quoted string, for example"5432".systemHealthDb*andvestaDb*values: database names and credentials for System HealthD and Vesta.gatewayDb*values (ingress only): database name and credentials for the gateway.vestaObjectStore.s3values: the S3 bucket Vesta uses.
Ingress only:
inputs.ingress: the FQDNs, public subnets, and Elastic IP IDs, resolved from the variables you set in Step 5.
Leave every other field exactly as shown.
Drop the third subnet and Elastic IP entries if your VPC has only two public subnets.
7. Lint and apply the Data Plane manifest
Authenticate as the application user with the API key from Step 3, then lint the manifest before applying. Save the manifest from Step 6 as aws-dataplane-tunnel.yaml or aws-dataplane-ingress.yaml, and use that file name below where you see <mode>. KUBECONFIG_BASE64, IMAGE_TAG, REGION, and, for ingress, the networking variables are resolved from the variables you set in Step 5.
Lint (validate the manifest with -l):
Lint validates the manifest and resolves the variables without provisioning anything. If it succeeds but nothing is created, you left the -l flag on.
Apply (once lint passes, rerun the same command without -l):
The DataOS Instance validates the request and starts installing the Data Plane onto your cluster.
8. Monitor provisioning
Provisioning may take some time to complete. Check the Data Plane status until it reports active.
To watch the domain list refresh instead of rerunning the command, use domain ls -r:
Manage Data Plane
Check status
Then access the Data Plane cluster with kubectl and inspect the dataos-manager logs.
Describe applied configuration
Dataplane configuration
A field-by-field reference for the Data Plane manifest. Where a field differs by mode, the table says so.
Metadata
Top-level fields that identify the Data Plane resource.
name
Keep it stable and readable. It becomes the dataplane identifier.
version
API version for the resource spec.
entity
Always domain.
type
Always dataplane. It declares what you are provisioning.
description
Make it environment- and Tenant-specific for traceability.
Dataplane
Core Data Plane identity and DataOS Instance connectivity.
dataplane.name
The dataplane identifier. Do not append a date suffix.
tenantDomainNames
Default domain mappings (platform-specific).
networkType
Decides how the Data Plane reaches the DataOS Instance. tunnel uses outbound-only Cloudflare tunneling. ingress uses public HTTP and TCP load balancers. It must match the kernel template.
Workpiece
Represents the execution unit for the provisioning pipeline.
workpiece.name
Must end with the .dataplane suffix. This produces the Data Plane domain, for example awsdataplane0123.dataplane.dataos.cloud.
workpiece.zone
Always set to dataos.cloud.
Kernel Request
Selects the kernel provisioning blueprint and target cloud.
template
Defines which kernel provisioning blueprint is used. dataplane-kernel-system-existing-compute-tunnel-v1 installs the platform onto an existing EKS cluster in tunnel mode. dataplane-kernel-system-existing-compute-ingress-v1 does the same in ingress mode.
cloud
Selects cloud-specific behavior. Use aws for both modes.
inputs, directInputs, and (tunnel only) configs are siblings under kernelRequest. kubeAuthConfigs is a sibling of kernelRequest, under workpiece.
Inputs (DataOS Manager, kubeconfig)
dataOsManagerConfigs.imageTag
dataos-manager image version, resolved from ${IMAGE_TAG}. Provided by Modern.
dataOsManagerConfigs.logLevel
Prefer info for production, debug temporarily during incidents.
dataOsManagerConfigs.replicas
Keep as 1; a single replica is sufficient.
dataOsManagerConfigs.nodeSelector
Schedules dataos-manager onto the node pool labeled dataos.io/purpose: core-kernel.
kubeConfigBase64
Base64-encoded kubeconfig that gives the DataOS Instance access to the EKS cluster.
ingress
Ingress mode only. Public hostnames, subnets, and Elastic IPs. See Ingress.
Config Bundle (tunnel mode only)
configs
Config references applied to the kernel. cloudflare:tmdc-prime supplies the Cloudflare tunnel configuration for the Data Plane domain. This value is fixed, so leave it as shown.
Ingress (ingress mode only)
Public HTTP and TCP network load balancers, backed by Elastic IPs in public subnets you already have. Add this block under inputs, at the same level as kubeConfigBase64.
fqdn
Hostname for HTTP ingress.
tcpFqdn
Hostname for TCP ingress.
subnets
Public subnet IDs. Use two or three.
eipIds
Elastic IP allocation IDs for the HTTP NLB. One per subnet.
tcpEipIds
Elastic IP allocation IDs for the TCP NLB. One per subnet.
Auth (AWS credentials and region)
AWS credentials and region used by the platform for ongoing AWS API operations. Supply them in two places. directInputs passes them to the kernel provisioning inputs, and kubeAuthConfigs injects them into the cluster as environment variables. Both reference the same values.
key
Environment variable name: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, or AWS_REGION.
value
The credential or region value.
base64
Keep false for every entry in this guide.
envVar
Set true to inject the value into the cluster as an environment variable.
Installation (Prime-based)
Defines which installation manifests are applied for Data Plane components, pulled from Prime rather than a Git repository.
artifactIdentifier
The install artifact to apply, resolved from ${ARTIFACT_IDENTIFIER}. Provided by Modern for the target release. Prefer a snapshot identifier (artifact:aft_...) over a release identifier, so a re-apply cannot pull a newer build.
installFileRootDir
Root directory within the artifact for install files (/install/dataplane-kernel-system).
installFile, applicationsFile, valuesFile
Install manifests and Helm-style values within the artifact.
onDemandCloudKernel
When infrastructure provisioning generates a new output, dataos-manager creates a new Cloud Kernel JSON. This value must remain true.
envPurpose
Environment purpose for the install (prd).
PostgreSQL databases
Databases provisioned on a PostgreSQL server: one for System HealthD and one for Vesta, plus one for the gateway in ingress mode. Supply the connection details and credentials provisioned during infrastructure setup.
pgHost, pgPort
PostgreSQL host and port.
systemHealthDbName, systemHealthDbUsername, systemHealthDbPassword
Database name and credentials for System HealthD.
vestaDbName, vestaDbUsername, vestaDbPassword
Database name and credentials for Vesta.
gatewayDbName, gatewayDbUsername, gatewayDbPassword
Ingress mode only. Database name and credentials for the gateway.
Vesta object store
The S3 bucket where Vesta keeps its objects.
region
AWS region of the S3 bucket.
bucket
Bucket name.
relativePath
Folder inside the bucket.
accessKey
Access key with access to the bucket.
secretKey
Secret key for the access key.
edgeEndpoint
Cloud endpoint used to reach the bucket.
Cloud Endpoints
Used for cloud integrations and endpoint resolution.
Node Selectors
Ensures platform components schedule onto the intended node pool.
coreKernelNodeSelector
Label selector for the core kernel node pool.
Features
Optional platform feature toggles.
clusterAutoScaler.enable
Enables the cluster autoscaler. Keep false unless your deployment requires it.
cloudnativePg.enable
Enables the CloudNativePG operator. Keep false unless your deployment requires it.
trinoEngineGateway.enable
Enables the Trino engine gateway. Set to true for both AWS modes.
Troubleshooting
Best practices
Dedicate the
core-kernelnode pool to platform components. Do not co-schedule user Data Product workloads on it.Monitor AWS quotas and EKS node-group capacity ahead of production Data Product workload growth.
Capture provisioning logs from
dataos-ctland AWS CloudWatch during the apply for assertion and troubleshooting.Store the manifest encrypted in version control; decrypt it only at apply time.
Apply exactly one manifest per Data Plane: tunnel or ingress. Do not leave
configson an ingress manifest, and do not omitinputs.ingresson one.
Last updated
Was this helpful?