A Raycast extension to quickly query AWS EC2 instance specifications, available regions, and sample pricing information directly from a local SQLite database.
- Fast Instance Search: Quickly search through AWS EC2 instance types (e.g.,
t3.medium
,m5.large
,c7g.xlarge
). - View Core Specs: See essential details like vCPUs, Memory (GiB), Storage type, and Network Performance.
- Sample Pricing: Get an idea of On-Demand Linux hourly pricing (based on the minimum price found across regions in the database).
- Region Availability: View a list of AWS regions where the selected instance type is available (according to the database).
- Offline Access: Works entirely offline using a local SQLite database file.
- Raycast (macOS application)
npm
(Node Package Manager) for building the extension.
-
Clone the Repository:
git clone https://github.com/hugoch/raycast-aws-query cd raycast-aws-query
Alternatively, you can download a release ZIP file from the repository's releases page and extract it.
-
Build the Extension:
- Open your terminal in the repository's root directory.
- Install dependencies:
npm install
- Build the extension:
npm run build
-
Add to Raycast:
- Open Raycast preferences (
⌘ + ,
). - Go to the "Extensions" tab.
- Click the "+" button (or "Add Extension" link) at the bottom left.
- Navigate to and select the folder containing this extension (the
raycast-aws-query
folder you cloned/extracted). - The "AWS Instance Query" extension should appear in your list. Ensure it's enabled.
- Open Raycast preferences (
- Open Raycast (
⌥ + Space
by default). - Type the command name:
Search AWS Instances
. - Start typing an EC2 instance type (e.g.,
t2.nano
,m5a.large
). - The list will filter as you type.
- Select an instance from the list to view its details (specs, sample price, regions) in the right-hand pane.
- Press
Enter
on a selected instance to view the details in a separate view. - Use
⌘ + C
on a selected instance to copy its type name.
- This extension relies on the SQLite database provided by aws-pricing.com. Please visit their site for more information about the data.
- Important: The instance data (including pricing and availability) changes over time. You will need to periodically download the latest SQL file from aws-pricing.com/download.html, rename it to
data.db
, and replace the old file in theassets
folder to keep the extension's information up-to-date. You do not need to rebuild the extension after updating the database file.