Create Cluster on AWS

Managed Kubernetes supports creation of highly available, multi-master Kubernetes clusters on AWS that can tolerate the failure of one or more master nodes as well as an entire availability zone (AZ) going down. This is critical for running production workloads in Kubernetes.

A highly available cluster is composed of at least 3 master nodes, each running an instance of etcd.

To create a cluster on AWS, you must first have an AWS cloud provider. Refer to Add AWS Cloud Provider to create a new AWS cloud provider.

Follow the steps given below to create a Kubernetes cluster on AWS.

  • Navigate to Kubernetes>Infrastructure>Clusters.
  • Click Add Cluster.
  • Enter following information for Cluster Configuration:
Cloud ProviderFrom the drop down select your desired AWS cloud provider
NameThe name of the cluster
RegionSelect the AWS region to deploy this cluster into
Availability ZoneSelect one or more Availability Zones whithin this region to deploy the master nodes of this cluster into. Select atleast 3 availability zones for high availability.
Operating SystemThe operating system version for the nodes deployed in the cluster. Note that you are only selecting the operating system major version.
Master Node Instance TypeInstance type for the master node. Platform9 recommends `m4.large` instance type for master and instance type from the `m4`, `t2`, `c4`, and `r4` instance families for worker nodes.
Worker Node Instance TypeInstance type for the worker node
SSH KeyThe SSH key your public cloud account has access to. AWS injects the keys into the node while deploying it. The SSH key is useful for debugging purpose if you ever need to log in to the node.
Number of Master NodesNumber of master nodes in the Kubernetes cluster
Number of Worker NodesNumber of worker nodes in the Kubernetes cluster
PrivilegedSelect the check box to enable the cluster to run privileged containers
  • Follow the rest of the options for networking configuration. See Networking Configuration With AWS

  • Review the cluster configuration and if everything looks okay, click Create Cluster.

The cluster is created on AWS.

You can now start deploying your applications on the newly created Kubernetes cluster.