Member-only story

How to list down Amazon EC2 AMI using your terminal?

Manzeel Uprety
2 min readAug 7, 2024

--

When managing cloud resources, it is important to consider the costs associated with AWS EC2 instances, which can add up quickly, especially when using high-configuration instances unnecessarily. For testing purposes, it is wise to choose low-configuration machines such as the t4g.nano instance. These instances are designed to offer a cost-effective solution for workloads that do not need significant computational power, enabling developers and testers to carry out their activities efficiently without incurring excessive expenses.

Read this guide directly on my site https://www.manzeel.com.np/

While it is cost-effective, finding the right instances can be tricky sometimes. I came across a scenario where I needed an older version of an OS that should also be Arm 64 architecture. Using the AWS console, it is easy to get the latest OS Ami’s, but finding older ones can be tricky.

You've come to the right place if you are stuck in a similar problem.

The first step is configuring your terminal with your cloud environment’s credentials. Follow this article (https://www.cloudquery.io/blog/how-to-setup-aws-cli-with-aws-sso) to configure your terminal.

To ensure your terminal is properly connected, try running a simple aws cli command like aws s3 ls. This CLI…

--

--

Manzeel Uprety
Manzeel Uprety

Responses (1)