Installing a Connector on EKS Using Helm and AWS CLI
This guide is intended for admins managing a Connector in the environment
You have chosen the advanced installation method
You can also easily connect AWS in Apono following this UI guide here.
How to install the Connector on EKS Using Helm and AWS CLI
Prerequisite
Required: eksctl, helm, awscli, kubectl
Step 1 - Create Connector
Login to Apono and create connector in the Connector Page
Important: before you start, copy the connector CLI params and export them in the terminal.
Step 2 - Add EKS cluster OIDC provider to your IAM
It's required that your EKS cluster OIDC provider will be added to your IAM.
# EKS Cluster name can be found in the AWS EKS portal
export EKS_CLUSTER_NAME=PLEASE_REPLACE_WITH_CLUSTER_NAME
# Select the region that the EKS Cluster region runs on
export REGION=PLEASE_REPLACE_WITH_REGION
The Connector is deployed using helm and requires an IAM Role to be able to access tagged ASM secrets in the future.
Configure params
# The EKS AWS ID
export ACCOUNT_ID=$(aws sts get-caller-identity --query "Account" --output text)
echo "account id is ${ACCOUNT_ID}"
# The EKS OIDC Provider ID
export OIDC_PROVIDER=$(aws eks describe-cluster --name "${EKS_CLUSTER_NAME}" --query "cluster.identity.oidc.issuer" --output text | sed -e "s/^https:\/\///")
echo "oidc provider is ${OIDC_PROVIDER}"
# The name of the connector service account. This name will be used for recognizing the connector pod.
export K8S_SERVICE_ACCOUNT="apono-service-account"
# The Kubernetes namespace for installing the connector
export K8S_NAMESPACE="apono"