aws-pricing
Query services, products, and pricing information from Amazon Web Services. tldr-pages
On several platforms
Several platforms
List service codes of a specific region
aws pricing describe-services --region us-east-1Identify--regionThe region to use. AWS CLI referenceList attributes for a given service code in a specific region
aws pricing describe-services --service-code AmazonEC2 --region us-east-1Identify--service-codeThe code for the service whose information you want to retrieve, such as AmazonEC2. AWS CLI reference--regionThe region to use. AWS CLI referencePrint pricing information for a service code in a specific region
aws pricing get-products --service-code AmazonEC2 --region us-east-1Identify--service-codeThe code for the service whose products you want to retrieve. AWS CLI reference--regionThe region to use. AWS CLI referenceList values for a specific attribute for a service code in a specific region
aws pricing get-attribute-values --service-code AmazonEC2 --attribute-name instanceType --region us-east-1Identify--service-codeThe service code for the service whose attributes you want to retrieve. AWS CLI reference--attribute-nameThe name of the attribute that you want to retrieve the values for, such as volumeType. AWS CLI reference--regionThe region to use. AWS CLI referencePrint pricing information for a service code using filters for instance type and location
aws pricing get-products --service-code AmazonEC2 --filters "Type=TERM_MATCH,Field=instanceType,Value=m5.xlarge" "Type=TERM_MATCH,Field=location,Value=US East (N. Virginia)" --region us-east-1Identify--service-codeThe code for the service whose products you want to retrieve. AWS CLI reference--filtersThe list of filters that limit the returned products. AWS CLI reference--regionThe region to use. AWS CLI reference