AWS AmazonECS documentation change
Summary
Updated service configuration example with specific ARNs, network configuration details, and deployment parameters
Security assessment
Changes appear to be example configuration updates rather than security-related documentation. No security-specific changes or vulnerabilities addressed
Diff
diff --git a/AmazonECS/latest/developerguide/deploy-blue-green-service.md b/AmazonECS/latest/developerguide/deploy-blue-green-service.md index dc2421bb9..e4f4ca6cf 100644 --- a//AmazonECS/latest/developerguide/deploy-blue-green-service.md +++ b//AmazonECS/latest/developerguide/deploy-blue-green-service.md @@ -246,6 +246,11 @@ Replace the `user-input` with your values. - "capacityProviderStrategy": [ - { - "capacityProvider": "FARGATE", - "weight": 1, - "base": 0 - } + "serviceName": "myBlueGreenService", + "cluster": "arn:aws:ecs:us-west-2:123456789012:cluster/sample-fargate-cluster", + "taskDefinition": "sample-fargate:1", + "desiredCount": 5, + "launchType": "FARGATE", + "networkConfiguration": { + "awsvpcConfiguration": { + "subnets": [ + "subnet-09ce6e74c116a2299", + "subnet-00bb3bd7a73526788", + "subnet-0048a611aaec65477" @@ -253,4 +258,5 @@ Replace the `user-input` with your values. - "deploymentConfiguration": { - "deploymentCircuitBreaker": { - "enable": true, - "rollback": true + "securityGroups": [ + "sg-09d45005497daa123" + ], + "assignPublicIp": "ENABLED" + } @@ -257,0 +264,5 @@ Replace the `user-input` with your values. + "deploymentController": { + "type": "ECS" + }, + "deploymentConfiguration": { + "strategy": "BLUE_GREEN", @@ -259,0 +271 @@ Replace the `user-input` with your values. + "bakeTimeInMinutes": 2, @@ -264,2 +276,2 @@ Replace the `user-input` with your values. - "enable": true, - "rollback": true + "rollback": true, + "enable": true @@ -267,2 +278,0 @@ Replace the `user-input` with your values. - "strategy": "BLUE_GREEN", - "bakeTimeInMinutes": 2, @@ -271,2 +281,2 @@ Replace the `user-input` with your values. - "hookTargetArn": "arn:aws:lambda:region:123456789012:function:MyLambdaHook", - "roleArn": "arn:aws:iam::123456789012:role/ecsLifecycleHookInvoke", + "hookTargetArn": "arn:aws:lambda:us-west-2:7123456789012:function:checkExample", + "roleArn": "arn:aws:iam::123456789012:role/ECSLifecycleHookInvoke", @@ -279,5 +288,0 @@ Replace the `user-input` with your values. - "desiredCount": 5, - "enableECSManagedTags": true, - "enableExecuteCommand": false, - "healthCheckGracePeriodSeconds": 60, - "launchType": "FARGATE", @@ -286 +291 @@ Replace the `user-input` with your values. - "targetGroupArn": "arn:aws:elasticloadbalancing:region:123456789012:targetgroup/blue-target-group/54402ff563af1197", + "targetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/blue-target-group/54402ff563af1197", @@ -290,3 +295,3 @@ Replace the `user-input` with your values. - "alternateTargetGroupArn": "arn:aws:elasticloadbalancing:region:123456789012:targetgroup/green-target-group/cad10a56f58431a3", - "productionListenerRule": "arn:aws:elasticloadbalancing:region:123456789012:listener-rule/app/my-blue-green-demo/32e0e4f946c3c05b/9cfa87d/83", - "roleArn": "arn:aws:iam::123456789012:role/EcsLoadBalancerManagement" + "alternateTargetGroupArn": "arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/green-target-group/cad10a56f5843199", + "productionListenerRule": "arn:aws:elasticloadbalancing:us-west-2:123456789012:listener-rule/app/my-blue-green-demo/32e0e4f946c3c05b/9cfa8c482e204f7d/831dbaf72edb911", + "roleArn": "arn:aws:iam::123456789012:role/LoadBalancerManagementforECS" @@ -295,35 +300 @@ Replace the `user-input` with your values. - ], - "networkConfiguration": { - "awsvpcConfiguration": { - "subnets": [ - "subnet-09abcde", - "subnet-00abcde" - ], - "securityGroups": [ - "sg-abcde" - ], - "assignPublicIp": "ENABLED" - } - }, - "placementConstraints": [], - "placementStrategy": [], - "platformVersion": "LATEST", - "propagateTags": "SERVICE", - "schedulingStrategy": "REPLICA", - "serviceConnectConfiguration": { - "enabled": false - }, - "serviceRegistries": [], - "tags": [ - { - "key": "Environment", - "value": "Production" - }, - { - "key": "DeploymentType", - "value": "BlueGreen" - } - ], - "deploymentController": { - "type": "ECS" - } + ]