Prerequisites

  • Build a Docker image of the Flogo app which you want to upload to the AWS ECR repository. For more information, refer to Build the Flogo App Docker Image.
  • Create an AWS account.

  • Create an AWS ECR Repository. Push the Flogo app image from the local repository to the AWS ECR repository.

  • Install the latest version of AWS CLI using the following command:

    pip install awscli
  • Configure the AWS CLI credentials using the following command:
    aws configure
  • Install eksctl, a command-line utility for creating and managing Kubernetes clusters on Amazon EKS. For example, on Linux, use the following command:
    curl --silent --location
    "https://github.com/weaveworks/eksctl/releases/download/latest_release/eksctl_$(uname
    -s)_amd64.tar.gz" | tar xz -C /tmp
    sudo mv /tmp/eksctl /usr/local/bin
    eksctl version
  • Install and configure kubectl for Amazon EKS. Kubernetes uses the kubectl command-line utility for communicating with the cluster API server.

For more information on installing and configuring eksctl and kubectl, refer to the section "Getting Started with eksctleksctl" in the Amazon EKS documentation.