Introduction

Gitterarrow-up-right

ionoscloud-vm-autoscaling

IonoscloudVmAutoscaling - the Ruby gem for the VM Auto Scaling service (CloudAPI)

VM Auto Scaling service enables IONOS clients to horizontally scale the number of VM instances, based on configured rules. Use Auto Scaling to ensure you will have a sufficient number of instances to handle your application loads at all times.

Create an Auto Scaling group that contains the server instances; Auto Scaling service will ensure that the number of instances in the group is always within these limits.

When target replica count is specified, Auto Scaling will maintain the set number on instances.

When scaling policies are specified, Auto Scaling will create or delete instances based on the demands of your applications. For each policy, specified scale-in and scale-out actions are performed whenever the corresponding thresholds are met.

This SDK is automatically generated by the OpenAPI Generatorarrow-up-right project:

Installation

Build a gem

To build the Ruby code into a gem:

gem build ionoscloud-vm-autoscaling.gemspec

Then either install the gem locally:

(for development, run gem install --dev ./ionoscloud-vm-autoscaling-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGemsarrow-up-right.

Finally add this to the Gemfile:

Install from Git

If the Ruby gem is hosted at a git repository: https://github.com/ionos-cloud/sdk-ruby-vm-autoscaling, then add the following in the Gemfile:

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

Our latest, most up to date documentation is available herearrow-up-right

Last updated

Was this helpful?