Have a service running in an ECS cluster dynamically create a new service in the same cluster

0

Hi,

We have an ECS cluster with a couple of HTTP services running in it.

We have a requirement to run up new services (from known images, obviously) at run time - so we'll need to bake the AWS SDK into the management service so that it can do this.

We currently deploy the entire stack (including an example of the type of service that will need to be created dynamically) via the CDK.

Does anyone have a view on the best approach?

I'm imagining creating a CloudFormation template from the existing CDK service definition and pushing it to S3 (or making it a Service Catalog CloudFormation Product?) and then just creating a new stack from it at runtime via the SDK. Does that sound like a sane approach?

The new services would be in the same ECS cluster.

1개 답변
0
수락된 답변

FWIW we defined a ServiceCatalog product using the CDK and provision and deprovision provisioned products using the SDK.

답변함 6달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