Giter Club home page Giter Club logo

cloud-regions's Introduction

Cloud provider regions

This is data on cloud provider regions, primarily aiming to give their approximate location in a provider independent format.

Providers

  • Amazon, Amazon Web Services (AWS)
  • Azure, Microsoft Azure
  • Google, Google Cloud Platform (GCP)
  • Linode
  • Oracle
  • Vultr

Adding or updating data

The raw data is in data.csv in each provider's directory. Update that and send a PR.

Most regions currently refer to a coarse area, such as "London". If you know which datacentres a region is actually hosted in, we will happily take updates.

However there are cases where the parts (to use neutral terminology) of a region are far apart, we may editorialise in those cases and pick a single datacentre in a suitable midpoint. Sometimes the datacenters are actually outside the declared "region" by the provider, that's fine.

Adding a provider

Make a data.csv.

  • "region" must match the region used in the API for the provider
  • "location_name" ideally should match the description the provider uses
  • "country_tld" should be the country code, with a bias towards the form used in TLDs (hk rather than cn, uk rather than gb)

The rest of the fields should be as: ./get-loc.sh "London, England" outputs.

Make a "fetch-list" which can fetch a list of the current regions from the providers API or other provider controlled source (sources without auth such as IP lists are preferred). This makes it possible to regularly check for new regions so the data stays fresh.

Explain in the README roughly how you did it, for when it comes time to update.

Using the data

The raw data is in CSV in each provider's data.csv file.

In tools/ geojson.go can be used to convert the data into a GeoJSON FeatureCollection.

$ go build -o geojson geojson.go
$ ./geojson ../*/data.csv > ../data.json

This is visualised at: http://cloud-regions.bodge.cloud

License

This data uses data from OpenStreetMap, which is:

© OpenStreetMap contributors, ODbL 1.0. https://osm.org/copyright

As a result this work is licensed under the same licence:

This data is made available under the Open Database License: http://opendatacommons.org/licenses/odbl/1.0/. Any rights in individual contents of the database are licensed under the Database Contents License: http://opendatacommons.org/licenses/dbcl/1.0/

Non database files are licensed under the MIT license.

cloud-regions's People

Contributors

dgl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cloud-regions's Issues

Tip for Google Cloud Platform regions

Hi,

I am maintainer of an overview and comparison of Google Cloud Platform regions: https://gcloud-compute.com/regions.html

I also create a map: https://gcloud-compute.com/map.html

I just wanted to leave you a quick tip that you can find all the GCP regions with geo coordinates in this Google repo: https://raw.githubusercontent.com/GoogleCloudPlatform/region-picker/main/data/regions.json

More details how I process the data with Perl: https://github.com/Cyclenerd/google-cloud-compute-machine-types/tree/master/regions

Best regards
Nils

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.