Difference between revisions of "AWS EKS"
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
:0) Prerequisites: <code>[[kubectl]]</code> and <code>[[aws-iam-authenticator]]</code> (a tool to authenticate to Kubernetes using AWS IAM credentials)<ref>https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html</ref> | :0) Prerequisites: <code>[[kubectl]]</code> and <code>[[aws-iam-authenticator]]</code> (a tool to authenticate to Kubernetes using AWS IAM credentials)<ref>https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html</ref> | ||
:: On MacOs: <code>[[brew install aws-iam-authenticator]]</code> and <code>[[brew install kubernetes-cli]]</code> | :: On MacOs: <code>[[brew install aws-iam-authenticator]]</code> and <code>[[brew install kubernetes-cli]]</code> | ||
− | :1) Create a new service role | + | :1) Create a new [[service role |
+ | |||
+ | |||
:2) Create a new VPC for you new EKS Cluster using this [[CloudFormation]] template from AWS: https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html | :2) Create a new VPC for you new EKS Cluster using this [[CloudFormation]] template from AWS: https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html | ||
:3) Create EKS Cluster from AWS Webconsole, user used for creating EKS Cluster will be the initial administrator. | :3) Create EKS Cluster from AWS Webconsole, user used for creating EKS Cluster will be the initial administrator. |
Revision as of 22:32, 10 November 2021
TO MERGE: AWS Elastic Kubernetes Service
AWS Elastic Kubernetes Service (EKS) is a managed Kubernetes solution for running containers available in AWS cloud platform since June 2018 [1]. EKS can be managed using Jenkins X software [2]. Other AWS services for running containers are ECS or Fargate.
By default EKS provides 3 master nodes and 3 etcd nodes, but are invisible to you and Amazon is responsible of AutoScaling them when needed.
Creation your first EKS Cluster [3]
- 0) Prerequisites:
kubectl
andaws-iam-authenticator
(a tool to authenticate to Kubernetes using AWS IAM credentials)[4] - 1) Create a new [[service role
- 2) Create a new VPC for you new EKS Cluster using this CloudFormation template from AWS: https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
- 3) Create EKS Cluster from AWS Webconsole, user used for creating EKS Cluster will be the initial administrator.
- 4) Create Worker Nodes using AWS Cloudformation template https://github.com/awslabs/amazon-eks-ami/blob/master/amazon-eks-nodegroup.yaml
- 5) Install Kubernetes dashboard[5]
Costs
EKS is more expensive than ECS for small clusters.
See also
- AWS EKS:
AWS::EKS
,aws eks [ create-cluster | list-clusters
|describe-cluster
|update-kubeconfig | list-updates | list-addons | update-cluster-version | update-nodegroup-version | get-token | create-addon ]
- AWS ECS container services
- CNI - Container Network Interface
- AWS EKS getting starting guide: https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
- Google Kubernetes Engine
- Terraform
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy.
Source: wikiversity
- ↑ https://aws.amazon.com/blogs/aws/amazon-eks-now-generally-available/
- ↑ https://aws.amazon.com/blogs/opensource/continuous-delivery-eks-jenkins-x/
- ↑ https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
- ↑ https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html
- ↑ https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/
Advertising: