what-is","metadata":{}}]}}]},"metadata":{"auth":{},"testAttributes":{}},"context":{"page":{"locale":null,"site":null,"pageUrl":"https://aws.amazon.com/what-is/containerization/","targetName":null,"pageSlotId":null,"organizationId":null,"availableLocales":null},"environment":{"stage":"prod","region":"us-east-1"},"sdkVersion":"1.0.115"},"refMap":{"manifest.js":"289765ed09","what-is-header.js":"251923df8a","what-is-header.rtl.css":"ccf4035484","what-is-header.css":"ce47058367","what-is-header.css.js":"004a4704e8","what-is-header.rtl.css.js":"f687973e4f"},"settings":{"templateMappings":{"category":"category","headline":"headline","primaryCTA":"primaryCTA","primaryCTAText":"primaryCTAText","primaryBreadcrumbText":"primaryBreadcrumbText","primaryBreadcrumbURL":"primaryBreadcrumbURL"}}}

Containerization is a software deployment process that bundles an application’s code with all the files and libraries it needs to run on any infrastructure. Traditionally, to run any application on your computer, you had to install the version that matched your machine’s operating system. For example, you needed to install the Windows version of a software package on a Windows machine. However, with containerization, you can create a single software package, or container, that runs on all types of devices and operating systems. ","id":"seo-faq-pairs#what-is-containerization","customSort":"1"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What are the benefits of containerization? ","faqAnswer":"

Developers use containerization to build and deploy modern applications because of the following advantages.  \n

Portability \n

Software developers use containerization to deploy applications in multiple environments without rewriting the program code. They build an application once and deploy it on multiple operating systems. For example, they run the same containers on Linux and Windows operating systems. Developers also upgrade legacy application code to modern versions using containers for deployment. \n

Scalability \n

Containers are lightweight software components that run efficiently. For example, a virtual machine can launch a containerized application faster because it doesn't need to boot an operating system. Therefore, software developers can easily add multiple containers for different applications on a single machine. The container cluster uses computing resources from the same shared operating system, but one container doesn't interfere with the operation of other containers.   \n

Fault tolerance \n

Software development teams use containers to build fault-tolerant applications. They use multiple containers to run microservices on the cloud. Because containerized microservices operate in isolated user spaces, a single faulty container doesn't affect the other containers. This increases the resilience and availability of the application. \n

Agility \n

Containerized applications run in isolated computing environments. Software developers can troubleshoot and change the application code without interfering with the operating system, hardware, or other application services. They can shorten software release cycles and work on updates quickly with the container model.","id":"seo-faq-pairs#what-are-the-benefits-of-containerization","customSort":"2"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What are containerization use cases? ","faqAnswer":"

The following are some use cases of containerization. \n

Cloud migration \n

Cloud migration, or the lift-and-shift approach, is a software strategy that involves encapsulating legacy applications in containers and deploying them in a cloud computing environment. Organizations can modernize their applications without rewriting the entire software code. \n

Adoption of microservice architecture \n

Organizations seeking to build cloud applications with microservices require containerization technology. The microservice architecture is a software development approach that uses multiple, interdependent software components to deliver a functional application. Each microservice has a unique and specific function. A modern cloud application consists of multiple microservices. For example, a video streaming application might have microservices for data processing, user tracking, billing, and personalization. Containerization provides the software tool to pack microservices as deployable programs on different platforms. \n

IoT devices \n

Internet of Things (IoT) devices contain limited computing resources, making manual software updating a complex process. Containerization allows developers to deploy and update applications across IoT devices easily.","id":"seo-faq-pairs#what-are-containerization-use-cases","customSort":"3"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"How does containerization work? ","faqAnswer":"

Containerization involves building self-sufficient software packages that perform consistently, regardless of the machines they run on. Software developers create and deploy container images—that is, files that contain the necessary information to run a containerized application. Developers use containerization tools to build container images based on the Open Container Initiative (OCI) image specification. OCI is an open-source group that provides a standardized format for creating container images. Container images are read-only and cannot be altered by the computer system. \n

Container images are the top layer in a containerized system that consists of the following layers. \n

Infrastructure \n

Infrastructure is the hardware layer of the container model. It refers to the physical computer or bare-metal server that runs the containerized application.  \n

Operating system \n

The second layer of the containerization architecture is the operating system. Linux is a popular operating system for containerization with on-premise computers. In cloud computing, developers use cloud services such as AWS EC2 to run containerized applications.  \n

Container engine \n

The container engine, or container runtime, is a software program that creates containers based on the container images. It acts as an intermediary agent between the containers and the operating system, providing and managing resources that the application needs. For example, container engines can manage multiple containers on the same operating system by keeping them independent of the underlying infrastructure and each other.  \n

