This image packs what is necessary for deploying services to aws and kubernetes with node.js. It provides the following scripts:
-
aws-authenticate.sh: Authenticates in AWS. Requires$AWS_ACCESS_KEY_ID,$AWS_SECRET_ACCESS_KEYand$AWS_REGION -
ecr-authenticate.sh: Authenticates in AWS's docker registry,ECR. Requires$AWS_REGIONandaws-authenticate.sh -
ecr-create-build-push.sh: Creates anECRrepo if doesn't exists, builds and push an image to said repo. Requires$AWS_ECR_ACCOUNT_URL,$AWS_REGIONandecr-authenticate.sh. Usage:./scripts/ecr-create-build-push.sh <repo> <tag> -
eks-authenticate.sh: Connects a local installation ofKubernetesto AWS's K8s engine,EKS. Requires$AWS_REGION,$CLUSTER_NAMEandaws-authenticate.sh
- Allow multiple tags in
ecr-create-build-push.sh