Skip to content

mtabishk/ansible-kubernetes-cluster-aws

Repository files navigation

ansible-kubernetes-cluster-aws

Configure Kubernetes Cluster on AWS Cloud

Configuring.Kubernetes.Cluster.on.AWS.Cloud.using.Ansible.mp4

Step 1: Configure AWS CLI2 SDK

0

Step 2: Set some environmental variables

Replace with your aws credentials

upd2

Step 3: Update ansible.cfg file

Update the private_key_file with your AWS KeyPair

an

Step 4: Update vars in launch_ec2_instances.yml file

Update keypair, image (Use AMI ID of Amazon Linux 2), vpc_subnet_id, security_group_id (SG should allow all ports), region, output_dir variables

ee

dd

Step 5: Run launch_ec2_instances.yml playbook

2

Check whether instances are launched in AWS Cloud.

1

Step 6: Run use_k8s_cluster_roles.yml playbook

10

Done!!

Now you can test your kubernetes cluster by running a deployment

5 6 zz

Releases

No releases published

Packages

No packages published

Languages