Skip to content

How-To Guides

AWS Profile Configuration

  • Install AWS CLI - Command line tool.
  • Create an AWS AMI user then extract Access ID & key.
  • Configure AWS CLI profile by:
aws configure --profile [PROFILE_NAME]  # Replace [PROFILE_NAME] with your profile name
# 2- Input the Access ID & Key as required.
# 3- Specify the defalut region.

Check installed Python version

  • Ensure you Python version is >= 3.12.3 by:
python --version

# Consider update Python version if less than 3

Install eraXplor

  • Install eraxplor too by:
pip install eraXplor

How-To use

  • Simply run the eraXplor Command, Then follow the prompet interactive session with valid inputs:
eraXplor

# Enter a start date value with YYYY-MM-DD format: 2025-1-1
# Enter an end date value with YYYY-MM-DD format: 2025-3-30
# Enter your AWS Profile name: profile_name
# Enter the cost group by key:
#     Enter [1] to list by 'LINKED_ACCOUNT' -> Default
#     Enter [2] to list by 'SERVICE'
#     Enter [3] to list by 'PURCHASE_TYPE'
#     Enter [4] to list by 'USAGE_TYPE'
#     Press Enter for 'LINKED_ACCOUNT' -> Default:

# Press Enter for list cost per account, Or Enter a number for attending result.

For Windows/PowerShell users restart your terminal, and you may need to use the following command:

python3 -m eraXplor

# Or
python -m eraXplor

# to avoid using this command, apend the eraXplor to your paths.
# Normaly its under: C:\Users\<YourUser>\AppData\Local\Programs\Python\Python<version>\Scripts\
Note

Ensure you run the command in a place you have sufficient permission to replace file. The eraXport tool sorting cost reult into a CSV file, by default The CSV will replace for next run.

  • Check CSV file Created.

Upcomming Features

  • Parse args with non-interactive sessions.
  • Rich speadsheets content and charts.
  • Fetch the top 10 most expensive services.