DistributedScience / Distributed-CellProfiler

Run encapsulated docker containers with CellProfiler in the Amazon Web Services infrastructure.
https://distributedscience.github.io/Distributed-CellProfiler/
Other
39 stars 25 forks source link

Fix docs: description for setting up IamFleetRole is outdated #85

Closed shntnu closed 4 years ago

shntnu commented 6 years ago

@mwawer reported that when he tried to run jobs, it fails with: SpotFleetRequestConfig.IamFleetRole is invalid

and later reported that he had to select different role settings; the description of how to set up that role is outdated.

mwawer commented 6 years ago

This is mainly an issue with the detailed PDF instructions (by John McLaughlin).

When setting up the role, users should select "EC2" from the extended table (NOT the top): aws_spot_fleet_role1

From the detailed options that appear, select "EC2 Spot Fleet Role" and click "Next: Permissions".

Under Permissions, select "AmazonEC2SpotFleetTaggingRole" (the only one available), then review and finish. (I later added "AmazonS3FullAccess", but this may not be necessary).

Once the role is created, it should list spotfleet.amazonaws.com (not ec2.amazonaws.com) under the Trust relationships tab.

NiklasTR commented 6 years ago

I had exactly the same problem when I set up DCP 10 days ago. Fixed it the same way.