VM - Container (Ligthweight VM)

Card Puncher Data Processing

About

A container is the logical OS equivalent of a process in a virtual environment.

They share:

  • an operating system installed on the server
  • and run resource-isolated (Each container has isolated environment within the same physical OS)

They are also known as lightweight VM because they share an operating system while real virtualization vm have a full-fledged OS inside host OS.

Containers provide a way to package your application's code, configurations, and dependencies into a single object.

It's a kind of very sophisticated and advanced chroot 1).

Software

Container

Build

DockerFile

To build a docker image, you can use a DockerFile. It will have all build steps.

Build pack

A buildpack is a program that turns source code into a runnable container image.

Server

Cloud

Aws Lambda for containers vs Cloud run

The new “AWS Lambda for Containers” is basically Google Cloud Run –except you still have to implement the “runtime API” or use the limited 'supported' images. This is exactly why Cloud Run is _really_ good: I can bring any HTTP server container and not worry about the rest.

Another huge difference: a Lambda runs one request at a time, and you’re charged for each. On Cloud Run, a single instance can handle 80 requests (soon more) simultaneously, and you don't pay for them separately. Makes a huge price difference.

https://twitter.com/ahmetb/status/1333832362363273216?s=21

Orchestration

Orchestration services on a server helps to build and run containerized applications. See Orchestration

Specification

Advantages

  • Smaller than Virtual Machines: Because images (container on disk) contain only the content needed to run an application (and not always an entire operating systems)
  • Improved performance: Likewise, since you are not running an entirely separate operating system, a container will typically run faster than an application that carries with it the overhead of a whole new virtual machine.
  • Secure: Because a container typically has its own network interfaces, file system, and memory, the application running in that container can be isolated and secured from other activities on a host computer.
  • Multiple environments: With an application’s run time requirements included with the application in the container, a container is capable of being run in multiple environments (Windows, Linux, …)





Discover More
Card Puncher Data Processing
Aws - Container

in Aws
Card Puncher Data Processing
Aws - Elastic Container Service (Ecs)

Amazon Elastic Container Service (Amazon ECS) is a container orchestration service that supports Docker containers. A task in ECS is a set of container images that should be scheduled together....
Card Puncher Data Processing
BuildPack

A buildpack is a program that turns source code into a runnable container image. These buildpacks are bundled into a builder stack and are called upon to build an app. The buildpack idea has been...
Card Puncher Data Processing
Code Shipping - Packaging ( Archive | Container )

Packaging is the mechanism that creates module (libraries) from code in order to be able to distributed. (library|package) are generally packaged into an archive of code (such as JAR, ZIP, ... files)....
Card Puncher Data Processing
Computer - Cluster

A cluster is a logical group of computer or container that works together (ie The process are separated and communicate remotely). In other terms, this is just a name to define a set of computers. ...
Card Puncher Data Processing
Docker

is a lightweight virtualization platform. allows you to run Linux and windows applications (image inside containers). The project provides the means of packaging applications in lightweight containers...
Docker For Windows Switch Container Type
Docker - Containers

in Docker. A container is a running instance of an image. Docker containers only run as long as the command you specify is active. A container ID uniquely identifies a container. A container...
Card Puncher Data Processing
Infra - Layers

This article talks the layers of abstraction that exists on infrastructure in a virtual environment. The table below show you the mapping between the logical layers of: a machine layer vs a virtual...
Notebook Components
Jupyter - Notebook (.ipynb)

The Notebook frontend does something extra. In addition to running your code, it stores code and output, together with markdown notes, in an editable document called a notebook. When you save it, this...
Card Puncher Data Processing
Orchestration

A orchestration tool will provision the servers or container themselves, leaving the job of configuring those servers to other configuration management tool. It's part of a set of tool to support infrastructure...



Share this page:
Follow us:
Task Runner