Giter VIP home page Giter VIP logo

awsdatatransfermap's Introduction

AWS Data Transfer Map

Description

HTML5 application that shows data transfer costs on AWS visually on a map. The application allows for changing the region and country (for edge pricing). The original map comes from https://github.com/open-guides/og-aws.

Public Hosted application

https://awscostmap.s3.amazonaws.com/index.html

Discounts

Some customers recieve discounts from AWS and the map can be updated to include those discounts.

Discounts are defined in the following format:

//Discounts
// Format: 
//    discounts[datatype].rate will set the rate across all selectors (region/cloudfront location)
//    discounts[datatype].percentage will give a discount across all selectors (region/cloudfront location).
//    discounts[datatype][selector].percentage will give a discount based on a percentage of public pricing.
//    discounts[datatype][selector].rate will set the rate of the service.
// datatypes: crossAZ,internetOut,albInOut,clbInOut,dcOut,crossRegion,cloudfrontAWS,cloudfrontOut
// selectors: based on the datatype. Either region or cloudfront location.

You can include those discounts by either uploading a file with the discounts using the format mentioned above or including the above discounts in the HTML5 source in the empty function setDiscounts().

function setDiscounts() {
  // indicates the rate of cloundfrontOut for United States locations is is 10 cents/GB.
  discounts["cloudfrontOut"]["United States"].rate = 0.1; 
  
  // indicates the rate of internetOut for US East (N. Virginia) is 10 cents/GB.
  discounts["internetOut"]["US East (N. Virginia)"].rate = 0.1; 
  
  // indicates a 50% discount for all crossAZ traffic.
  discounts["crossAZ"].percentage = 0.5; 
}

awsdatatransfermap's People

Contributors

enclavet avatar

Stargazers

 avatar

Watchers

 avatar

awsdatatransfermap's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.