Docker containers seem to 'inherit' the instance profile of the host ec2. How?

大城市里の小女人 提交于 2019-12-03 11:58:15

That's correct, the credentials are of the host machine. It gets them from the metadata endpoint, as you suspected.

One solution/workaround to give narrower access is ec2metadataproxy. I haven't used it yet.

The security group access is based on the host container too, unfortunately.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!