# login to AWS
aws configure
# create new Managed nodes cluster (not the Fargate), this will create 2 nodes cluster (m5.larger)
eksctl create cluster --name pixiecluster --region us-east-1
# download correct kubeconfig
eksctl utils write-kubeconfig --cluster=pixiecluster --region us-east-1
# confirm can connect to the cluster
kubectl get nodes -o wide
# install helm CLI (https://helm.sh/docs/intro/install/)
brew install helm
- Sign up for New Relic One account for free, no Credit Card required here and get your Ingest API key by:
- Open https://one.newrelic.com/api-keys
- Click on
Create a key
, selectIngest - License
and give it a name - Click on 3 dots and select
Copy key
, you will need this during your hands on workshop
- Deploy this e-commerce microservice application to the cluster
# create new namespace
kubectl create namespace sock-shop && \
kubectl apply -f "https://raw.githubusercontent.com/nvhoanganh/microservices-demo/master/deploy/kubernetes/complete-demo.yaml" \
--namespace=sock-shop
# make sure all containers are running properly
kubectl wait --for=condition=available --timeout=450s --all deployments -n sock-shop
# get the external IP of the front-end service
kubectl get service --watch --namespace=sock-shop