1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
0
There is an "addAlarm" that ties CloudWatch alarms to "EcsDeploymentGroup".
I thought that using this to tie CloudWatch alarms would allow for automatic rollback even without ALBs.
https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codedeploy.EcsDeploymentGroup.html
https://docs.aws.amazon.com/codedeploy/latest/userguide/monitoring-create-alarms.html
Contenus pertinents
- demandé il y a 10 mois
- demandé il y a un an
- Réponse acceptéedemandé il y a 2 ans
- demandé il y a un an
- Comment créer un Application Load Balancer, puis enregistrer automatiquement les tâches Amazon ECS ?AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an
Yea that
EcsDeploymentGroup
is the same one I linked that requires ablueGreenDeploymentConfig
prop, which, by my reading, requires instances of ELB ITargetGroupsI believe that the action aws_codepipeline_actions.EcsDeployAction is the rolling update action. https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_codepipeline_actions.EcsDeployAction.html In this case, I thought the rollback could be configured in the ECS DeploymentConfigurationProperty. https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.CfnService.DeploymentConfigurationProperty.html