How to configure IAM roles for ECS tasks

0 votes

I am trying to launch a container using AWS ECS, but i think i have messed up while creating IAM roles. So, my question is how to configure IAM roles for ECS tasks?

Nov 5, 2018 in AWS by datageek
• 3,090 points
2,229 views

1 answer to this question.

0 votes

You first need to create an IAM role for your task, using the 'Amazon EC2 Container Service Task Role’ service role and attaching a policy with the required permissions. When you create a new task definition or a task definition revision you can then specify a role by selecting it from the ’Task Role’ drop-down or using the ‘taskRoleArn’ filed in the JSON format.

answered Nov 5, 2018 by anonymous

Related Questions In AWS

0 votes
1 answer

How to configure credentials for IAM user in CLI?

Hi@akhtar, To pass credentials for your IAM user ...READ MORE

answered Jun 10, 2020 in AWS by MD
• 95,460 points
763 views
0 votes
1 answer

How to configure Elastic Beanstalk for RDS

I suggest removing the config file from ...READ MORE

answered Aug 14, 2018 in AWS by anonymous
1,085 views
0 votes
1 answer
0 votes
1 answer

How to change the password for your IAM user?

Hi@akhtar, You can change the password of the IAM ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,103 views
0 votes
1 answer

How to create an access key for an IAM user in AWS?

Hi@akhtar, You can create a new AWS secret ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
674 views
0 votes
1 answer

How to create a password for an IAM user?

Hi@akhtar, You can create a password for the specified ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
850 views
0 votes
1 answer

How to delete an access key for an IAM user?

Hi@akhtar, If you do not specify a user ...READ MORE

answered Nov 3, 2020 in AWS by MD
• 95,460 points
1,452 views
0 votes
1 answer

How to activate or deactivate an access key for an IAM user?

Hi@akhtar, The following update-access-key command deactivates the specified access key ...READ MORE

answered Nov 4, 2020 in AWS by MD
• 95,460 points
2,312 views
0 votes
1 answer

How to provide tags for the stack in CloudFormation Template?

In the template anatomy, you cant set ...READ MORE

answered Aug 13, 2018 in AWS by bug_seeker
• 15,510 points
19,617 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP