Repository

ansible-role-for-k8s-on-aws

Configure Kubernetes Cluster on AWS Cloud

README

Ansible Configure Kubernetes Cluster on AWS Cloud

View all Roadmaps  ·  Best Practices  ·  Questions

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

🚀 I'm are always open to your feedback. Please contact as bellow information:

[Contact ]



ko-fi

License

  • Nho Luong (c). All Rights Reserved.🌟