CircleCI-Public / circleci-demo-aws-eks

A demo project for deployment to AWS EKS on CircleCI 2.0.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CircleCI Demo: AWS EKS CircleCI status

Deploy to AWS Elastic Container Service for Kubernetes (AWS EKS) via CircleCI 2.0 using Orbs (Example Project)

This project provides an example of how to use orbs to conveniently build a Docker image on CircleCI, push the Docker image to an Amazon Elastic Container Registry (ECR), and then deploy to Amazon Elastic Container Service for Kubernetes (AWS EKS). In particular, the aws-ecr and the aws-eks Orbs will be used in this project.

Configure environment variables on CircleCI

The following environment variables must be set for the project on CircleCI via the project settings page, before the project can be built successfully.

Variable Description
AWS_ACCESS_KEY_ID Used by the AWS CLI
AWS_SECRET_ACCESS_KEY Used by the AWS CLI
AWS_DEFAULT_REGION Used by the AWS CLI. Example value: "eu-west-3" (The specified region should be supported by AWS EKS)
AWS_ECR_URL Identifies the AWS ECR docker image registry that the docker image will be pushed to, in the format AWS_ACCOUNT_ID.dkr.ecr.AWS_DEFAULT_REGION.amazonaws.com

Useful Links & References

About

A demo project for deployment to AWS EKS on CircleCI 2.0.

License:MIT License


Languages

Language:Go 63.3%Language:Dockerfile 36.7%