<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ashish Dev Logs]]></title><description><![CDATA[Ashish Dev Logs]]></description><link>https://ashish-ec2-info.hashnode.dev</link><image><url>https://cdn.hashnode.com/res/hashnode/image/upload/v1593680282896/kNC7E8IR4.png</url><title>Ashish Dev Logs</title><link>https://ashish-ec2-info.hashnode.dev</link></image><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 08:53:43 GMT</lastBuildDate><atom:link href="https://ashish-ec2-info.hashnode.dev/rss.xml" rel="self" type="application/rss+xml"/><language><![CDATA[en]]></language><ttl>60</ttl><item><title><![CDATA[How to Use the ash-ec2 Command in Two Different Ways]]></title><description><![CDATA[Introduction: this command lists your specifications/configuration of you logged in ec2 instance.

Method 1: Using the Shell Script (cURL) Run the following command in your terminal to fetch your AWS ]]></description><link>https://ashish-ec2-info.hashnode.dev/how-to-use-the-ash-ec2-command-in-two-different-ways</link><guid isPermaLink="true">https://ashish-ec2-info.hashnode.dev/how-to-use-the-ash-ec2-command-in-two-different-ways</guid><category><![CDATA[aws, cli, linux, nodejs, devops]]></category><category><![CDATA[aws ec2]]></category><category><![CDATA[ec2]]></category><dc:creator><![CDATA[Ashish Sharma]]></dc:creator><pubDate>Thu, 03 Sep 2026 02:37:43 GMT</pubDate><content:encoded><![CDATA[<ul>
<li><p><strong>Introduction:</strong> this command lists your specifications/configuration of you logged in ec2 instance.</p>
</li>
<li><p><strong>Method 1: Using the Shell Script (cURL)</strong> Run the following command in your terminal to fetch your AWS instance details instantly without any heavy setup:</p>
</li>
</ul>
<p>Bash</p>
<pre><code class="language-plaintext">curl -sSL https://unpkg.com/ash-ec2info@latest/ec2info.sh | bash
</code></pre>
<ul>
<li><strong>Method 2: Using the NPM Package (</strong><code>npx</code><strong>)</strong> If you prefer running a Node-based utility directly, execute:</li>
</ul>
<p>Bash</p>
<pre><code class="language-plaintext">
npx ash-ec2info
</code></pre>
<ul>
<li><strong>Expected Output:</strong> Both methods output a clean, formatted overview of your environment:</li>
</ul>
<p>Plaintext</p>
<pre><code class="language-plaintext">==========================================
         EC2 INSTANCE DETAILS
==========================================
Instance ID     : i-09b87bea38b8a704e
Instance Name   : N/A
Instance Type   : t3.micro
AMI ID          : ami-01a00762f46d584a1
Architecture    : x86_64
Public IPv4     : 13.204.81.214
Local IPv4      : 172.31.8.236
Security Groups : security-group-for practice-100
IAM Role        : aws-elasticbeanstalk-ec2-role
Availability Zone: ap-south-1b
==========================================
</code></pre>
]]></content:encoded></item></channel></rss>