问题
We are trying to setup Amazon SQS between two AWS applications. Management wants to track cost associated with all Amazon resources. Is it possible to tag Amazon Simple Queue Service resources?
回答1:
This feature is now supported on SQS: https://aws.amazon.com/blogs/aws/introducing-cost-allocation-tags-for-amazon-sqs/
回答2:
Tagging for SQS is not yet supported. Perhaps you may manually calculate using the standard formula with few assumption of number of requests made like number of SQS Request etc.
In my opinion you can enable cost tagging for the AWS Resources which are support and for the remaining you can try having the accountability like misc. charges which can certainly include the SQS.
- First 1 million Amazon SQS Requests per month are free
- $0.50 per 1 million Amazon SQS Requests per month thereafter ($0.00000050 per SQS Request)
- A single request can have from 1 to 10 messages, up to a maximum total payload of 256KB.
- Each 64KB ‘chunk’ of payload is billed as 1 request. For example, a single API call with a 256KB payload will be billed as four requests.
Reference : http://aws.amazon.com/sqs/pricing/
回答3:
Please use following AWS cli command to tag you SQS:
aws sqs tag-queue --queue-url --tags="Key-name=Value","Key-name=Value"
来源:https://stackoverflow.com/questions/32320506/amazon-sqs-tagging