0.5.0 • Published 7 years ago

ec2-price v0.5.0

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

npm version

ec2-price

Retrieve the latest EC2 prices via command line.

Installation

npm install ec2-price -g

Usage

Output all prices in all regions.

$ ec2-price

You can specify a region.

$ ec2-price --region us-east-1

You can specify a particular type across all regions.

$ ec2-price --type c4.2xlarge

You can specify a region and a particular type.

$ ec2-price --region us-west-1 --type c4.2xlarge

You can specify JSON format (for use w/ jq or other).

$ ec2-price  --json | jq '.'
{
  "regions": [
    {
      "region": "us-east-1",
      "instances": [
        {
          "name": "t2.nano",
          "price": "0.0065"
        },
        {
          "name": "t2.micro",
          "price": "0.013"
        },
        {
          "name": "t2.small",
          "price": "0.026"
        },
  ...
0.5.0

7 years ago

0.4.0

8 years ago

0.3.1

8 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago