AMAZON ELASTIC CONTAINER SERVICE
What are Containers ?
Containers are an abstraction at the app layer that packages code and dependencies together. Multiple containers can run on the same machine and share the OS kernel with other containers, each running as isolated processes in users pace. In other words, containers are a form of operating system virtualization. A single container can be used to run anything from a small microservice to a software process to a large application. A container contains all the necessary executables, binary code, libraries, and configuration files. Containers do not contain operating system images when compared to server or machine virtualization systems. This makes them more lightweight and portable, and the overhead is much smaller. In large application extensions, multiple containers can be placed in one or more container clusters. Such groups are run by a container orchestrator such as Kubernetes or Docker Swarm.
What is ECS ?
Amazon Elastic Container Service (ECS) is a cloud computing service in Amazon Web Services (AWS) that manages containers and lets developers run applications in the cloud without having to configure an environment for the code to run in. It enables developers with AWS accounts to deploy and manage scalable applications that run on groups of servers called clusters through API calls and task definitions. Amazon ECS is a scalable service accessible through the AWS Management Console and SDKs.
Steps to use ECS service :
Step 1 : Login to AWS console and search for ECS service .
Step 2 : Create Clusters .
Three different ways for infrastructure (Launch Type):
EC2 : register and manage the EC2 instances yourself.
Fargate : serverless , magically handle for you .
External ECS : for on-premise server that you register and manage remotely.
Step 3 : Create a task definition .
Step 4 : Configure environment, storage, monitoring, and tags .
Step 5 : Go back to cluster and under the service deploy the cluster .
Step 6 : Go to networking under task definitions .
Step 7 : Go to services under cluster and access the server .
Thankyou for reading ..