Skip to content

Getting started on AWS

Deploying to AWS

  1. Create a separate repository for the infrastructure code that will be managed by in GitHub. This repo will host code for your clusters, deployments, applications and other resources. Clone the repo locally:

    git clone

Next steps should be done inside that repo.

  1. Create a new AWS user with limited access in IAM and apply the policy aws_policy.json. For details on how to gather required permissions see the AWS IAM permissions.

    The resulting pair of access keys should look like:

    AWS_SECRET_ACCESS_KEY = SuperAwsSecret
  2. Add credentials to you repo Secrets under GitHub's repo setting Settings → Secrets, the path should look like

    GitHub Secrets

  3. In your repo, create a Github workflow file: .github/workflows/main.yml and example manifest: with the cluster definition.

    Or download example files to your local repo clone using the next commands:

    # Sample with Minikube cluster
    export RELEASE=v0.3.3
    mkdir -p .github/workflows/ && wget -O .github/workflows/main.yml "${RELEASE}/.github/workflows/aws.yml"
    mkdir -p && wget -O "${RELEASE}/"
  4. In the cluster manifest ( you can set your own Route53 DNS zone. If you don't have any hosted public zone you can set just domain: and we will create it for you. Or you can create it manually with instructions from AWS Website.

  5. You can change all other parameters or leave default values in the cluster manifest. Leave the Github workflow file .github/workflows/main.yml as is.

  6. Copy a sample of ArgoCD Applications from /kubernetes/apps/samples and Helm chart samples from /kubernetes/charts/wordpress to the same paths into your repo.

    Or download application samples directly to local repo clone with the commands:

    export RELEASE=v0.3.3
    # Create directory and place ArgoCD applications inside
    mkdir -p kubernetes/apps/samples && wget -O kubernetes/apps/samples/helm-all-in-app.yaml "${RELEASE}/kubernetes/apps/samples/helm-all-in-app.yaml"
    wget -O kubernetes/apps/samples/helm-dependency.yaml "${RELEASE}/kubernetes/apps/samples/helm-dependency.yaml"
    wget -O kubernetes/apps/samples/raw-manifest.yaml "${RELEASE}/kubernetes/apps/samples/raw-manifest.yaml"
    # Download sample chart which with own values.yaml
    mkdir -p kubernetes/charts/wordpress && wget -O kubernetes/charts/wordpress/Chart.yaml "${RELEASE}/kubernetes/charts/wordpress/Chart.yaml"
    wget -O kubernetes/charts/wordpress/requirements.yaml "${RELEASE}/kubernetes/charts/wordpress/requirements.yaml"
    wget -O kubernetes/charts/wordpress/values.yaml "${RELEASE}/kubernetes/charts/wordpress/values.yaml"

    Define path to ArgoCD apps in the cluster manifest:

        - /kubernetes/apps/samples
  7. Commit and Push files to your repo.

  8. Set the cluster to installed: true, commit, push and follow the Github Action execution status, the path should look like In the GitHub action output you'll receive access instructions to your cluster and services:

  9. Voilà! You receive GitOps managed infrastructure in code. So now you can deploy applications, create more clusters, integrate with CI systems, experiment with the new features and everything else from Git without leaving your IDE.