Whatever you wanna call it, I call it Docker mostly 😉.
Why we needed something like docker (if know about docker if not just wait)?
Answer to the above question can be explained by the simple line you might have heard about it !!
"It works in my machine"
so back then we don't have any clear or precise answer that can satisfy someone need, but now we have and it called as Docker or Containerization.
In a very simple words suppose you have written a piece of code and you want to send it to someone else without breaking the code or environment in which you're running it you need to pack your code in a docker image or container image that you can send in zip or upload to the registry like DockerHub, just like GitHub. And then just give them the url.
It looks like something this 👇👇👇
You can even download the Docker for you OS more info click here.
And from their documentation you can learn the basic command and usage.
Basically We are supposed to be or it is required to run only single program, single thing, only 1 service inside a container.
And that's the most powerful thing my friend !! you might ask why ?
Supposed you're running something inside docker container that was compromised or hacked so attacker will only be able to access that single container not the whole system because it's running standalone.
I'm not going to much detail coz then it will be a whole lot burden 😅 even if you want to learn about this just google about it and you'll find the answer. TRUST ME JUST DO IT!! 🔥🔥🔥
That's the reason I'm here for 😎😎😎
ECS Elastic Container Services, why elastic ?? it can expand as much as you want that's why!
So it's a bunch of services together we call it ECS like ECR, fargate, and the (K8s) cluster services, hmmm strange I thought there were more but okay we can do this.
Again what does this ECR is it's called Elastic Container Registry, remember about DockerHub like GitHub it the same but only as AWS services and a couple of differences about their working, simple words we can save our image over there and share them.
Fargate!! It's a serverless service for Kubernetes Cluster or whatever you wanna call it, but it's using the containers that's for sure.
And if we go deep inside we discover there are bunch of services or term that we need to understand for that I'll be writing a How-to-blog so stay tuned
NOTE: Somethings that I'm not mentioning like scaling, managed or not, pricing etc are not really part of this blog as these are just to give a general idea of the services so forgive me about tha t.
That uses the Containers as their major components, there are some-others too but as you are just learning these services are enough for you for now.