Application and dependencies \n

The topmost layer of the containerization architecture is the application code and the other files it needs to run, such as library dependencies and related configuration files. This layer might also contain a light guest operating system that gets installed over the host operating system. \n

\"\"","id":"seo-faq-pairs#how-does-con-work","customSort":"3.5"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What is container orchestration? ","faqAnswer":"

Container orchestration is a software technology that allows the automatic management of containers. This is necessary for modern cloud application development because an application might contain thousands of microservices in their respective containers. The large number of containerized microservices makes it impossible for software developers to manage them manually. \n

Benefits of container orchestration \n

Developers use container orchestration tools to automatically start, stop, and manage containers. Container orchestrators allow developers to scale cloud applications precisely and avoid human errors. For example, you can verify that containers are deployed with adequate resources from the host platform. ","id":"seo-faq-pairs#what-is-con-orchestration","customSort":"4"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What are the types of container technology? ","faqAnswer":"

The following are some examples of popular technologies that developers use for containerization. \n

Docker \n

Docker, or Docker Engine, is a popular open-source container runtime that allows software developers to build, deploy, and test containerized applications on various platforms. Docker containers are self-contained packages of applications and related files that are created with the Docker framework. \n

Linux \n

Linux is an open-source operating system with built-in container technology. Linux containers are self-contained environments that allow multiple Linux-based applications to run on a single host machine. Software developers use Linux containers to deploy applications that write or read large amounts of data. Linux containers do not copy the entire operating system to their virtualized environment. Instead, the containers consist of necessary functionalities allocated in the Linux namespace.   \n

Kubernetes \n

Kubernetes is a popular open-source container orchestrator that software developers use to deploy, scale, and manage a vast number of microservices. It has a declarative model that makes automating containers easier. The declarative model ensures that Kubernetes takes the appropriate action to fulfil the requirements based on the configuration files. ","id":"seo-faq-pairs#what-are-the-types-of-con-tech","customSort":"5"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What is a virtual machine? ","faqAnswer":"

A virtual machine (VM) is a digital copy of the host machine's physical hardware and operating system. A host machine might have several VMs sharing its CPU, storage, and memory. A hypervisor, which is software that monitors VMs, allocates computing resources to all the VMs regardless of whether the applications use them. \n

Containerization compared to virtual machines \n

Containerization is a similar but improved concept of a VM. Instead of copying the hardware layer, containerization removes the operating system layer from the self-contained environment. This allows the application to run independently from the host operating system. Containerization prevents resource waste because applications are provided with the exact resources they need. ","id":"seo-faq-pairs#what-is-a-vm","customSort":"6"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What is serverless computing? ","faqAnswer":"

Serverless computing refers to a cloud computing technology where the cloud vendor fully manages the server infrastructure powering an application. This means that developers and organizations do not need to configure, maintain, or provision resources on the cloud server. Serverless computing allows organizations to automatically scale computing resources according to the workload.  \n

Containerization compared to serverless computing \n

Serverless computing allows instant deployment of applications because there are no dependencies such as libraries or configuration files involved. The cloud vendor doesn't charge for computing resources when the serverless application is idle. Containers, on the other hand, are more portable, giving developers complete control of the application's environment. ","id":"seo-faq-pairs#what-is-serverless-comp","customSort":"7"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What is cloud native?","faqAnswer":"

Cloud native is a software development method that builds, tests, and deploys an application in the cloud. The term cloud native means that the application is born and resides in a cloud computing environment. Organizations build cloud-native applications because they are highly scalable, resilient, and flexible. \n

Containerization compared to cloud native \n

Cloud-native application development requires different technologies and approaches than conventional monolithic applications. Containerization is one of the technologies that allows developers to build cloud-native applications. It works with other cloud-native technologies, such as service mesh and APIs, to allow microservices to work cohesively in a cloud-native application. ","id":"seo-faq-pairs#what-is-cloud-nat","customSort":"8"},"metadata":{"tags":[{"id":"seo-faq-pairs#faq-collections#containerization","name":"containerization","namespaceId":"seo-faq-pairs#faq-collections","description":"

containerization","metadata":{}}]}},{"fields":{"faqQuestion":"What is AWS App2Container?","faqAnswer":"

AWS App2Container is a containerization tool that allows software developers to modernize legacy applications. Developers use App2Container to turn Java and .NET applications into containerized applications: \n

AWS Containerization next steps

Check out additional product-related resources
Learn more about Compute Services 
Sign up for a free account

Instantly get access to the AWS free tier. 

Sign up 
Start building in the console

Get started building with AWS in the AWS Management Console.

Sign in