-
Notifications
You must be signed in to change notification settings - Fork 4.5k
ecs: Managed Instances capacity providers, task definitions, and services #35644
Copy link
Copy link
Closed
DataDog/serverless-sample-app
#537Labels
@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerRelated to Amazon Elastic Containereffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2
Description
Describe the feature
https://aws.amazon.com/blogs/aws/announcing-amazon-ecs-managed-instances-for-containerized-applications/
https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ManagedInstances.html
Use Case
I want to choose ec2 instance types but not be in charge of patching my instances.
Proposed Solution
New constructs:
- ManagedInstancesCapacityProvider (note that this does not use CapacityProviderAssociations, instead referring directly to the cluster it's associated with by name)
- ManagedInstancesService
- ManagedInstancesTaskDefinition, though the general TaskDefinition, which is directly instantiable, should be updated to work as well.
Considerations I'm aware of compared to Fargate:
- No AssignPublicIp support.
Considerations I'm aware of compared to EC2:
- No PlacementStrategies support.
- RuntimePlatform may be required to get TaskDefinitions to work on ARM.
I'm sure there are many more.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS CDK Library version (aws-cdk-lib)
2.218.0
AWS CDK CLI version
2.1029.2
Environment details (OS name and version, etc.)
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
@aws-cdk/aws-ecsRelated to Amazon Elastic ContainerRelated to Amazon Elastic Containereffort/mediumMedium work item – several days of effortMedium work item – several days of effortfeature-requestA feature should be added or improved.A feature should be added or improved.p2