Git Product home page Git Product logo

laravel-opsworks's Introduction

opsworks-php-cookbooks

AWS OpsWorks custom layer with support for PHP 5.6 and php application deployment. Also contains a centos 6.5 virtual machine using Vagrant that emulate Amazon Linux environment.

Please make sure to read opsworks user guide before using these cookbooks http://docs.aws.amazon.com/opsworks/latest/userguide/workingcookbook-chef11-10.html

Initial Stack Setup

  1. Add a new stack
  2. Under Advanced Settings:
    • Pick chef version 11.10 as the chef version
    • Use custom cookbook pointing to https://github.com/aporat/opsworks-php-cookbooks.git (or fork this repo and host it yourself)
    • Enable "Manage Berkshelf" with 3.2.0 as the version
  3. Add a new App Server -> PHP Layer layer. Note that only Amazon Linux AMI is supported.
  4. Edit the newly created layer, and add the custom recipes:
  • add phpapp::setup & mysql::client in the setup lifetime event
  • add phpapp::deploy in the deploy lifetime event
  1. Add a PHP application from the "Applications" section

Vagrant Setup

  1. Download Vagrant 1.6+ from http://www.vagrantup.com
  2. Download latest VirtualBox from https://www.virtualbox.org
  3. Install ChefDK ">= 0.6.0" https://downloads.getchef.com/chef-dk/mac/#/
  4. Install vagrant-omnibus vagrant plugin install vagrant-omnibus
  5. Install vagrant-berkshelf vagrant plugin install vagrant-berkshelf
  6. Create a new project with the supplied Vagrantfile and edit chef.cookbooks_path to point to the cookbooks folder

laravel-opsworks's People

Contributors

dwightwatson avatar rafaelshekinah avatar

Watchers

 avatar

Forkers

consultadobem

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.