Skip to content

Commit dac446f

Browse files
committed
Added cluster tagging to the README
1 parent ba38f48 commit dac446f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Line Interface](http://aws.amazon.com/cli/) product detail page.
3636
- [Viewing Container Logs](#viewing-container-logs)
3737
- [Using FIPS Endpoints](#using-fips-endpoints)
3838
- [Using Private Registry Authentication](#using-private-registry-authentication)
39+
- [Tagging Resources](#tagging-resources)
3940
- [Amazon ECS CLI Commands](#amazon-ecs-cli-commands)
4041
- [Contributing to the CLI](#contributing-to-the-cli)
4142
- [License](#license)
@@ -1008,6 +1009,22 @@ INFO[0018] Started container... container=bf35a813-dd76-4fe0-b5a2-c1334c2331f4/l
10081009

10091010
For more information about using private registries with ECS, see [Private Registry Authentication for Tasks](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/private-auth.html).
10101011

1012+
### Tagging Resources
1013+
1014+
ECS CLI Commmands support a `--tags` flag which allows you to specify AWS Resource Tags in the format `key=value,key2=value2,key3=value3`. Resource tags can be used for cost allocation, automation, access control, and more. See [AWS Tagging Strategies](https://aws.amazon.com/answers/account-management/aws-tagging-strategies/) for a discussion of use cases.
1015+
1016+
#### ecs-cli up command
1017+
1018+
The ECS Cluster, and CloudFormation template with EC2 resources can be tagged. In addition, the ECS CLI will add tags to the following resources which are created by the CloudFormation template:
1019+
* VPC
1020+
* Subnets
1021+
* Internet Gateway
1022+
* Route Tables
1023+
* Security Group
1024+
* Autoscaling Group
1025+
1026+
For the autoscaling group, the ECS CLI will add a `Name` tag whose value will be `ECS Instance - <CloudFormation stack name>`, which will be propagated to your EC2 instances. You can override this behavior by specifying your own `Name` tag.
1027+
10111028
## Amazon ECS CLI Commands
10121029

10131030
For a complete list of commands, see the

0 commit comments

Comments
 (0)