Autoscaling with JumpCloud consists of two things:
- Installing the JumpCloud agent at start time. That includes setting the tags of which the server is a part, and potentially setting a host name in JumpCloud to more easily identify the server.
- Choosing whether to delete the server when the instance is terminated, or leave it in JumpCloud for auditing purposes.
To pre-install the agent on an AMI: http://support.jumpcloud.com/customer/portal/articles/2399081-deploying-the-jumpcloud-agent-using-a-template-or-system-image
To install the agent via Chef/Puppet/Ansible: http://support.jumpcloud.com/customer/portal/articles/2448026--all-oses-installation-with-configuration-management-tools
Next, the easiest way to set the server tags and server name is via our JumpCloud Ruby Gem, at https://github.com/TheJumpCloud/jumpcloud-ruby-gem. Or you can just install it from the normal rubygems.org repo with:
gem install jumpcloud