{"id":2960,"date":"2019-08-30T09:53:00","date_gmt":"2019-08-30T09:53:00","guid":{"rendered":"https:\/\/www.testpreptraining.com\/tutorial\/?page_id=2960"},"modified":"2020-05-01T10:59:53","modified_gmt":"2020-05-01T10:59:53","slug":"aws-ecs","status":"publish","type":"page","link":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/","title":{"rendered":"AWS ECS"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>AWS service for container management<\/li><li>supports Docker containers<\/li><li>provides scalability and performance to\ncontainer management <\/li><li>easily manage cluster of EC2 instances<\/li><li>Removes following cluster management tasks<ul><li>Installation<\/li><\/ul><ul><li>Operation<\/li><\/ul><ul><li>scaling\n<\/li><\/ul><\/li><\/ul>\n\n\n\n<p><strong>ECS Terms<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Task Definition <ul><li>Defines launching of docker container <\/li><\/ul><ul><li>Enlists settings for <ul><li>exposed port<\/li><\/ul><ul><li>docker image<\/li><\/ul><ul><li>cpu shares<\/li><\/ul><ul><li>memory requirement<\/li><\/ul><ul><li>command to run and environmental variables<\/li><\/ul><\/li><\/ul><\/li><li>Task <ul><li>Container in action or running with settings as\nper Task Definition<\/li><\/ul><\/li><li>Service <ul><li>Used to describe long running tasks of Task\nDefinition. same task definition can be used by multiple running containers<\/li><\/ul><\/li><li>Cluster <ul><li>Logical collection of EC2 instances<\/li><\/ul><\/li><li>Container Instance <ul><li>EC2 instance which is part of ECS Cluster and <\/li><\/ul><ul><li>Cluster has running docker and ecs-agent <\/li><\/ul><\/li><li>Container agent <ul><li>Software agent running on EC2 instances in ECS\ncluster. <\/li><\/ul><\/li><li>Task definition <ul><li>application having multiple containers<\/li><\/ul><ul><li>provide <ul><li>Docker images<\/li><\/ul><ul><li>amount of CPU <\/li><\/ul><ul><li>memory to use<\/li><\/ul><ul><li>ports etc. <\/li><\/ul><\/li><\/ul><\/li><li>Service <ul><li>runs and maintains instances of task definition.\n<\/li><\/ul><ul><li>task is restarted if task stops in a service<\/li><\/ul><ul><li>ensure specified running tasks are achieved and\nmaintained<\/li><\/ul><ul><li>also has <ul><li>load balancer configuration<\/li><\/ul><ul><li>IAM roles <\/li><\/ul><ul><li>placement strategies<\/li><\/ul><\/li><\/ul><\/li><li>Service auto-scaling <ul><li>similar to EC2 auto scaling <\/li><\/ul><ul><li>but applies to containers running for each\nservice<\/li><\/ul><ul><li>a scaling policy can trigger scale-out based on\nalarms.<\/li><\/ul><\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"237\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-237.png\" alt=\"\" class=\"wp-image-3936\"\/><\/figure>\n\n\n\n<p><strong>Amazon ECS Application &nbsp;<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Microservices &#8211; Amazon ECS helps you run\nmicroservices applications with native integration to AWS services and enables\ncontinuous integration and continuous deployment (CICD) pipelines.<\/li><li>Batch processing &#8211; Amazon ECS lets you run batch\nworkloads with managed or custom schedulers on Amazon EC2 On-Demand Instances,\nReserved Instances, or Spot Instances.<\/li><li>Application migration to the cloud &#8211; Legacy enterprise\napplications can be containerized and easily migrated to Amazon ECS without\nrequiring code changes.<\/li><li>Machine learning &#8211; Amazon ECS makes it easy to\ncontainerize ML models for both training and inference. You can create ML\nmodels made up of loosely coupled, distributed services that can be placed on\nany number of platforms, or close to the data that the applications are\nanalyzing.<\/li><\/ul>\n\n\n\n<p><strong>Amazon ECS Working<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"624\" height=\"220\" src=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-238.png\" alt=\"\" class=\"wp-image-3937\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>AWS service for container management supports Docker containers provides scalability and performance to container management easily manage cluster of EC2 instances Removes following cluster management tasks Installation Operation scaling ECS Terms Task Definition Defines launching of docker container Enlists settings for exposed port docker image cpu shares memory requirement command to run and environmental variables&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2476,"menu_order":43,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"categories":[2],"tags":[7,514],"class_list":["post-2960","page","type-page","status-publish","hentry","category-amazon-aws","tag-aws","tag-aws-ecs"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>AWS ECS - Testprep Training Tutorials<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AWS ECS - Testprep Training Tutorials\" \/>\n<meta property=\"og:description\" content=\"AWS service for container management supports Docker containers provides scalability and performance to container management easily manage cluster of EC2 instances Removes following cluster management tasks Installation Operation scaling ECS Terms Task Definition Defines launching of docker container Enlists settings for exposed port docker image cpu shares memory requirement command to run and environmental variables...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/\" \/>\n<meta property=\"og:site_name\" content=\"Testprep Training Tutorials\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-01T10:59:53+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-237.png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/\",\"name\":\"AWS ECS - Testprep Training Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\"},\"datePublished\":\"2019-08-30T09:53:00+00:00\",\"dateModified\":\"2020-05-01T10:59:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AWS Certified Developer Associate (DVA-C01)\",\"item\":\"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"AWS ECS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#website\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"name\":\"Testprep Training Tutorials\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#organization\",\"name\":\"Testprep Training\",\"url\":\"https:\/\/www.testpreptraining.ai\/tutorial\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"contentUrl\":\"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png\",\"width\":583,\"height\":153,\"caption\":\"Testprep Training\"},\"image\":{\"@id\":\"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AWS ECS - Testprep Training Tutorials","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/","og_locale":"en_US","og_type":"article","og_title":"AWS ECS - Testprep Training Tutorials","og_description":"AWS service for container management supports Docker containers provides scalability and performance to container management easily manage cluster of EC2 instances Removes following cluster management tasks Installation Operation scaling ECS Terms Task Definition Defines launching of docker container Enlists settings for exposed port docker image cpu shares memory requirement command to run and environmental variables...","og_url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/","og_site_name":"Testprep Training Tutorials","article_modified_time":"2020-05-01T10:59:53+00:00","og_image":[{"url":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-content\/uploads\/2019\/09\/image-237.png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/","url":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/","name":"AWS ECS - Testprep Training Tutorials","isPartOf":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website"},"datePublished":"2019-08-30T09:53:00+00:00","dateModified":"2020-05-01T10:59:53+00:00","breadcrumb":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/aws-ecs\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.testpreptraining.ai\/tutorial\/"},{"@type":"ListItem","position":2,"name":"AWS Certified Developer Associate (DVA-C01)","item":"https:\/\/www.testpreptraining.ai\/tutorial\/aws-certified-developer-associate\/"},{"@type":"ListItem","position":3,"name":"AWS ECS"}]},{"@type":"WebSite","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#website","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","name":"Testprep Training Tutorials","description":"","publisher":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.testpreptraining.ai\/tutorial\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#organization","name":"Testprep Training","url":"https:\/\/www.testpreptraining.ai\/tutorial\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/","url":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","contentUrl":"https:\/\/www.testpreptraining.com\/tutorial\/wp-content\/uploads\/2020\/07\/tpt-logo-6.png","width":583,"height":153,"caption":"Testprep Training"},"image":{"@id":"https:\/\/www.testpreptraining.ai\/tutorial\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2960","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/comments?post=2960"}],"version-history":[{"count":4,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2960\/revisions"}],"predecessor-version":[{"id":5117,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2960\/revisions\/5117"}],"up":[{"embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/pages\/2476"}],"wp:attachment":[{"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/media?parent=2960"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/categories?post=2960"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testpreptraining.ai\/tutorial\/wp-json\/wp\/v2\/tags?post=2960"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}