7. Container Images
• A container image is structured in terms of
“layers”.
• An image is a collection of files and some
meta data
• Each image contains software you want to
run
• Every image contains a base layer
• Layers are read only
• Image Tags => Images are specified by
repository:tag Default tag is latest
8. Docker
• Docker is an Open
platform for developers
and sysadmins to build,
ship and run distributed
applications.
11. Docker - Terminologies
• Docker Engine – Docker Registry, CLI.
• Image – operating systems kernels supplied
for a specific instance type / application.
• Container – an application running from an
image.
• DockerFile – a text file with a list of steps to
perform to create an image.
• Docker Hub – Docker Registry and Repository
used for download and share images.
12. Docker Benefits
• Fast (deployment, migration, restarts)
• Secure
• Lightweight (save disk & CPU)
• Open Source
• Portable software
• Microservices and integrations (APIs)
• Simplify DevOps
• Version control capabilities
16. Kubernetes (k8s)
is an open-source system
for automating
deployment, scaling, and
management of
containerized applications.It groups containers that
make up an application into
logical units for easy
management and discovery
19. ECS - Elastic Container Service
Why use Amazon ECS
• Containers Without Servers
• Containerize Everything
• Secure
• Performance At Scale
• Aws Integration
https://containersonaws.com
20. ECS - Elastic Container Service
When to use Amazon ECS
• Microservices
• Batch Processing
• Application Migration
to the Cloud
• Machine Learning
Run my container for me
22. AWS Fargate
• Amazon ECS has two modes:
1. Fargate launch type
2. EC2 launch type.
• With Fargate launch type, all you have to do is
1. Package your application in containers,
2. Specify the CPU and memory requirements, define
networking and IAM policies, and launch the application.
Run containers without managing servers or clusters المفتاح وسلمنا إرتاح
23. EKS - Amazon Elastic Container
Service for Kubernetes
Benefits
• Seamless Integration with AWS
• Secure By Default
• Built With The Community
Highly available, scalable, and secure Kubernetes service
Run Kubernetes for me
Platform for enterprises to run production-grade Kubernetese-
grade installation
25. ECR - Amazon Elastic Container
Registry
Amazon Elastic Container Registry
(ECR) is a fully-managed Docker
container registry that makes it easy
for developers to store, manage, and
deploy Docker container images.
Easily store, manage, and deploy container images
27. Containers run better on AWS
Serverless
Serverless technologies let you focus on
designing and building your
containerized applications instead of
managing the infrastructure that runs
them. AWS Fargate is a serverless
compute engine that makes it easy to
run containers in production.
28. Containers run better on AWS
Microservices
AWS offers managed services for
Service Discovery and Service Mesh that
make it easy to run microservices.
AWS Cloud Map is a cloud resource
discovery service that lets you define
how services discover and connect with
each other.
https://d1.awsstatic.com/whitepapers/microservices-on-aws.pdf
29. Containers run better on AWS
Machine learning
AWS makes it easy to use containers run
advanced workloads for machine learning,
high performance computing, financial
analytics, and video transcoding.
Amazon EKS makes it easy to run machine
learning workloads using Kubernetes on AWS
with an optimized Amazon Machine Image
(AMI)
33. Build a Modern Web Application
( Use case )
Deploy a web application, connect to a database, and analyze user behavior
Follow step-by-step instructions to build your first modern application using
Python.
https://aws.amazon.com/getting-
started/projects/build-modern-app-fargate-lambda-
dynamodb-python/
We are in digital transformation era
Everything try to fulfill business need
Benefits
NO CONTROL PLANE TO MANAGE
Amazon EKS runs the Kubernetes management infrastructure across multiple AWS Availability Zones, automatically detects and replaces unhealthy control plane nodes, and provides on-demand upgrades and patching. You simply provision worker nodes and connect them to the provided Amazon EKS endpoint.
SECURE BY DEFAULT
Secure and encrypted communication channels are automatically setup between your worker nodes and the managed control plane, making your infrastructure running on Amazon EKS secure by default.
BUILT WITH THE COMMUNITY
AWS actively works with the Kubernetes community, including making contributions to the Kubernetes code base that help Amazon EKS users take advantage of AWS services and features.
CONFORMANT AND COMPATIBLE
Amazon EKS runs upstream Kubernetes and is certified Kubernetes conformant, so applications managed by Amazon EKS are fully compatible with applications managed by any standard Kubernetes environment.
Use Cases
MICROSERVICES
Easily run microservices applications with deep integrations to AWS services, while getting access to the full suite of Kubernetes functionality and popular open source tooling.
HYBRID CONTAINER DEPLOYMENTS
Run highly available and scalable Kubernetes clusters on AWS while maintaining full compatibility with your Kubernetes deployments running anywhere else.
BATCH PROCESSING
The Kubernetes Jobs API lets you run sequential or parallel workloads on your Amazon EKS cluster. These workloads can be run on Amazon EC2 On-Demand Instances, Reserved Instances, or Spot Instances.
APPLICATION MIGRATION
Easily containerize and migrate existing applications to Amazon EKS without needing to refactor your code or tooling.
Benefits
Fully managed
Amazon Elastic Container Registry eliminates the need to operate and scale the infrastructure required to power your container registry. There is no software to install and manage or infrastructure to scale. Just push your container images to Amazon ECR and pull the images using any container management tool when you need to deploy.
Secure
Amazon Elastic Container Registry transfers your container images over HTTPS and automatically encrypts your images at rest. You can configure policies to manage permissions and control access to your images using AWS Identity and Access Management (IAM) users and roles without having to manage credentials directly on your EC2 instances.
Highly available
Amazon Elastic Container Registry has a highly scalable, redundant, and durable architecture. Your container images are highly available and accessible, allowing you to reliably deploy new containers for your applications.
Simplified workflow
Amazon Elastic Container Registry integrates with Amazon ECS and the Docker CLI, allowing you to simplify your development and production workflows. You can easily push your container images to Amazon ECR using the Docker CLI from your development machine, and Amazon ECS can pull them directly for production deployments.
Benefits
Fully managed
Amazon Elastic Container Registry eliminates the need to operate and scale the infrastructure required to power your container registry. There is no software to install and manage or infrastructure to scale. Just push your container images to Amazon ECR and pull the images using any container management tool when you need to deploy.
Secure
Amazon Elastic Container Registry transfers your container images over HTTPS and automatically encrypts your images at rest. You can configure policies to manage permissions and control access to your images using AWS Identity and Access Management (IAM) users and roles without having to manage credentials directly on your EC2 instances.
Highly available
Amazon Elastic Container Registry has a highly scalable, redundant, and durable architecture. Your container images are highly available and accessible, allowing you to reliably deploy new containers for your applications.
Simplified workflow
Amazon Elastic Container Registry integrates with Amazon ECS and the Docker CLI, allowing you to simplify your development and production workflows. You can easily push your container images to Amazon ECR using the Docker CLI from your development machine, and Amazon ECS can pull them directly for production deployments.
You can safely remove this slide. This slide design was provided by SlideModel.com – You can download more templates, shapes and elements for PowerPoint from http://slidemodel.com
You can safely remove this slide. This slide design was provided by SlideModel.com – You can download more templates, shapes and elements for PowerPoint from http://slidemodel.com