Sha256: a7fa18ec5db3bb0bdc614e5d34ccf07e1e74d3e453e9167604e052f567162d72

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

# Aws::Rikanjo

RI Cost Calc Tool( Only new price ).

## Installation

Add this line to your application's Gemfile:

    gem 'aws-rikanjo'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install aws-rikanjo

## Usage

example

```
require "aws/rikanjo"

a = Aws::RiKanjoo.new(region = "ap-northeast-1", instance_type = "m3.large", ri_util = "medium")
a.total_cost_year
# "region" : ap-northeast-1
# "instance_type" : m3.large
# "ri_util" : medium
# "discont percent (percent)" : 35.09
# "ondemand hour price (doller)" : 0.203
# "reserved hour price (doller)" : 0.086
# "ondemand year price (doller)" : 1778.28
# "reserved year price (doller)" : 1154.36
# "reserved upfront (doller)" : 401
# "sweet spot day (day)" : 142
# "sweet spot date (date)" : 2014-09-19
# "sweet spot price (doller)" : 696.15
```

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aws-rikanjo-0.0.3 README.md