Skip to content

tomcatliu2016/circleci-demo-aws-eks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 63.3%
  • Dockerfile 36.7%