The load rises and an instance is added automatically

How it works

An instance group starts from a template: flavor, image, SSH keys, boot data, security groups and firewall. You set a minimum and maximum number of VMs (up to 20), and simple rules, for example "CPU above 70% for 3 minutes: add a VM", or "below 20% for 10 minutes: remove one".

Rules based on CPU and network

Rules apply to the average CPU utilization of the VMs in the group, or to inbound and outbound network traffic. The platform evaluates them every 15 seconds, then observes a cooldown period between two changes (3 minutes by default) to avoid oscillations. If no measurement is available, nothing changes: this is the safest behavior.

With your load balancer

When linked to a load balancer, the group registers its new VMs with it as soon as they boot; the load balancer only sends them traffic once their health check has passed. A VM being removed first leaves the load balancer, then is deleted after 30 seconds, giving in-flight requests time to complete.

Replacement and distribution

A VM that is out of service for longer than the replacement delay is replaced automatically. New VMs are placed preferably on the server hosting the fewest members of the group: losing a server only means losing part of the group, which rebuilds itself elsewhere.

VMs without replicas

Group members are identical VMs with no data to protect: they run without replicas, which saves space and network bandwidth. Keep your data in a replicated database or in S3 object storage.

Management

Groups are managed from the portal, the API or the AI assistant. You can also set the number of VMs manually, for example ahead of an expected peak; the rules then take over again.

Autoscaling

At a glance

Driven by load

CPU, inbound or outbound traffic.

Built-in load balancer

New VMs join it as soon as they boot.

Automatic replacement

A VM that goes out of service is replaced.

Anti-affinity

The group's VMs are spread across several servers.

Up to 20 VMs

Per group, within the limits of your quotas.

Pay as you go

Each VM is billed while it is running.

Costed example

Example: a website running on 2 to 6 servers

  • 2 × m1.medium2 vCPU · 4 GB RAM · 40 GB SSD 8,478.00 DZD
  • Public IPs (EIP)1 IP 750.00 DZD
  • 1 × Load balancer Small 15,000 max. connections 3,780.00 DZD

Total13,008.00 DZD excl. VAT/month

or 15,479.52 DZD incl. VAT/month

At rest, two m1.medium VMs behind a Small 1 load balancer and a public IP. At peak times, the group scales up to six VMs, billed only while they are running.

Adjust in the simulator
Process

How it works

Step 1

Prepare the template

An image and boot data that install your application with no manual intervention.

Step 2

Set limits and rules

Minimum and maximum number of VMs, CPU or network thresholds.

Step 3

Link a load balancer

Traffic is automatically spread across the group's VMs.

Frequently asked questions

Good to know

The ability of a service to automatically add or remove servers depending on the load. At PYSOFT, an instance group adds identical VMs when the load goes up and removes them when it goes down.

The average CPU utilization of the VMs in the group, as a percentage, or their inbound and outbound network traffic, in bytes per second, measured over a period that you set in the rule.

Up to 20, within the limits of your organization's quotas.

No: it adds or removes identical VMs (horizontal autoscaling). Changing the size of a VM restarts it, which is not suitable for automatic adjustment.
PYSOFT Cloud

The other services in your VDC

How the PYSOFT cloud works

The PYSOFT cloud combines proven building blocks (OpenBSD, KVM, etcd, pf, relayd) around simple, auditable code. The goal: to offer …

Your virtual data center (VDC) in Algeria

A VDC brings your entire infrastructure together in an isolated space: servers, networks, firewall, VPN, storage and load balancers. You …

Virtual servers hosted in Algeria

Virtual servers hosted in Dellys and billed in dinars: choose a predefined configuration or build your VM by the vCPU, …

Encrypted VMs, from disk to memory

Encrypt each VM's disk with AES-256 using a key unique to that VM, and its memory with the AMD processor. …

Appstore: your applications ready in minutes

Choose an application and a VM size: the platform takes care of the rest, from installation to HTTPS, including the …

Routed SDN network: private networks and public IPs

Each organization has its own network, isolated from the others at the routing level. Your VMs communicate with each other …

Firewall as a Service (FWaaS) based on pf

Every VM has its own firewall, applied on its interface by pf, OpenBSD's firewall. You get the fine-grained control of …

VPN as a Service: IPsec and WireGuard

Connect your offices and your team members to your private network in the cloud, without exposing your servers to the …