Simple node.js app that servers "hello world"
Great for testing simple deployments to the cloud
Forked from https://github.com/johnpapa/node-hello
- Just adding Dockerfile at root project
- Push to Registry ariretiarno/node-hello:1
- AWS CLI
- Kops
- S3 Bucket
- aws configure, add your access keys and secret keys
- export s3 location into variable, for example
export KOPS_STATE_STORE=s3://kubernetes.retiarno.my.id
- create variable name for cluster name, for example
KOPS_CLUSTER_NAME=kubernetes.retiarno.my.id
[optional] - create cluster for example
kops create cluster --node-count=1 --node-size=t3a.small --master-size=t3a.medium --zones=us-east-2a --name=${KOPS_CLUSTER_NAME} --ssh-public-key=~/.ssh/id_rsa.pub --cloud=aws
- validate cluster
kops validate cluster