Skip to main content

bundles

Creates, updates, deletes, gets or lists a bundles resource.

Overview

Namebundles
TypeResource
Idaws.lightsail.bundles

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringA friendly name for the bundle (Micro).
bundle_idstringThe bundle ID (micro_x_x). (pattern: <code>.\S.</code>)
cpu_countintegerThe number of vCPUs included in the bundle (2).
disk_size_in_gbintegerThe size of the SSD (30).
instance_typestringThe instance type (micro).
is_activebooleanA Boolean value indicating whether the bundle is active.
powerintegerA numeric value that represents the power of the bundle (500). You can use the bundle's power value in conjunction with a blueprint's minimum power value to determine whether the blueprint will run on the bundle. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500.
pricenumber (float)The price in US dollars (5.0) of the bundle.
public_ipv_4_address_countintegerAn integer that indicates the public ipv4 address count included in the bundle, the value is either 0 or 1.
ram_size_in_gbnumber (float)The amount of RAM in GB (2.0).
supported_app_categoriesarrayVirtual computer blueprints that are supported by a Lightsail for Research bundle. This parameter only applies to Lightsail for Research resources.
supported_platformsarrayThe operating system platform (Linux/Unix-based or Windows Server-based) that the bundle supports. You can only launch a WINDOWS bundle on a blueprint that supports the WINDOWS platform. LINUX_UNIX blueprints require a LINUX_UNIX bundle.
transfer_per_month_in_gbintegerThe data transfer rate per month in GB (2000).

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_bundlesselectregionReturns the bundles that you can apply to an Amazon Lightsail instance when you create it. A bundle describes the specifications of an instance, such as the monthly cost, amount of memory, the number of vCPUs, amount of storage space, and monthly network data transfer quota. Bundles are referred to as instance plans in the Lightsail console.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns the bundles that you can apply to an Amazon Lightsail instance when you create it. A bundle describes the specifications of an instance, such as the monthly cost, amount of memory, the number of vCPUs, amount of storage space, and monthly network data transfer quota. Bundles are referred to as instance plans in the Lightsail console.

SELECT
name,
bundle_id,
cpu_count,
disk_size_in_gb,
instance_type,
is_active,
power,
price,
public_ipv_4_address_count,
ram_size_in_gb,
supported_app_categories,
supported_platforms,
transfer_per_month_in_gb
FROM aws.lightsail.bundles
WHERE region = '{{ region }}' -- required
;