1. Packages
  2. AWS
  3. How-to Guides
  4. Amazon EKS Cluster
AWS v6.68.0 published on Monday, Jan 1, 0001 by Pulumi

Amazon EKS Cluster

aws logo
AWS v6.68.0 published on Monday, Jan 1, 0001 by Pulumi

    View Code Deploy this example with Pulumi

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

    Deploying the App

    To deploy your infrastructure, follow the below steps.

    Prerequisites

    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:
      ...
      Resources:
          + 28 created
      
      Duration: 10m0s
      
    4. Check the deployed kubeconfig:

      $ pulumi stack output kubeconfig
      {"apiVersion":"v1","clusters":[{"cluster":{"certificate-authority-data":"LS0tLS1CRUdJTiBDR...
      
    aws logo
    AWS v6.68.0 published on Monday, Jan 1, 0001 by Pulumi