aws-pricing Verified for current stable LTS

Aws Pricing Command: Print Pricing Information With Filters

An engineer would use this AWS pricing command when they need to retrieve the current pricing information for specific EC2 instance types, such as m5.xlarge, in the US East (N. Virginia) region, to compare costs for budgeting or cost estimation purposes. Exact CLI syntax to print_pricing_information_with_filters using Aws Pricing.

When to use this: An engineer would use this AWS pricing command when they need to retrieve the current pricing information for specific EC2 instance types, such as m5.xlarge, in the US East (N. Virginia) region, to compare costs for budgeting or cost estimation purposes.

Command Syntax

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-1>

Command Breakdown

--service-code
Command Option
Tool-specific option used by this command invocation.
--filters
Command Option
Tool-specific option used by this command invocation.
--region
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to print_pricing_information_with_filters using Aws Pricing.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Aws Pricing directory