Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS UG DXB 2021 container series- IV

AWS UG DXB 2021 container series- IV


In this session, we will explore the popular workload manager and scheduler Kubernetes. Amazon managed kubernetes service, Elastic Container Service for Kubernetes (Amazon EKS) takes care of the heavy-lifting and lets one focus on managing the containerized workloads. EKS, however, still gives you the flexibility and choice where to run, and how to efficiently run your data-plane that hosts your workloads. In this session, we cover what you need to know to get your application up and running with Kubernetes on AWS. We show how Amazon EKS makes deploying Kubernetes on AWS simple and scalable.


AWS MENA Community

October 19, 2021

More Decks by AWS MENA Community

Other Decks in Technology


  1. $ kubectl get user @walidshaari https://www.linkedin.com/in/walidshaari https://github.com/walidshaari • Analytics Infrastructure

    support engineer • Deployed and Supported large scale distributed HPC Linux clusters • Configuration management since 2012 with puppet first, then Ansible, and now CNCF ecosystem. • Advocating open source, automation, Iac, containers, Kubernetes, Openshift, and all things cloud • Leading Saudi eastern province “Sharqaya” Dammam Docker, and Cloud Native AWS meetups
  2. >kubectl get plan 1. Quick review containers 2. What problem

    are we solving? 3. Kubernetes 4. EKS Ad-hoc exploration • EKS-Anywhere • ArgoCD "CD AKA GitOps" • AWS EKS console
  3. • Standardized packaging for software and dependencies • Isolate apps

    from each other • Share the same host OS kernel • Utilizes Linux Kernel features (e.g. namespace, cgroups, apparmor, selinux) • Microsoft have Windows Native Containers • Lightweight application virtualization • Consolidate 100s of applications per host compared to 10s per vm Review: containers? Build, distribute, and run applications almost anywhere
  4. What Is Kubernetes? • Greek for "helmsman", • The kernel

    of distributed systems • Linux of the cloud! • A platform and container orchestration tool for automating deployment, scaling, and operations of application containers. • Kubernetes supports Docker, Containerd, CRI-O, Kata containers (formerly clear and hyper) and Virtlet among others • History of over 15 years from Google Borg, +7 years since its OSS inception
  5. 2- Reconciliation loop Replica Controller -..-.-..-.-.-..-. Desired State: apiVersion: apps/v1

    kind: Deployment metadata: name: coredns labels: app: nginx spec: replicas: 2 =-...-.-=.. Current State -
  6. EKS • Certified Kubernetes distribution • OSS components available as

    EKS-Distribution • Can be run in Cloud or on-prem • Integrates well with AWS services for AWS customers • Enables Hybrid, and multi cloud workloads • High availability, security, resilience, and Fault tolerance "across AZs" • Undifferentiated heavy lifting
  7. Why EKS? - CNCF certified distribution - can enable Hybrid,

    and multi cloud workloads - Integrates well with AWS managed services model - HA and Fault tolerance "across AZs" - Fully managed control plane ( self-healing, upgrades, patching)
  8. Container OS Purpose built operating system Optimized for running containers

    Minimal Linux distribution No-Ops maintenance Cost effective Immutable Automation in mind Security in mind API driven AWS Bottlerocket
  9. Why Fargate? • Serverless wins: Focus on application • Scalability

    out of the box: clusters scales with application • Reduce operations and day-2 overhead: • Updates and patching for infra and cluster • Still need to take care of image updates • Better security isolation • Cost efficient