0% found this document useful (0 votes)
3 views

ECS-2

Amazon ECS is a service that manages Docker containers, ensuring high availability and scalability of applications. It allows users to launch, manage, and migrate applications to the cloud without changing code, while providing improved security through container registries and IAM policies. Key features include high scalability, short boot-up times, and cost efficiency, with Fargate enabling users to launch containers without managing clusters.

Uploaded by

sagarmanikanta94
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

ECS-2

Amazon ECS is a service that manages Docker containers, ensuring high availability and scalability of applications. It allows users to launch, manage, and migrate applications to the cloud without changing code, while providing improved security through container registries and IAM policies. Key features include high scalability, short boot-up times, and cost efficiency, with Fargate enabling users to launch containers without managing clusters.

Uploaded by

sagarmanikanta94
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

Amazon cantainer service

ECR<>ecs is aserice that manage docker containers it is not a product or not a


f4ature all by it self
it is service that dpendent on docker containers. in ecs kind of breed free ight
the service can seam lessly
very less chances to ourappliation going down

1.amazon ecs maintain the availblity of the application and allows every user
to scale containers when necessary
2. which can launch and manage and exit quickly docker containers on a cluster

3. we can create, accessed manage container in to aws managment consol or sdk


kit<software devolopement kit>
like ajava and .net , node js programatically

4. migrates application to the cloud without changing the code.

# docker is atool to automation the deployment of an application as lightweight


container so that the application can wirk efficiently in different envirnments
# docker container is alightweight package of software tat consists of all
dependaries code ,frame work liabraries, required to run application

features:
1. high sclablity
2. short-boot up time
3. reuseble datavolumes
4/. isolated applications

ADVANTAGES OF ECS
IMPROVED SECURITY:IT IS IN-BUILT FEATURE. ECS WE HAVE SOMETHING CALLED AS CONTAINER
REGISTRY WHERE ALL THE IMAGES ARE STORE AND THOSE ARE ACCESS ONLY HTTPS AND IMAGES
ARE ENCRYPTED.
AND ALLOWED AND DENIED THROUGH IAM POLICIES. EX ONE CONTAINER HAS S3 ACCESS AND
OTHER ONE DENIED FOR S3 ACCESS IN SAME HOST

# CONTAINERS ARE VERY COST EFFICIENT AND LIGHT WEIGHT PROCESSERS


# FREELY-EXTENSIBLE: MANY ORG ARE MAJORITY OF UN PLANNED

architecute service:container image=======> container


registry<ecr,dockerhub>,=======> vpc
VPC
=====task==== ====task======== ==task=== ==task===
==task===
FARGATE
ELASTIC NETWORK INTERFACE ELASTIC NETWORK INTERFACE ELASTIC NETWORK
INTERFACE ELASTIC NETWORK INTERFACE
AVAILBLITY ZONE:1 AVAILBLITY ZONE:1 AVAILBLITY
ZONE:2 AVAILBLITY ZONE:2

fargate: 1. tasks are launched use fargate


2. fargate is acomputer engine in ecs that allowsc a user to launch containers
without having to moniter the clusters

task has two components:


# ecs container instance: it is a specific instances that run the containers
#ecs container instance is apart of aws ec2 instances which runs amazon ecs
containers agent

3 container agent:bind the clusters to gether and connect the clusters


# it is responsible for the communication between amazon ecs ND THE INSTANCE ALSO
PROVIDES THE STATUS OF RUNNING CONTAINERS

ELASTIC NWETWORK INTERFACE:


IT IS AVIRTUVAL INTERFACE NETWORK THAT CAN BE CONNECTED TO AN INSTANCE IN VPC SO IN

AMAZON ECS CLUSTER:


1. A CLUSTER IS ASET OF ECS CONTAINER INSTANCES
2. IT HANDLING THE PROCESS OF SCHDULING MONITERING AND SCALING THE REQUESTS

wide companyis are using like:


OKTA
GOPRO
ABEMA
REMIND
UBISOFT

HOW TO DEPLPLOY THE DOCKER CONTAINERS IN AWS-ECS


1. NEED AWS ACCOUNT
2.SET UP YOUR FIRST RUN WITH AMAZON ECS
3. CRE TE ATASK DEFINITION<IT DEFINE THE SIZE OF THE CONTAINERS>LIKE CPU AND RAM
REQUIRED

4. ADAVANCE CONFIGURATION LIKE LOAD BALENCERSAND YOU KNOW WHAT PORTS ALLOW AND
DENIED WHAT IP ALLOWED AND DENIED
# CONFIGURE SERVICE OPTIONS:

SERVICE NAME
DESIRED NUMBER OF TASKS
CONTAINER NAME
5.CONFIGURE OUR CLUSTER:
6. RESULT: LAUNCH INDSTANCE& RUN SERVICE

You might also like