POC On ECS VS EKS VS EB

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 6

Deploying Docker Containers On AWS

There are 3 major services to host and manage your containerized application on AWS. Whether it
is AWS Elastic Container Service (ECS), Elastic Kubernetes Service (EKS), or Elastic Beanstalk
with a multi-container platform.

Amazon Elastic Beanstalk


AWS Elastic Beanstalk is an easy-to-use service for deploying and managing web applications and
services. It not only supports applications developed with modern popular programming but also
supports containerization on modern servers, including Nginx, Apache, Passenger, and IIS. Elastic
Beanstalk comes under the category of Platform-as-Service (PaaS).
1. What is the level of difficulty when deploying elastic beanstalk?

medium

2. What security ENI support provided with Elastic beanstalk?

Container

 Why ECS Not suitable for complex apps?

If your application requires a lot of different components like message queue, background job, and
it has a lot of microservices then beanstalk should not be your first choice because every time
reconfiguration of envs is not preferrable

why there are Issues with deployments in beanstalk?

Large deployments are slow, and it is difficult to troubleshoot what the exact error is and what is the
source of the error .

Why Stack updates is difficult & not having deployment control in Elastic Beanstalk?

Elastic Beanstalk keeps updating the underlying stack frequently, which makes sense. Elastic
Beanstalk comes out with new stack versions all the time — but we have zero information on what
has changed.However, you do not get any intimation if your current applications will be affected or
not. Only after your existing application breaks, then will you notice the impact of stack upgrade.
Amazon Elastic Container Service (ECS)
Amazon Elastic Container Service (ECS) is a fully managed container management service that
supports Docker containers and allows users to easily run applications on a managed ECS cluster.
The cluster can be formed with EC2 nodes or through server-less solution Fargate.

1. What is the level of difficulty when deploying ecs?

Easy
2. What security ENI support provided with Elastic beanstalk?

Task

 why balancing container load is difficult in ECS?


No built-in load balancing: It relies on AWS-provided ELB

Why ecs Cloud Agnostic?

If you move away from AWS to another cloud vendor, then migrating ECS along with other
components of your ecosystem would be challenging.

Amazon Elastic Kubernetes Service (EKS)


Elastic Kubernetes Service (EKS) is a fully managed service from Amazon which helps in running
Kubernetes on AWS without requiring the user to maintain their own Kubernetes control plane. It
supports both EC2 instances and Fargate for computing needs.
1. What is the level of difficulty when deploying elastic beanstalk?

medium

2. What security ENI support provided with Elastic beanstalk?

Pods

 why eks a costly option for container orchaestration?

There is no extra charge for using ECS itself. However, Each EKS cluster costs $0.10 per hour,
which means an additional cost of up to $72 per month for every Kubernetes cluster you operate.

Conclusion

What is best service?

You should go for AWS Elastic Container Service (ECS)

Why ?

 You are developing complex and large applications, where many team members will work on
several deployments simultaneously.

 Very compatible with Jenkins cicd

 You want an AWS native solution to integrate easily with other AWS solutions.
How ?

 Git code automated trigger deployment to jenkins

 jenkins cicd create docker image & upload it to ecr

Then create task defination of the the ecr image

create service with updated ecr image

Deployment process:-

You might also like