Giter VIP home page Giter VIP logo

arcus's Introduction

Arcus

Experimental GRIB Cloud Cache and Raster Data query platform

Aim of this project is to evaluate different technologies to analyze, distribute and share GRIB data.

It will use free data of Deutscher Wetterdienst at ftp://ftp-cdc.dwd.de/pub/REA/COSMO_REA6/

This project uses eccodes from ECMFW and gdal for GRIB encoding/decoding.

Quickstart

Infrastructure

All infrastructure will be deployed on AWS. To install the AWS command line tools please refer to http://docs.aws.amazon.com/cli/latest/userguide/awscli-install-linux.html. To create and modify the infrastructure Terraform is used. Download the terraform executable and take a look at the getting started guide.

  • Create an AWS user and grant this user

    • AWS managed policies
      • SystemAdministrator
      • AmazonElasticFileSystemFullAccess
      • AmazonElasticMapReduceRole
    • Inline policy
    {
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1500631120000",
            "Effect": "Allow",
            "Action": [
                "iam:CreatePolicy",
                "iam:PutRolePolicy",
                "iam:DeleteRolePolicy",
                "iam:CreateRole",
                "iam:AttachRolePolicy",
                "iam:CreateInstanceProfile",
                "iam:AddRoleToInstanceProfile",
                "iam:PassRole",
                "iam:DetachRolePolicy",
                "iam:RemoveRoleFromInstanceProfile",
                "iam:DeleteInstanceProfile",
                "iam:DeleteRole",
                "iam:DeleteUserPolicy",
                "iam:DeletePolicy",
                "elasticmapreduce:RunJobFlow",
                "elasticmapreduce:DescribeCluster",
                "elasticmapreduce:TerminateJobFlows",
                "lambda:AddPermission",
                "lambda:RemovePermission",
                "lambda:PublishLayerVersion",
                "apigateway:*",
            ],
            "Resource": [
                "*"
            ]
        }
    ]
    }
  • Create an S3 bucket where Arcus stores its internal components etc. and name it like my_internal_bucket. Note that this bucket name must have an unique name. Remember that name as it is needed when you want to deploy the infrastructure.

  • Download from Oracle OTN

    • oracle-instantclient18.3-basic-18.3.0.0.0-1.x86_64.rpm
    • oracle-instantclient18.3-sqlplus-18.3.0.0.0-1.x86_64.rpm
    • oracle-instantclient18.3-devel-18.3.0.0.0-1.x86_64.rpm

    and put the files under software/oracle/

  • Creation of infrastructure

terraform init

terraform import aws_s3_bucket.internal_bucket my_internal_bucket_name

terraform apply -var arcus_internal_bucket_name = my_internal_bucket_name

For further configuration see the variables.tf file in the terraform folder.

  • Destruction of infrastructure

terraform state rm aws_s3_bucket.internal_bucket

terraform destroy

arcus's People

Contributors

difu avatar erget avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

erget

arcus's Issues

Policy assignment in AWS is not idempotent.

- name: Assign a policy called S3ReadOnly to the webserver_role
  iam_policy:
    iam_type: role
    iam_name: webserver_role
    policy_name: S3ReadOnly
    state: present
    policy_document: roles/IAM/files/iam_policy_s3_read.json

run twice produces error.

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.