containers on AWS


Understanding the Benefits of Containers on AWS

Containers on AWS are a major resource for developers looking to improve infrastructure efficiency. In the past, virtual machines (VMs) were the packaging tool of choice, despite their faults—namely having to manage copies of the OS, patches, and dependencies across applications. Now, there’s a further extension from hardware and the OS layer, with containers able to run on the guest OS, using VMs as a resource and making packaging and portability much simpler.

What are Containers?

Containers are packages of code, which include all of the dependencies and configuration files needed to execute. They create process isolation, which allow better use of compute resources by granularly setting CPU and memory utilization. These standardized units of code work as consistent building blocks, thereby automating the testing and deployment of these code portions. When you use containers, you know they’ll run in the same way, no matter the environment. With this efficiency, you can scale rapidly. AWS offers the infrastructure for running containers along with services that allow you to build and run containerized applications in production.

Why Use AWS Containers?

Containers are a lightweight way to consistently port software environments for applications. This portability in containers makes running and scaling applications easy.

For example, containers offer environment consistency, which reduces the issues that arise when moving an application through development, testing, and production.  By including all necessary files and dependencies, containers serve as a building block to be deployed on any resource, meaning what you package as a container will deploy and run the same way whether in testing or production. This offers reliability regardless of the environment.

Another benefit of containers is the ability to specify the exact space used by a container on an instance. This functionality allows you to maximize computing resources by running multiple applications on a single instance. This, in conjunction with the fast boot times associated with containers, creates better operational efficiency by allowing you to rapidly scale applications.

The reality is that containers have more flexibility than their predecessors with less complexity. Building and deploying microservices, running batch jobs for machine learning applications, and moving existing applications on to the cloud are just a few of the use cases containers allow. 

Amazon’s Container Products

AWS offers a number of container products and services to help you deploy, manage, and scale your production. These are Amazon Elastic Container Service, (Amazon ECS), Amazon Elastic Container Service for Kubernetes (Amazon EKS), Amazon Elastic Container Registry (Amazon ECR), and AWS Fargate.

Amazon ECS was the first container runtime native to the platform.  With support from Amazon ECR, which offers storage for container images, Amazon ECS produces production workload capabilities in AWS. This includes task placement, integration with the AWS platform, Auto Scaling, VPC networking, etc. Amazon ECS is seeing tremendous growth, with a number of containers running on the platform, and with support for Windows containers as well. Designed to deeply integrate with the AWS platform, Amazon ECS is a highly reliable solution that provides a native AWS API experience for containers.

Amazon EKS is a new part of the AWS container family. AWS joined the Kubernetes family not long ago, and today, an estimated 63% of Kubernetes workloads run on AWS. A platform for enterprises to run production-grade workloads, Amazon EKS provides a native upstream Kubernetes experience. Amazon EKS automatically performs cluster management operations such as the managing of master nodes and etcd instances, leaving you solely in charge of the worker nodes.

Amazon ECR is a fully-managed Docker container registry that makes it simple to store, manage, and deploy Docker container images. Integrated with Amazon ECS, Amazon ECR simplifies production workflows. It also eliminates the need to operate your own container repositories or worry about scaling infrastructure.

AWS Fargate is also a new product to AWS. AWS Fargate lets you run containers without running container instances, leaving no instance or infrastructure to manage. Instead, you only pay for resources used or containers deployed. AWS Fargate launches containers within seconds simply through an upload of your container image and specification of resource requirements. AWS Fargate already works with Amazon ECS, and allocates the compute for each container, with compatibility for Amazon EKS coming soon.

Containers are core to development on AWS. A lightweight means to provide a consistent, portable environment for applications to easily run, scale, and deploy, AWS offers a number of container products meant to create efficiency in application deployment to AWS.

Want to learn more about Amazon EKS?

Watch our on-demand webinar!

Amazon Elastic Container Service for Kubernetes (EKS) is a platform for enterprises to run production-grade workloads. EKS makes it easy to run Kubernetes by fully managing the Kubernetes masters and etcd for you. For any company using Kubernetes as a core to their IT strategy, you’re probably running hundreds of millions of containers on AWS every week. Amazon EKS, part of the AWS container family, simplifies the process of building, securing, operating, and maintaining Kubernetes clusters, and brings the benefits of container-based computing to organizations that want to focus on building applications instead of setting up Kubernetes clusters from scratch.

In this webinar, we’ll show you how to get started with Amazon EKS including how to seamlessly migrate your Kubernetes workloads to EKS as well as tips and best practices we’ve learned during the EKS preview. We’ll discuss:

  • How Amazon EKS makes it easy to run Kubernetes on AWS
  • How to leverage additional AWS services with EKS
  • Optimizing costs on EKS
  • Demo on how to setup your cluster to run on Amazon EKS
  • Customer success story
Tolga Tarhan

About Tolga Tarhan

As Onica’s Chief Technology Officer, Tolga Tarhan leads the technological vision of the company by pushing innovation and driving strategy for our product development and service offerings. With nearly two decades of experience leading and hands-on software development, his cross-functional expertise across different technology areas gives him unique insight into the best approaches for building complex systems and applications. In addition to facilitating technology on the executive level, Tolga has also successfully led numerous deployments involving web-based, mobile, Internet of Things (IoT), and real-time telecommunications applications. His passion for IoT in particular has driven Onica’s achievement of the AWS IoT competency, and he continues to show thought leadership in the field through his extensive speaking engagements at AWS events and educational groups across North America. Tolga also holds an MBA from Pepperdine University and helps customers strategize beyond technology solutions to improve their businesses and grow their bottom line.