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_KEY
and$AWS_REGION
-
ecr-authenticate.sh
: Authenticates in AWS's docker registry,ECR
. Requires$AWS_REGION
andaws-authenticate.sh
-
ecr-create-build-push.sh
: Creates anECR
repo if doesn't exists, builds and push an image to said repo. Requires$AWS_ECR_ACCOUNT_URL
,$AWS_REGION
andecr-authenticate.sh
. Usage:./scripts/ecr-create-build-push.sh <repo> <tag>
-
eks-authenticate.sh
: Connects a local installation ofKubernetes
to AWS's K8s engine,EKS
. Requires$AWS_REGION
,$CLUSTER_NAME
andaws-authenticate.sh
- Allow multiple tags in
ecr-create-build-push.sh