Kingsoft Cloud
@kingsoftcloud
The Kingsoft Cloud plugin can be used with HashiCorp Packer to create custom images on Ksyun.
- Community
Updated 6 months ago
- GitHub(opens in new tab)
Kingsoft Cloud
This plugin can be used with HashiCorp Packer plugin for creating Kingsoft Cloud KEC & BareMetal image.
Installation
To install this plugin, copy and paste this code into your Packer configuration, then run packer init
.
packer {
required_plugins {
ksyun = {
version = ">= 0.0.10"
source = "github.com/kingsoftcloud/ksyun"
}
}
}
Alternatively, you can use packer plugins install
to manage installation of this plugin.
$ packer plugins install github.com/kingsoftcloud/ksyun
Components
Don't know which builder to use? If in doubt, use the amazon-ebs builder. It is much easier to use and Amazon generally recommends EBS-backed images nowadays.
Builders
- ksyun-epc - The ksyun-epc Packer builder is able to create Ksyun Images backed by bare metal instance storage as the root device.
- ksyun-kec - The ksyun-kec Packer builder is able to create Ksyun Images backed by instance storage as the root device.
Data sources
- ksyun-kmi - The Ksyun KMI data source provides information from a KMI that will be fetched based on the filter options provided in the configuration.