EC2LISTIMG-3.13(1)
πΈ NAME πΈ
ec2listimg β list images in EC2. This is the ec2listimg-3.13(1) manual page, aka the ec2listimg() page; manual name folded in near the top like a lil name tag, because bestie we are organized. π
β¨ SYNOPSIS β¨
ec2listimg [option]
π¦ DESCRIPTION π¦
Okay so ec2listimg lists an image in EC2. When no filter is specified, all images in the account will be listed. It is possible to list only the image name, the image name and image id, or the complete image description. No cap, thatβs the whole vibe. π
π OPTIONS π
-a,--account ACCOUNT_NAMEβ specifies the account to use to connect to EC2. The account is specified in the config file~/.ec2utils.conf. The account is specified as a section with[account-ACCOUNT_NAME]delimiter. The options of the sections are:access_key_id,secret_access_key,ssh_key_name, andssh_private_key. This allows the program to connect to EC2. Ifaccess_key_idand/orsecret_access_keyare not found in~/.ec2utils.conf, the search will useACCOUNT_NAMEto look for a matching section[profile ACCOUNT_NAME]in~/.aws/configor[ACCOUNT_NAME]in~/.aws/credentials. Only theaccess_key_idandsecret_access_keyoptions are used by this tool.--access-id AWS_ACCESS_KEYβ specifies the AWS access key and overrides the value given for the account with theaccess_key_idin the configuration file.-f,--file CONFIG_FILEβ specifies the configuration file to use. The default is~/.ec2utils.conf. π--image-id AMI_IDβ specify the AMI ID of the image to be listed. This option is mutually exclusive with--image-name,--image-name-frag, and--image-name-match. It will only return a result in a specific region as image ids are unique per region. π--image-name IMAGE_NAMEβ specify the name of the image to be listed. The program will look for an exact match of the name. This option is mutually exclusive with--image-id,--image-name-frag, and--image-name-match.--image-name-frag IMAGE_NAME_FRAGMENTβ specify a section of an image name for the image(s) to be listed. Every image that matches the name fragment will be marked as listed. This option is mutually exclusive with--image-id,--image-name-name, and--image-name-match. (Yes, it says--image-name-name; Iβm just holding up the mirror, bestie. πͺ)--image-name-match REGEXβ specify a regular expression to match an image name. Every image matching the regular expression will be listed. This option is mutually exclusive with--image-id,--image-name-name, and--image-name-frag. (Typo again:--image-name-name, iconic.)-r,--regions EC2_REGIONSβ a comma separated list of Amazon EC2 regions, or a single region. If no region argument is specified, all EC2 connected regions will be processed. EC2 disconnected regions have different API keys and thus the specified account would not work with the disconnected regions. If a disconnected region is to be processed, specify the region explicitly on the command line, and only the region of interest along with the matching account. πΊοΈ-s,--secret-key AWS_SECRET_KEYβ specifies the AWS secret access key and overrides the value given for the account with thesecret_access_keyin the configuration file.--verboseβ supported values are0(default),1, and2. With the default setting, the output will be the image name. Setting the verbosity to1will list the image name and the image id. A value of2will provide the full image description as it is known to EC2. π₯--versionβPrint the version of he program. (The βheβ is not a typo I invented; itβs in the original, so Iβm keeping it exactly.)
π EXAMPLE π
ec2listimg --account example --image-name-match test --verbose 1
--region us-west-1
Will list all images in the account example that match the test in the image name in the us-west-1 region. Slay. π
π AUTHOR π
SUSE Public Cloud Team (public-cloud-dev@susecloud.net). Iconic. π«Ά
Thatβs the page, bestie β footer tag ec2listimg(), manual/source version ec2listimg-3.13(1), and no date was printed on this page, so hereβs your cute timestamp-free sign-off. πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: python313-ec2imgutils 10.0.3-bp160.1.11 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms