Hi everyone
And welcome back to our blog article..
and today we are gonna be talking about container services on aws.
What will be Covered in this short article
- what are containers
- Compute options on aws
- what are container orchestrators
- How ECS works
- How EKS works
- and finally AWS ECR
Containers are like tiny boxes we use for packing our application and everything it needs, this include your dependences and libraries.
This makes our application easier and light weight to deploy on different platforms like aws, google or azure..
Docker and containerD can be used for the containerisation of your application,
And docker is the most popular in the market.
AWS have two compute infrastructure options for deploying containers on aws.
- EC2
- Fargate
Ec2 - is a self managed compute service,
Meaning you have some responsibilities in managing the infrastructure yourself. this might include installing the container runtime and deploying your application container on it..
While **Fargate **is a fully managed compute service on aws, aws are responsible for managing everything for you
all you have to do is to deploy your application.. this is called serverless compute
Depending on your workload and demands you can chose between this two options,
if you want to handle the installation and management yourself, Then ec2 is the best option for running your workload,
But if you want to abstract the management of the infrastructure and focus more on development, then fargate would be the best option for your workload.
when your applications grows, the number of containers are going to increase as well, some micro service applications can. range from 100s to 100000s of containers.. managing this yourself might become tasking..
some problems may rise like;
- How do you know when a container is down
- How to schedule another task for on the cluster
- How to LoadBalance
- How to autoscale
- How to allocate the right resources on your cluster and so on..
Management might become hard and messy, that is why we need a container orchestrator..
We all know KUBERNETES, as the most popular container orchestrator tool in the market..
we also have other tools like
- Docker swarm
- Nomad
- Apache Mesos
- and AWS ECS
ECS is means elastic container service..
it is aws owned fully managed container orchestration service.
How does it work?
it comes with a control plan with the whole control tools installed and a dashboard
with it, you can control a fleet of instances, called the workers node
the worker will have the runtime installed alongside other worker processes
the worker node can be your EC2 instance which you will have access to manage your self or fargate which is serverless managed by aws..
you can also chose a blend of the both..
eks means elastic kubernetes service..
if you love using kubernetes, EKS is AWS managed kubernetes service for you.
How does EKS it works?
it comes with a control plane with the whole control tools pre-installed, and with that,
You can create a cluster of instances
And deploy your application using KUBECTL..
the instance can be ec2 which is self managed or fargate which is serverless.
ECR means elastic container registry
this is AWS managed private container registry.. similar to what we have on docker hub.
you can push images to ecr and pull them into your ecs or eks clusters seemlessly.
one of the advantage include..
- Seamless integration. since all these are under aws ecosystem, it integrates seamlessly with other services like;
- The VPC
- Elastic LoadBalancer
- Iam and so on..
Some key take aways..
- Containers are like envelops for packing our applications with all it needs to run, this include the (dependencies and libraries).
- Ec2 is a self managed compute instance offer by AWS
- Fargate is a serverless compute instance offer by AWS
- Container ochestrators are used for handleing the management of multiple container, like load balancing, scheduling task, resource allocation, autoscaling and so on.
- ECS is AWS owned managed container orchestration service
- EKS is AWS managed kubernetes orchestration service
- finally ECR is managed container resgistry
Ready to Take Your DevOps Skills to the Next Level? 🚀
If you're excited about mastering AWS container services and beyond, join our 6-month DevOps bootcamp! Perfect for beginners and pros alike, this bootcamp covers everything from fundamental DevOps principles to hands-on experience with CI/CD, AWS, Docker, Kubernetes, Automation, Monitoring and more.
Classes are three times a week, with personalised support, real-world projects, and job-ready skills to launch your career!
👉 Sign up now and start your journey towards becoming a certified DevOps professional!
prosperagada01@gmail.com
agasglobaltech.com
thank you and see you next time.
Top comments (0)