GeoscienceAustralia / dea-orchestration

4 stars 1 forks source link

.. role:: bash(code) :language: bash

.. role:: py(code) :language: python

############# Repo Closed #############

This repository is no longer used or updated. It mightbe interesting for historical purposes only, eg. looking at lambda_functions/s3stat-automation/ for viewing S3 data retrievals based on geolocation.

############## Introduction ##############

.. image:: https://travis-ci.org/GeoscienceAustralia/dea-orchestration.svg?branch=master :target: https://travis-ci.org/GeoscienceAustralia/dea-orchestration

This repo contains code for managing the automated processing of data within Digital Earth Australia.

It is made up of:

================ Lambda Functions

Writing a new Lambda function

============== Raijin Scripts

Raijin scripts folder contain a list of pre-approved commands that are available to run under one of DEA's NCI accounts. Commands in this folder should be locked down to ensure that the user isn't able to execute arbitrary code in our environment.

To Create a new Raijin script

Running a Raijin Command

========================= Updating internal modules

===================== Repo Script Reference

================================= Collection Installation on Raijin

In order to set up this library on Raijin the user is required to generate 2 ssh keys.

When adding these keys to :bash:~/.ssh/authorized_keys:

The ssh key for the remote script should be prepended with: :bash:command="{{directory_location}}/scripts/remote",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AA3tEnxs/...E4S+UGaYQ== Running of scripts under NCI

The ssh key for git_pull script should be prepended with: :bash:command="{{directory_location}}/scripts/git_pull",no-agent-forwarding,no-port-forwarding,no-pty,no-user-rc,no-X11-forwarding ssh-rsa AA3tEnxs/...E4S+UGaYQ== Automated deployment of dea-orchestration

.. _command classes: ./lambda_modules/dea_raijin/dea_raijin/lambda_commands.py .. _aws ssm: http://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-paramstore-walk.html .. _aws kms: http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html .. _example lambda class: ./lambda_functions/example/example.py .. _aws cli and invoking aws configure: http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html