GithubHelp home page GithubHelp logo

cloud-test's Introduction

cloud-test

Test repo for cloud computing

NCI has a git repository for puppet - repos.nci.org.au

Directory structure

Puppet will load the file manifests/site.pp when performing a build. This file in turn loads modules from that directory to install each program. In the NCI repository a private directory is used to store rsa keys, this is only accessable to members of a project group.

manifests
    site.pp
modules
    module-name
            files
            templates
            manifests
private

Accessing

Use nova command (python-novaclient) to access the NCI cloud.

You can query the capabilities with list commands

# List images (ie. Ubuntu, Centos &c)
$ nova image-list

# List available ssh public keys
$ nova keypair-list

# List VM sizes (memory, number of cpus)
$ nova flavor-list

# List access types (ports open by default, e.g. ssh, http)
$ nova secgroup-list

# Boot an instance
$ nova boot NAME --image IMAGE --key KEY --flavor FLAVOUR --security_groups SECGROUP --user-data USERDATA

User data is a shell script to be run once the VM has booted. It is used to run puppet.

IP addresses must be assigned separately

$ nova floating-ip-list
$ nova add-floating-ip NAME IP

The melbourne directory of this repo includes scripts to start up a Ubuntu image on the Melbourne Nectar cloud. It requires openstack credentials to have been loaded into the environment, you will need to download this from the Nectar cloud website.

Links:

puppetforge - contributed setup scripts

cloud-test's People

Contributors

devkev avatar

Watchers

 avatar  avatar  avatar

cloud-test's Issues

Separate out common.pp

All of the rose/cylc stuff is currently bundled up in a common file, needs to be extracted into modules for each

Create files in /etc/profile.d for prepend-path

Files in /etc/profile.d are autoloaded by bash on login, it seems like it would be a good idea to use these to edit paths &c since we can use puppet's file creation rather than managing /etc/bashrc manually.

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.