Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/den-is/awic
https://github.com/den-is/awic
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/den-is/awic
- Owner: den-is
- License: mit
- Created: 2024-06-08T06:27:50.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-06-08T06:42:45.000Z (7 months ago)
- Last Synced: 2024-07-09T08:44:00.952Z (6 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# awic - AWS instance basic hardware viewer and calculator
Outputs HW information about indicated AWS instance type
Allows to quickly calculate CPU and Memory resources for the `N` number instances of the same type.
Another useful tool https://github.com/aws/amazon-ec2-instance-selector
## Requirements
Requires properly configured AWS credentials in users terminal.Minimum required AWS IAM policy `ec2:DescribeInstanceTypes`
## Usage
```txt
awic --help
Usage of awic:
-i string
Instance type. Required. Example: c5.4xlarge
-m int
Instances multiplier (default 1)
-p string
AWS profile name
-r string
AWS region name
```Examples:
```sh
# default information about instance type
awic -p nonprd -i r5a.16xlarge
r5a.16xlarge - vCPUs=32, Mem GiB=512, Gbps=12/12, Pods=737# Quickly output resulting CPU and Memory for X instances of the same type
awic -i r5a.16xlarge -m 2
r5a.16xlarge - vCPUs=32, Mem GiB=512, Gbps=12/12, Pods=737
x2 - vCPUs=64, Mem=1024
```