Skip to content

Console PHP app that interacts with open cloud PHP API to manage a RS cloud environment.

License

Notifications You must be signed in to change notification settings

npmweb/cloud-managment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cloud-managment

Console PHP app that interacts with open cloud PHP API to manage a RS cloud environment.

usage

Run src/app.sh from the command line - you may have to chmod +x the file so that it's executable. This is built on the assumption that you're operating against a Rackspace Cloud account, but it's dependent on the open cloud PHP API so it may work for other providers.

To get things running you must first configure your Rackspace Cloud account settings. Rename the config/rackspace.env.sample file to "rackspace.env" and fill in your username and api key.

There are currently two supported operations:

  • list images: lists the images from a particular server
    ./app.sh list-images --server=abcde-1234-fghi-4678 (--data-center=DFW)
  • update scaling group's server image - this changes the image ID to use when the scaling group builds up new servers.
    ./app.sh update-scale-group-image --scale-group=scale-group-id --server=server-id

dependencies

inspiration

Usage of symfony's console library and the commands inspired by Cal Evans: https://github.com/calevans/phpfromthecli

About

Console PHP app that interacts with open cloud PHP API to manage a RS cloud environment.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published