Title: Support for multiple instance types · Issue #216 · DistributedScience/Distributed-CellProfiler · GitHub
Open Graph Title: Support for multiple instance types · Issue #216 · DistributedScience/Distributed-CellProfiler
X Title: Support for multiple instance types · Issue #216 · DistributedScience/Distributed-CellProfiler
Description: h/t @emiglietta In config: MACHINE_TYPE = ['m5.xlarge','c5.xlarge','c4.xlarge'] (make sure that the MEMORY allocated to the containers is compatible with all machine types) In the fleet file, triplicate the multi-subnet ‘Launch specifica...
Open Graph Description: h/t @emiglietta In config: MACHINE_TYPE = ['m5.xlarge','c5.xlarge','c4.xlarge'] (make sure that the MEMORY allocated to the containers is compatible with all machine types) In the fleet file, tripl...
X Description: h/t @emiglietta In config: MACHINE_TYPE = ['m5.xlarge','c5.xlarge','c4.xlarge'] (make sure that the MEMORY allocated to the containers is compatible with all machine types) ...
Opengraph URL: https://github.com/DistributedScience/Distributed-CellProfiler/issues/216
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support for multiple instance types","articleBody":"h/t @emiglietta \n\nIn config:\n`MACHINE_TYPE = ['m5.xlarge','c5.xlarge','c4.xlarge']`\n\n(make sure that the MEMORY allocated to the containers is compatible with all machine types)\n\nIn the fleet file, triplicate the multi-subnet ‘Launch specification’ block (current DCP walks through the list of instances in the config file and matches each one with a launch specification):\n\n```\n{\n \"IamFleetRole\": \"arn:aws:iam::XXXXXXXXX:role/aws-ec2-spot-fleet-tagging-role\",\n \"AllocationStrategy\": \"lowestPrice\",\n \"TerminateInstancesWithExpiration\": true,\n \"LaunchSpecifications\": [\n {\n \"ImageId\": \"ami-0ce03502c5bb5e188\",\n \"SubnetId\": \"subnet-AAAAAAAAA, subnet-BBBBBBBBB, subnet-CCCCCCCCC, subnet-DDDDDDDDD\",\n \"KeyName\": \"KEYNAME\",\n \"IamInstanceProfile\": {\n \"Arn\": \"arn:aws:iam::XXXXXXXXX:instance-profile/ecsInstanceRole\"\n },\n \"SecurityGroups\": [\n {\n \"GroupId\": \"sg-ZZZZZZZZZ\"\n }\n ],\n \"BlockDeviceMappings\": [\n {\n \"DeviceName\": \"/dev/xvda\",\n \"Ebs\": {\n \"DeleteOnTermination\": true,\n \"VolumeType\": \"gp3\",\n \"VolumeSize\": 24,\n \"SnapshotId\": \"snap-0a7b4ece894d62882\"\n }\n },\n {\n \"DeviceName\": \"/dev/xvdcz\",\n \"Ebs\": {\n \"DeleteOnTermination\": true,\n \"VolumeType\": \"gp3\"\n }\n }\n ]\n },\n {\n \"ImageId\": \"ami-0ce03502c5bb5e188\",\n \"SubnetId\": \"subnet-AAAAAAAAA, subnet-BBBBBBBBB, subnet-CCCCCCCCC, subnet-DDDDDDDDD\",\n \"KeyName\": \"KEYNAME\",\n \"IamInstanceProfile\": {\n \"Arn\": \"arn:aws:iam::XXXXXXXXX:instance-profile/ecsInstanceRole\"\n },\n \"SecurityGroups\": [\n {\n \"GroupId\": \"sg-ZZZZZZZZZ\"\n }\n ],\n \"BlockDeviceMappings\": [\n {\n \"DeviceName\": \"/dev/xvda\",\n \"Ebs\": {\n \"DeleteOnTermination\": true,\n \"VolumeType\": \"gp3\",\n \"VolumeSize\": 24,\n \"SnapshotId\": \"snap-0a7b4ece894d62882\"\n }\n },\n {\n \"DeviceName\": \"/dev/xvdcz\",\n \"Ebs\": {\n \"DeleteOnTermination\": true,\n \"VolumeType\": \"gp3\"\n }\n }\n ]\n },\n {\n \"ImageId\": \"ami-0ce03502c5bb5e188\",\n \"SubnetId\": \"subnet-AAAAAAAAA, subnet-BBBBBBBBB, subnet-CCCCCCCCC, subnet-DDDDDDDDD\",\n \"KeyName\": \"KEYNAME\",\n \"IamInstanceProfile\": {\n \"Arn\": \"arn:aws:iam::XXXXXXXXX:instance-profile/ecsInstanceRole\"\n },\n \"SecurityGroups\": [\n {\n \"GroupId\": \"sg-ZZZZZZZZZ\"\n }\n ],\n \"BlockDeviceMappings\": [\n {\n \"DeviceName\": \"/dev/xvda\",\n \"Ebs\": {\n \"DeleteOnTermination\": true,\n \"VolumeType\": \"gp3\",\n \"VolumeSize\": 24,\n \"SnapshotId\": \"snap-0a7b4ece894d62882\"\n }\n },\n {\n \"DeviceName\": \"/dev/xvdcz\",\n \"Ebs\": {\n \"DeleteOnTermination\": true,\n \"VolumeType\": \"gp3\"\n }\n }\n ]\n }\n ],\n \"Type\": \"maintain\"\n}\n```","author":{"url":"https://github.com/ErinWeisbart","@type":"Person","name":"ErinWeisbart"},"datePublished":"2026-05-15T17:03:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/216/Distributed-CellProfiler/issues/216"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b3cef93d-e802-ce44-af50-339f1d0608af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFB6:1C16FD:ED44B:1406D1:6A5181D8 |
| html-safe-nonce | 75c12fca065a26d66296535380cf9eb6f4fb0235658e1ca38355377a22bbe41a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkI2OjFDMTZGRDpFRDQ0QjoxNDA2RDE6NkE1MTgxRDgiLCJ2aXNpdG9yX2lkIjoiMTk5MDMwNjYwMjg3MjMwODE4NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ac0023f0af22e69e47b8c227d4710f320bec1bd4676c4530f47c36cc469bb60e |
| hovercard-subject-tag | issue:4455615150 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DistributedScience/Distributed-CellProfiler/216/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1f9a6e0ee0107fd91496ca0ece96723ff31bc1c53f32e60c48e8ce8605fca69/DistributedScience/Distributed-CellProfiler/issues/216 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1f9a6e0ee0107fd91496ca0ece96723ff31bc1c53f32e60c48e8ce8605fca69/DistributedScience/Distributed-CellProfiler/issues/216 |
| og:image:alt | h/t @emiglietta In config: MACHINE_TYPE = ['m5.xlarge','c5.xlarge','c4.xlarge'] (make sure that the MEMORY allocated to the containers is compatible with all machine types) In the fleet file, tripl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ErinWeisbart |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/DistributedScience/Distributed-CellProfiler git https://github.com/DistributedScience/Distributed-CellProfiler.git |
| octolytics-dimension-user_id | 109553694 |
| octolytics-dimension-user_login | DistributedScience |
| octolytics-dimension-repository_id | 63957917 |
| octolytics-dimension-repository_nwo | DistributedScience/Distributed-CellProfiler |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 63957917 |
| octolytics-dimension-repository_network_root_nwo | DistributedScience/Distributed-CellProfiler |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d01c62704ef24df49056c63892a149b775e1353d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width