Skip to content

yusufcemalcelebi/terraform-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Terraform with AWS

Includes terraform modules to create k8s infrastructure on AWS. Using remote s3 storage to store terraform state

  •  aws-networking-setup module

    • Includes networking resources that requires for k8s setup with kops
    • VPC, internet gateway, route tables, private and public subnets, security group with configured ports for kops-master instance
  • kops-master module

    • Includes aws ec2 instance resource to create kops-master workload to run kops commands
    • IAM role to provide access required AWS resources for kops cli
    • Network interface and public ip address for the instance
    • s3 bucket to store kops state
    • Includes configurations to run on created kops-master instance
      • install-plugins.sh : install binaries required for kops (kubectl, kops, awscli). This will be executed after the instance provisioning
      • create-cluster.sh : kops commands to create k8s cluster. This will apply manually.

Creating cluster

  • ssh -i "access-key.pem" ubuntu@${public_ip}
  • Follow the steps in the create-cluster.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published