Download the PHP package onema/opsworks-demo-console without Composer
On this page you can find all versions of the php package onema/opsworks-demo-console. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package opsworks-demo-console
opsworks-demo-console
Simple CLI tool to interact with AWS OpsWorks using the AWS SDK for PHP v2.
Installation
Copy the file /app/config/parameters.yml.dist
to /app/config/parameters.yml
and update the following parameters:
The easiest way to get the aws_iam_role
and aws_instance_role
is to create a stack through the aws console. The console will automatically generate these roles for you. After the stack has been created you can get these values from the Stack Settings page and re-use these accross different stacks, or use them to create new ones.
To create your own see Instance Profiles, IAM Roles for Amazon EC2, and Secure access to AWS Service APIs from EC2.
Usage
Create new stack
Arguments:
- name: Stack name.
Enable and update custom chef settings
Arguments:
- stack: Stack ID.
- type: Repository type.
- url: Repository URL.
- revision: Revision or Branch.
- ssh-key-path: Path to ssh key.
Options:
- custom-json A string that contains user-defined, custom JSON. must be escaped.
Create a new PHP layer
Arguments:
- stack: Stack ID.
Update PHP layer lifecycle event recipes and OS Packages
Arguments:
- layer: Stack ID.
Options:
- recipes-setup: Comma separated values of recipes to be run on setup.
- recipes-configre: Comma separated values of recipes to be run on configure.
- recipes-deploy: Comma separated values of recipes to be run on deploy.
- recipes-undeploy: Comma separated values of recipes to be run on undeploy.
- recipes-shutdown: Comma separated values of recipes to be run on shutdown.
- os-packages: Comma separated values of OS packages to be installed on the servers.
Create Application
Arguments:
- stack: Stack ID.
Options:
- source-type: Repository type.
- source-url: Repository URL.
- source-revision: Revision or Branch.
- document-root Document Root.
- ssh-key-path: Path to ssh key.
Update Application
Arguments:
- app: Application ID.
Options:
- source-type: Repository type.
- source-url: Repository URL.
- source-revision: Revision or Branch.
- document-root Document Root.
- ssh-key-path: Path to ssh key.
Update Application
Arguments:
- app: App ID.
Options:
- source-type: Repository type.
- source-url: Repository URL.
- source revision: Revision or Branch.
- ssh-key-path: Path to ssh key.
Create and start instance
Arguments:
- stack: Stack ID.
- layer: Layer ID.
- instance-type: Type of EC2 Instance ie: m1.small.
Options:
- instance-number: Number of instances to start, defaults to one.
All versions of opsworks-demo-console with dependencies
symfony/console Version 2.4.*@dev
symfony/config Version 2.4.*@dev
aws/aws-sdk-php Version 2.4.*@dev