Code Monkey home page Code Monkey logo

berkshelf-ruby-build's Introduction

berkshelf-ruby-build

Berkshelf + Vagnrat for Build ruby via rbenv + ruby-build, upload rbenv directory to your S3.

Requirements

Platforms

  • Ubuntu

Cookbooks

Usage

Install Berkshelf and vagrant and vagrant-aws plugin.

$ vagrant up --provider=aws

Environment variables

See Vagrantfile for default values.

  • AWS_SSH_PRIVATE_KEY - Path to your SSH private key
  • AWS_ACCESS_KEY_ID - your AWS access key
  • AWS_SECRET_ACCESS_KEY - your AWS secret key
  • AWS_DEFUALTREGION - your AWS default region
  • AWS_KEYPAIR_NAME - Key Pair Name

Vagrantfile variables

See Vagrantfile for default values.

  • SSH_USERNAME - SSH user name, default "ubuntu"
  • AWS_AMI - Your AMI ID, default Ubuntu 12.04.3 LTS / ap-northeast1 / 64bit /root store - instance
  • AWS_SECURITY_GROUP - Securiy group, default "default"
  • AWS_INSTANCE_TYPE - Instance Type, default "m1.xlarge"
  • AWS_IAM_INSTANCE_PROFILE_NAME - IAM role name, default "ec2-berkshelf-ruby-build", sample ec2 IAM poclicy `ec2-s3-policy.json
  • RBENV_INSTALL_PREFIX - Install prefix rbenv, default "/opt"
  • SIMPLE_RUBY_BUILD_VERSION - Install ruby version, default "2.0.0-p247"
  • SIMPLE_RUBY_BUILD_AWS_S3_BUCKET - Copy S3 bucket name, default "simple-ruby-build"

Built times by EC2 Instance type

Recommend instance type c1.xlarge.

  • m1.large - 644.946883305 seconds
  • m1.xlarge - 583.072030988 seconds
  • c1.xlarge - 559.082035988 seconds.

License and Authors

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.