mirror of https://github.com/docker/docs.git
Update cloud-on-aws-faq.md (#2416)
* Update cloud-on-aws-faq.md * Update cloud-on-aws-faq.md Revise. Sorry, my thought wandered at that moment<span class="emoji-outer emoji-sizer"><span class="emoji-inner" style="background: url(chrome-extension://immhpnclomdloikkpcefncmfgjbkojmh/emoji-data/sheet_apple_64.png);background-position:67.5% 65%;background-size:4100%" title="dizzy_face"></span></span>
This commit is contained in:
parent
c631541bd0
commit
994abe8ace
|
|
@ -12,7 +12,7 @@ This section answers frequently asked questions about using Docker Cloud with Am
|
||||||
|
|
||||||
To validate your AWS Security Credentials, Docker Cloud tries to dry-run an instance on every region. Credentials are marked as valid if the operation succeeds at least in one of the regions. If you get the following message `Invalid AWS credentials or insufficient EC2 permissions` follow these steps to troubleshoot it:
|
To validate your AWS Security Credentials, Docker Cloud tries to dry-run an instance on every region. Credentials are marked as valid if the operation succeeds at least in one of the regions. If you get the following message `Invalid AWS credentials or insufficient EC2 permissions` follow these steps to troubleshoot it:
|
||||||
|
|
||||||
1. <a href="https://aws.amazon.com/cli/" target="_blank">Download AWS CLI</a>
|
1. <a href="https://aws.amazon.com/cli/" target="_blank">Download AWS CLI</a>.
|
||||||
2. <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html" target="_blank">Configure the CLI</a> with your security credentials.
|
2. <a href="http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html" target="_blank">Configure the CLI</a> with your security credentials.
|
||||||
2. Run the following command:
|
2. Run the following command:
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@ A client error (DryRunOperation) occurred when calling the RunInstances operatio
|
||||||
|
|
||||||
## "AWS returned an error: unauthorized operation" using instance profiles to deploy node clusters
|
## "AWS returned an error: unauthorized operation" using instance profiles to deploy node clusters
|
||||||
|
|
||||||
This error occurs when you are using an instance profile that has more permissions than the IAM user you are using with Docker Cloud. You can fix this by adding the `"Action":"iam:PassRole"` permission to the IAM policy for the `dockercloud` service user. You can read more about this <a href="http://blogs.aws.amazon.com/security/post/Tx3M0IFB5XBOCQX/Granting-Permission-to-Launch-EC2-Instances-with-IAM-Roles-PassRole-Permission" target="_blank">here</a>
|
This error occurs when you are using an instance profile that has more permissions than the IAM user you are using with Docker Cloud. You can fix this by adding the `"Action":"iam:PassRole"` permission to the IAM policy for the `dockercloud` service user. You can read more about this <a href="http://blogs.aws.amazon.com/security/post/Tx3M0IFB5XBOCQX/Granting-Permission-to-Launch-EC2-Instances-with-IAM-Roles-PassRole-Permission" target="_blank">here</a>.
|
||||||
|
|
||||||
## What objects does Docker Cloud create in my EC2 account?
|
## What objects does Docker Cloud create in my EC2 account?
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue