Editing AWS Elastic Kubernetes Service (EKS)
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | [[AWS]] Elastic [[Kubernetes]] Service ([[EKS]] | + | [[AWS]] Elastic [[Kubernetes]] Service ([[EKS]]) is a managed [[Kubernetes]] solution for running [[containers]] available in AWS cloud platform since June 2018 <ref>https://en.wikiversity.org/wiki/DevOps/Kubernetes/EKS</ref>. EKS can be managed using [[Jenkins X]] software <ref>https://aws.amazon.com/blogs/opensource/continuous-delivery-eks-jenkins-x/</ref>. Other AWS services for running containers are [[ECS]] or [[Fargate]]. |
− | By default EKS provides 3 [[master node]]s and 3 <code>[[etcd]]</code> nodes, but are invisible to you and Amazon is responsible of [[ | + | By default EKS provides 3 [[master node]]s and 3 <code>[[etcd]]</code> nodes, but are invisible to you and Amazon is responsible of [[AutoScaling]] them when needed. |
− | + | * <code>[[helm repo add]] eks https://aws.github.io/eks-charts</code> | |
− | * | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | == Creation your first EKS Cluster <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> | |
+ | :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<ref>https://kubernetes.io/docs/tasks/access-application-cluster/web-ui-dashboard/</ref> | ||
+ | |||
+ | See also: <code>[[eksctl create cluster]]</code> | ||
== Costs == | == Costs == | ||
− | + | [[EKS]] is not included in [[AWS Free Tier]], usually running an EKS cluster is more expensive than [[ECS]] for small deployments. [[Google Kubernetes Engine (GKE)]] offers free trial Kubernetes service. AWS charges $0.10 per hour for each EKS cluster (aprox $72 per month). | |
− | |||
− | |||
− | |||
− | |||
− | == Activities == | + | ==Activities== |
− | |||
* Read [[GitLab]] integration with [[EKS]]: https://about.gitlab.com/blog/2020/03/09/gitlab-eks-integration-how-to/ | * Read [[GitLab]] integration with [[EKS]]: https://about.gitlab.com/blog/2020/03/09/gitlab-eks-integration-how-to/ | ||
− | * Read: | + | * Read: AWS EKS getting starting guide: https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html |
* StackOverflow: https://stackoverflow.com/questions/tagged/amazon-eks?tab=Votes | * StackOverflow: https://stackoverflow.com/questions/tagged/amazon-eks?tab=Votes | ||
− | |||
== Related == | == Related == | ||
Line 41: | Line 30: | ||
* [[AWS Bottlerocket]] | * [[AWS Bottlerocket]] | ||
* [[Terraform EKS]] | * [[Terraform EKS]] | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== News == | == News == | ||
− | * | + | * 05/2022 https://aws.amazon.com/about-aws/whats-new/2022/05/amazon-eks-console-supports-standard-kubernetes-resources-cluster-management/ |
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == |
Advertising: