Hi, I’ve connected the Docker account to AWS like described here https://docs.docker.com/docker-cloud/infrastructure/link-aws/
Then I went on to create a new node cluster on AWS:
Disk Space: 0GB (keeps showing 0 in the cluster overview, no matter if I set it to 10GB or 60GB)
It fails with following output:
Deploying node cluster myproject:myprojectstaging
12345678-myproject: Deploying to Amazon Web Services/ap-southeast-1
12345678-myproject: Instance is now terminated in Amazon Web Services
ERROR: 12345678-myproject: AWS returned an error: unauthorized operation. Please check that the AWS credentials you have provided have enough permissions
12345678-myproject: Reallocating containers in other nodes...
ERROR: Node Cluster Deploy action on 'myprojectstaging' in region 'Amazon Web Services/ap-southeast-1' has failed
12345678-myproject: Reallocation done!
I also tried to temporarily give the role FullAccess policies to EC2 and other services, but still it still won’t deploy.
When I remove all policies (including the dockercloud-policy) it actually tells me “Invalid AWS role or insufficient permissions”.
Also tried us-east-1 region with same results.
I’ve played around more with the AWS policies and adding AmazonEC2ContainerServiceFullAccess seems to allow the creation of nodes on AWS. The policy from the docs does not seem to be enough.