---
title: "Discussion on \"Difference between task role and execution role in AWS ECS\" | Hashnode"
description: "Discussion on \"Difference between task role and execution role in AWS ECS\". Today, I want to explain the difference between a task role and an execution role in AWS ECS. Yesterday, I set up AWS ECS for a UAT environment and defined both roles. Let me clarify what a task role"
url: "https://hashnode.com/posts/difference-between-task-role-and-execution-role-in-aws-ecs/69a41684a7428b958da48a2c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Difference between task role and execution role in AWS ECS](https://frandisharing.com/difference-between-task-role-and-execution-role-in-aws-ecs?utm_source=hashnode&utm_medium=feed)

Today, I want to explain the difference between a task role and an execution role in AWS ECS. Yesterday, I set up AWS ECS for a UAT environment and defined both roles. Let me clarify what a task role

Mar 1 · 2 min read · frandisharing.com  
Read the article

-   [#aws](https://hashnode.com/tag/aws)
-   [#ecs](https://hashnode.com/tag/ecs)
-   [#task-role](https://hashnode.com/tag/task-role)
-   [#execution-role](https://hashnode.com/tag/execution-role)

## Written by

[Zin Lin Htet](https://hashnode.com/@Frandilinhtet)

@Frandilinhtet · Myanmar

  
[View profile](https://hashnode.com/@Frandilinhtet)

Cloud DevOps Engineer

I'm Zin Lin Htet. Who love to learn and share about Linux, Cloud, Docker and K8s. Currently working as a DevOps Engineer at one of the famous Fintech Company in Myanmar.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
