"Launch Your Kubernetes Kingdom: Step-by-Step Guide to a 30-Minute Cloud Cluster Setup"
Rakesh Kumar Jangid
DevOps Engineer | Google CKA Certified | Red Hat Certified Container Specialist (DO188) | RHCE(Ex294) RHCSA (EX200) | Kubernetes | AWS Cloud | Python |
To grasp the concepts presented, it's important to have a solid foundation.
In this context, please note the following details. In this guide, I will be utilizing the following setup:
Cloud Platform: Amazon Web Services (AWS)
Operating System: Ubuntu OS
EC2 Instance Type: T2.medium
Storage: Minimum 15 GB
Number of Instances: At least 3 (1 Master + 2 Worker Nodes)
Windows Terminal Software : Mobaxterm
Before proceeding with setting up the instances, it's essential to complete the following prerequisites:
- Assign a distinct hostname to each instance.
- Enable SSH communication between the systems.
- Configure the hosts file, ensuring proper identification of each node.
Once these preliminary steps are completed, you're ready to move forward:
Now on each and every machine proceed with following steps:-
$ apt-get update
$ apt-get install git*
$ mkdir Docker_kubernetes
$ git clone https://lnkd.in/d27XR5NH -b master
$ chmod a+x Docker_kubernetes
$ cd Docker_kubernetes
$ ./kube-setup.sh
Note: Or you can copy and paste such kube_setup code directly from GitHub link: https://lnkd.in/dHgWM4eM
rest script will guide you.