aws logo
AWS Classic v5.33.0, Mar 24 23

Amazon EKS Cluster | YAML

View Code

This example deploys an EKS Kubernetes cluster inside the default AWS VPC.

Deploying the App

To deploy your infrastructure, follow the below steps.


  1. Install Pulumi
  2. Configure Pulumi for AWS

Deploying and running the program

  1. Create a new stack:

    $ pulumi stack init dev
  2. Set the AWS region:

    $ pulumi config set aws:region us-east-2
  3. Run pulumi up to preview and deploy changes:

    $ pulumi up
    Previewing changes:
    Performing changes:
        + 28 created
    Duration: 10m0s
  4. Check the deployed kubeconfig:

    $ pulumi stack output kubeconfig