Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Finding Image ID #7

Open
armandabiri99 opened this issue Feb 14, 2023 · 4 comments
Open

Finding Image ID #7

armandabiri99 opened this issue Feb 14, 2023 · 4 comments

Comments

@armandabiri99
Copy link

one of my biggest problem is how to finding image id in all platforms. for instance how I can find image id for centos or any other releases in Hetzner cloud.

@babakDoraniArab
Copy link
Member

babakDoraniArab commented Feb 20, 2023

Hey buddy, that's a great question and I will explain it when I'm trying to explain data resources in terraform. Still, before we go further in the video, I have to say you need to find the best operation system for your app then you can use some filters in the provider for example in AWS to find image ID with all the specification you need. for example, the architecture is essential when we are choosing the image ID

@mehdi-ra
Copy link
Contributor

mehdi-ra commented Mar 2, 2023

Hey guys, I don't have any previous experience but I found the below repositories:
https://github.com/heinlein/ami-search
https://github.com/chaspy/aws-ecr-image-scan-findings-prometheus-exporter
https://github.com/baccenfutter/awsamigo

@imatthew-nq
Copy link

You can get all available images ID, types, versions, name, disk_size, os_flavor, os_version, and so on with this command below on hcloud (Hetzner Cloud).
Use your API_TOKEN instead of $API_TOKEN in the command below and have fun. :-)

curl -H "Authorization: Bearer $API_TOKEN" 'https://api.hetzner.cloud/v1/images'

@Mina-Farajian
Copy link

Mina-Farajian commented May 8, 2023

you can use this command in CLI without opening your console :)

aws ec2 describe-images --filters Name=name,Values=ubuntu/images/hvm-ssd/ubuntu*

works for me .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants