diff --git a/README.md b/README.md index 03f232a..e7d0c05 100644 --- a/README.md +++ b/README.md @@ -1 +1,18 @@ +### Steps + +**SSH-Keys** +* First prepare your SSH key pair. +* Import public key AWS key pairs. + +**WorkStation** +* Create a security group that has all firewalls opened in Default VPC. +* Launch EC2 instance with AWS Linux 2 OS in Default VPC and allow-all SG. +* Install below packages in workstation. + * Docker. https://raw.githubusercontent.com/techworldwithsiva/docker-install-commands/master/docker-install.sh + * Git + * AWS CLI V2. https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html + * Eksctl. https://github.com/eksctl-io/eksctl/blob/main/README.md#installation + * kubectl. https://docs.aws.amazon.com/eks/latest/userguide/install-kubectl.html + + ![alt text](eksctl.jpg) \ No newline at end of file diff --git a/eks.yaml b/eks.yaml new file mode 100644 index 0000000..0c6afbb --- /dev/null +++ b/eks.yaml @@ -0,0 +1,14 @@ +apiVersion: eksctl.io/v1alpha5 +kind: ClusterConfig + +metadata: + name: eks-spot-cluster + region: ap-south-1 + +managedNodeGroups: + - name: spot + instanceType: m5.large + spot: true + desiredCapacity: 3 + ssh: + publicKeyName: kubernetes \ No newline at end of file