Skip to content

Instantly share code, notes, and snippets.

@shantanuo
Created January 28, 2020 08:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shantanuo/20045457d6cefcd42caf2466fb2d369a to your computer and use it in GitHub Desktop.
Save shantanuo/20045457d6cefcd42caf2466fb2d369a to your computer and use it in GitHub Desktop.
isitfit output for test account
(base) root@080ae74773e0:/# isitfit cost analyze
Profiles in AWS credential file:
- default
(use `AWS_PROFILE=myprofile isitfit ...` or `isitfit command --profile=myprofile ...` to skip this prompt)
Profile to use [default]:
Number of days to lookback (between 1 and 90, use `isitfit cost --ndays=7 ...` to skip this prompt) [7]:
EC2 instances, counting in all regions : 100%|███████████████████████████████████████████████████████████████████████████████| 18/18 [00:10<00:00, 2.49it/s]
Cloudtrail events in all regions : 100%|█████████████████████████████████████████████████████████████████████████████████| 1/1 [00:06<00:00, 6.73s/it]
Pass 1/2 Cloudtrail history (EC2, Redshift) : 0%| | 0/2 [00:00<?, ?it/s]EC2 instances: Will skip 17 out of 18 regions which were either empty or inaccessible. To re-check, delete the local cache file /tmp/isitfit/iterator_cache-default-ec2.pkl
Pass 1/2 Cloudtrail history (EC2, Redshift) : 100%|█████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 3.25it/s]
Pass 2/2 through EC2 instances : 100%|█████████████████████████████████████████████████████████████████████████████████| 2/2 [00:01<00:00, 1.07it/s]
Status of metric sources (for service ec2)
+----------------+--------------+------+
| datadog | cloudwatch | ID |
|----------------+--------------+------|
| not configured | ok | 2 |
+----------------+--------------+------+
Details at /tmp/isitfit/isitfit-sourceStatus-96t9esb7.csv
Redshift clusters, counting in all regions : 100%|███████████████████████████████████████████████████████████████████████████████| 18/18 [00:10<00:00, 2.72it/s]
AWS returned AccessDenied errors on 14 out of 18 regions. Use `isitfit --verbose ...` and re-run the command for more details
No resources found in Redshift clusters
Cost-Weighted Average Utilization (CWAU) of the AWS account (EC2, Redshift):
Timestamp 2020-01-21 2020-01-22 2020-01-23 2020-01-24 2020-01-25 2020-01-26 2020-01-27 2020-01-28
Service Field
ec2 Start date 2020-01-21 2020-01-22 2020-01-23 2020-01-24 2020-01-25 2020-01-26 2020-01-27 2020-01-28
End date 2020-01-21 2020-01-22 2020-01-23 2020-01-24 2020-01-25 2020-01-26 2020-01-27 2020-01-28
Regions 1 (us-east-1) 1 (us-east-1) 1 (us-east-1) 1 (us-east-1) 1 (us-east-1) 1 (us-east-1) 1 (us-east-1) 1 (us-east-1)
Resources analyzed 2 2 2 2 2 2 2 2
Billed cost 0 $ 0 $ 0 $ 0 $ 0 $ 0 $ 0 $ 0 $
Used cost 0 $ 0 $ 0 $ 0 $ 0 $ 0 $ 0 $ 0 $
CWAU (Used/Billed) 0 % 0 % 0 % 0 % 0 % 0 % 0 % 0 %
For reference:
* CWAU >= 70% is well optimized
* CWAU <= 30% is underused
Email to which to share the results (type "skip" to not send email) [skip]: shantanu.oak@gmail.com
A verification link was emailed to you now. Please click the link, then press any key here to continue...
Email sent from notifications@isitfit.io to: shantanu.XXX@gmail.com
⛅ Generated by isitfit version 0.20.3
Useful links:
ℹ️ isitfit homepage https://isitfit.autofitcloud.com
� isitfit issues https://github.com/autofitcloud/isitfit/issues
� Global Climate Strike https://twitter.com/hashtag/ClimateStrike
❤️ Built by AutofitCloud https://www.autofitcloud.com
(base) root@080ae74773e0:/# isitfit cost optimize
Profiles in AWS credential file:
- default
(use `AWS_PROFILE=myprofile isitfit ...` or `isitfit command --profile=myprofile ...` to skip this prompt)
Profile to use [default]:
Number of days to lookback (between 1 and 90, use `isitfit cost --ndays=7 ...` to skip this prompt) [7]:
Allow suggesting EC2 instance types of different families? m2.4xlarge -> r4.2xlarge [y/N]: N
EC2 instances: Will skip 17 out of 18 regions which were either empty or inaccessible. To re-check, delete the local cache file /tmp/isitfit/iterator_cache-default-ec2.pkl
EC2 instances, counting in all regions : 100%|███████████████████████████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 64.12it/s]
Cloudtrail events in all regions : 100%|█████████████████████████████████████████████████████████████████████████████████| 1/1 [00:06<00:00, 6.70s/it]
Pass 1/2 Cloudtrail history (EC2, Redshift) : 100%|█████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 3.14it/s]
Intermediate results will be streamed to /tmp/isitfit/isitfit-intermediate-0q6z4hlu.csv
Pass 2/2 through EC2 instances : 100%|█████████████████████████████████████████████████████████████████████████████████| 2/2 [00:00<00:00, 2.13it/s]
Status of metric sources (for service ec2)
+----------------+--------------+------+
| datadog | cloudwatch | ID |
|----------------+--------------+------|
| not configured | ok | 2 |
+----------------+--------------+------+
Details at /tmp/isitfit/isitfit-sourceStatus-884_nn03.csv
Redshift clusters: Will skip 18 out of 18 regions which were either empty or inaccessible. To re-check, delete the local cache file /tmp/isitfit/iterator_cache-default-redshift.pkl
Redshift clusters, counting in all regions : 100%|███████████████████████████████████████████████████████████████████████████| 18/18 [00:00<00:00, 129944.01it/s]
AWS returned AccessDenied errors on 14 out of 18 regions. Use `isitfit --verbose ...` and re-run the command for more details
No resources found in Redshift clusters
No optimizations from EC2
No optimizations from redshift
Saving final results to /tmp/isitfit/isitfit-costOptimize-og3r9qeh.csv
Save complete
The table 'Optimization summary' was saved to the CSV file '/tmp/isitfit/isitfit-costOptimize-og3r9qeh.csv'.
It could be opened in the terminal with visidata (http://visidata.org/)
and you can close visidata by pressing 'q'
Would you like to do so? yes/[no]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment