Skip to content

Files

Latest commit

 

History

History

autoscale-console

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

aws

Amazon Web Services python/boto scripts

Update: As of December 2013 Amazon has finally added some Auto-Scaling tools to their web console.

No license, no copyright, no warranty, no support. Use, re-use, distribute as you see fit.

  • README.md: This file.
  • autoscale-console.py: The console script.
  • config.cfg.example: All your configurations go into the config.cfg file.
  • user-data: A vanilla file that the console script requires. Add your own server provisioning.
  • iam-permissions: A list of permissions used by the console script to be able to access AWS functionality.

Install

  • Download the script

  • Rename (or copy) the config.cfg.example file to config.cfg and then edit it to your liking (need to specify image id's at the very least)

  • Make sure that Boto is installed and updated to the latest version

  • Make the script executable:

      $ chmod u+x autoscale-console.py
      $ ./autoscale-console.py
    
  • Or run it with the "python" command:

      $ python autoscale-console.py
    

Education

  • AutoScaling is created in this order:
      1. Launch Configuration
      1. AutoScaling Group
      1. Policies
  • AutoScaling is deleted in the reverse order.
  • Policies are group specific and non-transferable.

Notes

Do I really need to say that this is still a work in progress and that if you use it you should do so at your own risk?

It works for me. :) At least the parts of it that I have finished. And by finished, I mean made to work at an acceptable level.

The permissions listed in the iam-permissions file should work for anyone. There are some ARN's that need to be changed for your own specific account. Keep in mind that these permissions may be overly permissive for your security model. Or perhaps they are not permissive enough. I am including them as an example to help you have a reference in setting up your own permissions.