Skip to content
David Kittell
David Kittell

Application & System: Development / Integration / Orchestration

  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support
David Kittell

Application & System: Development / Integration / Orchestration

AWS CLI – List All VM Instances

Posted on April 6, 2018 By David Kittell
for region in `aws ec2 describe-regions --output text | cut -f3`
do
  echo -e "\nListing Instances in region:'$region'..."
  aws ec2 describe-instances --region $region
done

Reference: https://github.com/aws/aws-cli/issues/1777

All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.

Related

AWS AWS CLI Code

Post navigation

Previous post
Next post

Related Posts

UNIX – Start Service If Not Running

Posted on February 2, 2018June 18, 2019

Currently this script is developed for my Raspberry Pi (Debian, Raspbian) but in time I will have it working for RHEL (Red Hat, CentOS, Fedora). service=openvpn running=$(ps -ef | grep -v grep | grep $service | wc -l) #echo $running if [ "$running" = 1 ]; then echo "$service is…

Read More

PowerShell – Install .NET 4.5.2

Posted on September 30, 2016

Configuration Net452Install { node "localhost" { LocalConfigurationManager { RebootNodeIfNeeded = $true } Script Install_Net_4.5.2 { SetScript = { $SourceURI = "https://download.microsoft.com/download/B/4/1/B4119C11-0423-477B-80EE-7A474314B347/NDP452-KB2901954-Web.exe" $FileName = $SourceURI.Split(‘/’)[-1] $BinPath = Join-Path $env:SystemRoot -ChildPath "Temp\$FileName" if (!(Test-Path $BinPath)) { Invoke-Webrequest -Uri $SourceURI -OutFile $BinPath } write-verbose "Installing .Net 4.5.2 from $BinPath" write-verbose "Executing $binpath /q…

Read More

File Name Converter

Posted on July 18, 2013October 26, 2015

<% @LANGUAGE = VBSCRIPT %> <%Option Explicit%> <% ‘ File Name Move and Converter ‘ Written by Cristiano Guglielmetti: guglielmetti@tin.it ‘ Dec.2001 ‘ This script moves and renames files into a webserver from a dir to another dir ‘ especially designed for large numbers of pictures files Response.Write "<html>" &…

Read More

Code

Top Posts & Pages

  • PowerShell - Rename Pictures to Image Taken
  • PowerShell - UNIX SED Equivalent - Change Text In File
  • Get Windows Shortcut (.lnk) Details
  • SQLite - Auto-Increment / Auto Generate GUID
  • Bleaching Wool using Hydrogen Peroxide

Recent Posts

  • Javascript – Digital Clock with Style
  • BASH – Web Ping Log
  • BASH – Picture / Video File Name Manipulation
  • Mac OSX Terminal – Create SSH Key
  • Bash – Rename Picture

Top Posts

  • PowerShell - Rename Pictures to Image Taken
  • PowerShell - UNIX SED Equivalent - Change Text In File
  • Get Windows Shortcut (.lnk) Details
  • SQLite - Auto-Increment / Auto Generate GUID
  • Bleaching Wool using Hydrogen Peroxide
  • Mac OSX Terminal - Clear Oh My ZSH History
©2025 David Kittell | WordPress Theme by SuperbThemes
David Kittell
  • Services
    • Application Development
    • Online Application Integration
  • Code
  • Online Tools
  • Tech Support