简体   繁体   中英

AWS Data Pipeline didn't showing EC2 instance role

I am trying to get data from S3 to Dynamodb using AWS Data Pipeline. The issue I am facing is that my "Data Pipeline" wasn't showing EC2 instance role even though I have created one in the IAM. I have created default roles for Pipeline and EC2. 管道角色 EC2 角色 这是管道的图片

You can see in the picture that Pipeline Role is showing but the EC2 role didn't appear. I have refreshed several times and recreated Pipeline but didn't get the expected result.

I ran into this problem too.
I think you need to create an instance profile .

Data Pipeline's doc says that you should choose EC2 Role for Data Pipeline use case to create a resource role. But if you do that, instance profile won't be created.
Instead, you need to choose EC2 use case and attach policies to the role. Instance profile will be created automatically.

I resolved this issue by creating a standard EC2 role for the Instance Role and not using the Data Pipeline option while making the Resource role. Creating the EC2 Resource role using the Data Pipeline option seems to be deprecated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM