autok3s
autok3s copied to clipboard
[Feature Request] Better Support for AWS AMI selection
Maybe we can support AMI selection like the UI in AWS.
Better to have AMI grouped by OS provider, volume type and arch. Also shows the verified OS image first.
The current AWS image interface returns limited information about the image data, so we need to think about how to display it. Some images have some missing attributes,for example: ImageOwnerAlias
the following is the data structure returned by the image list interface

- Support for secondary filtering of results
We need to redesign this page, will discuss with you in detail later
aws quick start page:parameters used to load the image via js sdk
{
ubuntu: {
ownerIds: [
'099720109477'
// '898082745236', // Deep Learning AMI
// '652529143229' // with SQL Server
],
namePrefix: ['ubuntu/images/hvm-ssd/ubuntu-']
},
amazonLinux: {
ownerIds: [
'137112412989'
// '690405935483', // 1. .NET, Mono, PowerShell, and MATE DE pre-installed; 2. with SQL Server
// '898082745236' // Deep Learning AMI
],
namePrefix: ['amzn2-ami-kernel-']
},
redHat: {
ownerIds: [
'309956199498'
// '199830906635' // with SQL Server
],
namePrefix: ['RHEL-', 'RHEL_HA']
},
suseLinux: {
ownerIds: ['013907871322'],
namePrefix: ['suse-sles-']
},
debian: {
ownerIds: ['136693071363'],
namePrefix: ['debian-']
}
}
ui demo:
Validate in v0.7.0-rc1
Validation target
- Filtering the selected ami in the autok3s AWS AMI selection UI can be found in the aws ami directory
Verification steps
- Select ap-northeast-1 for region, install the following conditional filtering, and finally select ami-0e2bf1ada70fd3f33
- Select ap-northeast-1 in the aws ami directory area region of aws, and enter ami-0e2bf1ada70fd3f33 in the input search box to finally display the ami
- In the same process, Amazon Linux, Red Hat, Suse Linux and Debian are verified and passed