{"id":37748,"date":"2016-07-30T21:42:08","date_gmt":"2016-07-30T16:12:08","guid":{"rendered":"https:\/\/2thenew.online\/blog\/?p=37748"},"modified":"2016-08-01T17:20:37","modified_gmt":"2016-08-01T11:50:37","slug":"attach-iam-role-to-an-aws-elastic-container-service-task","status":"publish","type":"post","link":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/","title":{"rendered":"Attach IAM Role to an AWS Elastic Container Service Task"},"content":{"rendered":"<p>If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster.\u00a0If we have a scenario where we want each of our application should upload its <a title=\"aws automation\" href=\"https:\/\/2thenew.online\/devops-aws\">data to a separate AWS S3 bucket<\/a>, we create a single role giving access to all S3 buckets and attach it to the cluster instance. This would give access to every application to access every S3 bucket.<\/p>\n<p>To control the application access to S3 buckets, we have to assign IAM role at the task level, so that each application has access only to its own bucket.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-38700\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/07\/Screen-Shot-2016-07-30-at-12.40.38-AM.png\" alt=\"Screen Shot 2016-07-30 at 12.40.38 AM\" width=\"404\" height=\"353\" \/><\/p>\n<p><strong>Create IAM Role:<\/strong><\/p>\n<p>First, you need to create a new Role, select <strong>Amazon EC2 Container Service Task Role<\/strong> type in the Select Role type option while creating the IAM role.<\/p>\n<p><strong><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37749\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/07\/IAM-Management-Console.png\" alt=\"IAM Management Console\" width=\"2269\" height=\"803\" \/><\/strong><\/strong><\/p>\n<p><strong>Create Task:<\/strong><\/p>\n<p>Select IAM role from the Task Role drop-down list, add container definition and save the task. Now, if you run that task manually or create any service from that task, it will have the selected IAM role with it:<\/p>\n<p><strong><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37750\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/07\/Screen-Shot-2016-07-17-at-12.29.43-PM.png\" alt=\"Screen Shot 2016-07-17 at 12.29.43 PM\" width=\"2548\" height=\"1174\" \/><\/strong><\/strong><\/p>\n<p><strong>Run Task:<\/strong><\/p>\n<p>You can also override IAM role while running any task manually. You need to select the new IAM role that you want to attach to that task:<\/p>\n<p><strong><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-37751\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/07\/Amazon-EC2-Container-Service.png\" alt=\"Amazon EC2 Container Service\" width=\"2259\" height=\"1050\" \/><\/strong><\/strong><\/p>\n<p><strong>Query Credentials:<\/strong><\/p>\n<p>From the container you can also query the credentials from the following CURL request:<\/p>\n<pre class=\"programlisting\"><code class=\"nohighlight\">$ curl 169.254.170.2$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI -ss | python -mjson.tool<\/code><\/pre>\n<p><strong><strong><img loading=\"lazy\" decoding=\"async\" class=\"alignnone  wp-image-37752\" src=\"\/blog\/wp-ttn-blog\/uploads\/2016\/07\/Screen-Shot-2016-07-17-at-12.25.35-PM.png\" alt=\"Screen Shot 2016 07 17 at 12.25.35 PM\" width=\"984\" height=\"148\" \/><\/strong><\/strong><\/p>\n<p><strong>IAM Logs:<\/strong><\/p>\n<p>When the IAM roles for tasks credential provider is used to provide credentials to tasks, these requests are logged in\/var\/log\/ecs\/audit.log.<i>YYYY<\/i>&#8211;<i>MM<\/i>&#8211;<i>DD<\/i>&#8211;<i>HH<\/i>. Each log has an entry for TaskARN &amp; Container Instance ARN with other entries like timestamp etc, so if you are pushing these logs on a centralized location, you can easily identify the task and the instance from which that log has been generated.<\/p>\n<p><strong>Conclusion:<\/strong><\/p>\n<ul>\n<li style=\"font-weight: 400;\">Now a container can only access the resources that are allowed in the IAM role that is defined in the task definition and can never access the credentials of another container running into the same container Instance.<\/li>\n<li style=\"font-weight: 400;\">From Access log, auditing is possible, and now you can track which task from \u00a0which container instance is accessing the resources.<\/li>\n<\/ul>\n<p>Hope this helps you understand ECS in a better way. I will be back with another blog soon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster.\u00a0If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving [&hellip;]<\/p>\n","protected":false},"author":678,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":73,"footnotes":""},"categories":[1174,2348,1],"tags":[3866,3864,1883,3688,3862,3865,3863],"class_list":["post-37748","post","type-post","status-publish","format-standard","hentry","category-aws-2","category-devops-technology","category-technology","tag-aws-docker","tag-container-access-and-logs","tag-docker","tag-ecs","tag-ecs-iam","tag-ecs-roles","tag-iam-roles"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Tejprakash Sharma\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#article\",\"name\":\"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog\",\"headline\":\"Attach IAM Role to an AWS Elastic Container Service Task\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/tejprakash-2\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"\\\/blog\\\/wp-ttn-blog\\\/uploads\\\/2016\\\/07\\\/Screen-Shot-2016-07-30-at-12.40.38-AM.png\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#articleImage\"},\"datePublished\":\"2016-07-30T21:42:08+05:30\",\"dateModified\":\"2016-08-01T17:20:37+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#webpage\"},\"articleSection\":\"AWS, DevOps, Technology, aws docker, container access and logs, docker, ecs, ecs iam, ecs roles, iam roles\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"position\":2,\"name\":\"Technology\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#listItem\",\"name\":\"Attach IAM Role to an AWS Elastic Container Service Task\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#listItem\",\"position\":3,\"name\":\"Attach IAM Role to an AWS Elastic Container Service Task\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/technology\\\/#listItem\",\"name\":\"Technology\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/tejprakash-2\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/tejprakash-2\\\/\",\"name\":\"Tejprakash Sharma\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#authorImage\",\"url\":\"https:\\\/\\\/newersworld-sf-static.tothenew.net\\\/prod\\\/profilePicFolder\\\/93667a28-278f-4ea1-a81a-6bbd18ed1db9_tejprakash.sharma@tothenew.com.jpg\",\"width\":96,\"height\":96,\"caption\":\"Tejprakash Sharma\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/\",\"name\":\"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog\",\"description\":\"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/attach-iam-role-to-an-aws-elastic-container-service-task\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/tejprakash-2\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/tejprakash-2\\\/#author\"},\"datePublished\":\"2016-07-30T21:42:08+05:30\",\"dateModified\":\"2016-08-01T17:20:37+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog","description":"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving","canonical_url":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#article","name":"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog","headline":"Attach IAM Role to an AWS Elastic Container Service Task","author":{"@id":"https:\/\/2thenew.online\/blog\/author\/tejprakash-2\/#author"},"publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"},"image":{"@type":"ImageObject","url":"\/blog\/wp-ttn-blog\/uploads\/2016\/07\/Screen-Shot-2016-07-30-at-12.40.38-AM.png","@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#articleImage"},"datePublished":"2016-07-30T21:42:08+05:30","dateModified":"2016-08-01T17:20:37+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#webpage"},"isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#webpage"},"articleSection":"AWS, DevOps, Technology, aws docker, container access and logs, docker, ecs, ecs iam, ecs roles, iam roles"},{"@type":"BreadcrumbList","@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","position":1,"name":"Home","item":"https:\/\/2thenew.online\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","position":2,"name":"Technology","item":"https:\/\/2thenew.online\/blog\/category\/technology\/","nextItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#listItem","name":"Attach IAM Role to an AWS Elastic Container Service Task"},"previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#listItem","position":3,"name":"Attach IAM Role to an AWS Elastic Container Service Task","previousItem":{"@type":"ListItem","@id":"https:\/\/2thenew.online\/blog\/category\/technology\/#listItem","name":"Technology"}}]},{"@type":"Organization","@id":"https:\/\/2thenew.online\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/2thenew.online\/blog\/"},{"@type":"Person","@id":"https:\/\/2thenew.online\/blog\/author\/tejprakash-2\/#author","url":"https:\/\/2thenew.online\/blog\/author\/tejprakash-2\/","name":"Tejprakash Sharma","image":{"@type":"ImageObject","@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#authorImage","url":"https:\/\/newersworld-sf-static.tothenew.net\/prod\/profilePicFolder\/93667a28-278f-4ea1-a81a-6bbd18ed1db9_tejprakash.sharma@tothenew.com.jpg","width":96,"height":96,"caption":"Tejprakash Sharma"}},{"@type":"WebPage","@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#webpage","url":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/","name":"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog","description":"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/2thenew.online\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/#breadcrumblist"},"author":{"@id":"https:\/\/2thenew.online\/blog\/author\/tejprakash-2\/#author"},"creator":{"@id":"https:\/\/2thenew.online\/blog\/author\/tejprakash-2\/#author"},"datePublished":"2016-07-30T21:42:08+05:30","dateModified":"2016-08-01T17:20:37+05:30"},{"@type":"WebSite","@id":"https:\/\/2thenew.online\/blog\/#website","url":"https:\/\/2thenew.online\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/2thenew.online\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog","og:description":"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving","og:url":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/","og:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Attach IAM Role to an AWS Elastic Container Service Task | TO THE NEW Blog","twitter:description":"If you are hosting some micro websites on the AWS ECS, where every task is a separate application, and each task has running multiple containers on a Cluster. If we have a scenario where we want each of our application should upload its data to a separate AWS S3 bucket, we create a single role giving","twitter:image":"https:\/\/2thenew.online\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"37748","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"blog","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-29 14:08:28","updated":"2024-02-29 08:56:56","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/2thenew.online\/blog\/category\/technology\/\" title=\"Technology\">Technology<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tAttach IAM Role to an AWS Elastic Container Service Task\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/2thenew.online\/blog"},{"label":"Technology","link":"https:\/\/2thenew.online\/blog\/category\/technology\/"},{"label":"Attach IAM Role to an AWS Elastic Container Service Task","link":"https:\/\/2thenew.online\/blog\/attach-iam-role-to-an-aws-elastic-container-service-task\/"}],"_links":{"self":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/37748","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/users\/678"}],"replies":[{"embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/comments?post=37748"}],"version-history":[{"count":0,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/posts\/37748\/revisions"}],"wp:attachment":[{"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/media?parent=37748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/categories?post=37748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/2thenew.online\/blog\/wp-json\/wp\/v2\/tags?post=37748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}