Published over 3 years ago by @ruxandra

CTO Banner


An Op that facilitates the creation and destruction of EKS (Amazon Elastic Kubernetes Service) clusters.

Note: The Op currently supports only clusters with private topology, where access to the cluster is managed through the use of a bastion host.

This op has been built and tested only with EKS private topology clusters.


Ops Platform

Running this op requires you to have access to the Ops Platform. Please review the documentation for detailed instructions on how to install the Ops CLI and/or Ops Slack application.

AWS Credentials

❗️ Please consider running this op in a test environment before running it in a production enviroment.

Before running the op, please set the AWS credentials as secrets, following the instructions below. In order for the op to automatically retrieve these secrets, please reference the details below for the exact key names you should use when storing them. If the auto-match fails, the op users will be prompted to select an option from the available list of secrets every time they run the op.


Please refer to this URL for instructions on how to find your AWS Account Number. Once identified, run the following command to save it as a secret in your Ops team:

ops secrets:set -k AWS_ACCOUNT_NUMBER -v <VALUE>

This op is built to create/destroy EKS clusters leveraging AWS IAM authenticator. To use this op, we recommend you create a dedicated machine user with programmatic access enabled. The following policy captures all the permissions required for all of the features in this op to function as expected:

    "Version": "2012-10-17",
    "Statement": [
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
            "Resource": "*"

Please refer to this URL for instructions and best practices on how to generate these access keys. Once ready, run the following commands to save them as secrets in your Ops team, replacing <value> with your value:

ops secrets:set -k AWS_ACCESS_KEY_ID -v <value>
ops secrets:set -k AWS_SECRET_ACCESS_KEY -v <value>



ops run eks


/ops run eks


Create cluster

  • Private topology (will create a bastion host inside the VPC; all access to the cluster will happen through the bastion host)
  • Configure worker nodes instance types
  • Configure detailed monitoring for instances (y/n, incurs additional costs)
  • Configure autoscaling (y/n) and min/max nodes
  • Configure EKS Control Plane Logging (y/n, incurs additional costs)
  • Configure EKS Container Insights (y/n, incurs additional costs)

Destroy cluster

  • Select existing cluster
  • Destroy all associated resources, incl. bastion host


See the Contributing Docs for more information.


Carmen Chow

Ruxandra Fediuc