Double-click on the image to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
Using terraform (IaC) to provision infrastructure... while bootstrapping all the dependencies ( prerequisites)
Double-click on the image to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
Connect (ssh) to instance and verify that all the necessary packages that were bootstrapped.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
eksctl create cluster --name twtech-eks --region us-east-2 --nodegroup-name twtnode --node-type t3.medium --managed --nodes 2
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
The following command should confirm that EKS cluster
is up and running.
eksctl get cluster --name twtech-eks --region us-east-2
Update Kube
config by entering below command:
aws eks update-kubeconfig --name twtech-eks --region us-east-2
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
List the all nodes created:
kubectl get node
sudo vi app-pvc-pv-sc-svc.yaml
kubectl apply -f app-pvc-pv-sc-svc.yaml
List all resources provisioned in
the eks default namespace:
kubectl get all
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
List all resources created in all
eks namespaces:
kubectl get all -A
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
List the pvc created:
kubectl get pvc
List the pv created:
kubectl get pv
List the sc created:
kubectl get sc
Accessing the twtech-Apps on
eks-cluster:
List the services:
kubectl get svc
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
Get the PubIP of the worker node: GUI
10.191.132.394:31400
Browse the application: firewall to application restrict access. port must be opened to allow traffic access from N-users
Go to Security group (firewall) and open just the required ports ,
for
security reasons on the
worker nodes:
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
Go back and refresh the
application page:
twtech-spring-boot-mongo
Try to populate with data
and see whether data will be saved on the twtech-db:
Accessing twtech-webpp:
10.191.158.190:31200/twtech
Resources created with the eks-cluster using:
Two CloudFormation stacks for:
twtech-eks-nodegroup(s) (EKS Managed Nodes (SSH access: false) [created by eksctl)
twtech-eks-cluster (EKS cluster (dedicated VPC: true, dedicated IAM: true) [created
and managed by eksctl)
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
Double-click on the images to zoom-out ...Larger.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
To return to Home page: Refresh Page or Take ESC Button on Keyboard.
How to delete the eks cluster and all its resources: With the command line.
eksctl delete cluster --name twtech-eks --region us-east-2
No comments:
Post a Comment