Instance Groups are the core components which allow the number of Instances to be automatically adjusted to meet demand.
List Instance groups
List all Instance groups, for a Scaleway Organization or Scaleway Project. By default, the Instance groups returned in the list are ordered by creation date in ascending order, though this can be modified via the order_by field.
path Parameters
zoneThe zone you want to target
query Parameters
order_bySort order of Instance groups in the response.
pagePage number to return, from the paginated results.
page_sizeNumber of Instance groups to return per page.
List Instance groups › Responses
Paginated list of Instance groups.
total_countCount of all Instance groups matching the requested criteria.
Create Instance group
Create a new Instance group. You must specify a template_id, capacity and Load Balancer object.
path Parameters
zoneThe zone you want to target
Create Instance group › Request Body
project_idProject ID to filter for, only Instance groups from this Project will be returned.
nameName of Instance group.
template_idTemplate ID (ID of the Instance template to attach to the Instance group).
Specification of the minimum and maximum replicas for the Instance group, and the cooldown interval between two scaling events.
Specification of the Load Balancer to link to the Instance group.
tagsList of tags for the Instance group.
Create Instance group › Responses
Specification of the minimum and maximum replicas for the Instance group, and the cooldown interval between two scaling events.
Specification of the Load Balancer linked to the Instance group.
idInstance group ID.
project_idProject ID of the Instance group.
nameName of the Instance group.
tagsInstance group tags.
instance_template_idTemplate ID (ID of the Instance template to attach to the Instance group).
error_messagesAny configuration errors for dependencies (Load Balancer, Private Network, Instance template etc.).
created_atDate on which the Instance group was created. (RFC 3339 format)
updated_atDate on which the Instance group was last updated. (RFC 3339 format)
zoneZone for this resource.
Get Instance group
Retrieve information about an existing Instance group, specified by its instance_group_id. Its full details, including errors, are returned in the response object.
path Parameters
zoneThe zone you want to target
instance_group_idID of the requested Instance group.
Get Instance group › Responses
Specification of the minimum and maximum replicas for the Instance group, and the cooldown interval between two scaling events.
Specification of the Load Balancer linked to the Instance group.
idInstance group ID.
project_idProject ID of the Instance group.
nameName of the Instance group.
tagsInstance group tags.
instance_template_idTemplate ID (ID of the Instance template to attach to the Instance group).
error_messagesAny configuration errors for dependencies (Load Balancer, Private Network, Instance template etc.).
created_atDate on which the Instance group was created. (RFC 3339 format)
updated_atDate on which the Instance group was last updated. (RFC 3339 format)
zoneZone for this resource.
Delete Instance group
Delete an existing Instance group, specified by its instance_group_id. Deleting an Instance group is permanent, and cannot be undone.
path Parameters
zoneThe zone you want to target
instance_group_idID of the Instance group to delete.
Delete Instance group › Responses
Update Instance group
Update the parameters of an existing Instance group, specified by its instance_group_id.
path Parameters
zoneThe zone you want to target
instance_group_idInstance group ID to update.
Update Instance group › Request Body
nameName of Instance group.
tagsList of tags for the Load Balancer.
Specification of the minimum and maximum replicas for the Instance group, and the cooldown interval between two scaling events.
Specification of the Load Balancer to link to the Instance group.
Update Instance group › Responses
Specification of the minimum and maximum replicas for the Instance group, and the cooldown interval between two scaling events.
Specification of the Load Balancer linked to the Instance group.
idInstance group ID.
project_idProject ID of the Instance group.
nameName of the Instance group.
tagsInstance group tags.
instance_template_idTemplate ID (ID of the Instance template to attach to the Instance group).
error_messagesAny configuration errors for dependencies (Load Balancer, Private Network, Instance template etc.).
created_atDate on which the Instance group was created. (RFC 3339 format)
updated_atDate on which the Instance group was last updated. (RFC 3339 format)
zoneZone for this resource.
List events
List all events for a given Instance group. By default, the events are ordered by creation date in descending order, though this can be modified via the order_by field.
path Parameters
zoneThe zone you want to target
instance_group_idList all event logs for the Instance group ID.
query Parameters
order_bySort order of Instance groups in the response.
pagePage number to return, from the paginated results.
page_sizeNumber of Instance groups to return per page.
List events › Responses
Paginated list of Instance groups.
total_countCount of all Instance groups matching the requested criteria.