-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
71 lines (61 loc) · 4.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<html>
<head>
<meta charset="utf-8"/>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js"></script>
<script async defer src="https://buttons.github.io/buttons.js"></script>
</head>
<body>
<form class="col-6" action="https://www.paypal.com/donate" method="post" target="_top">
<input type="hidden" name="hosted_button_id" value="QYH7MGEDWLZBA" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_BY/i/scr/pixel.gif" width="1" height="1" />
</form>
<h2> AWS Cost savings scanner v1.0 <a style="display: inline-block;" class="github-button" href="https://github.com/gladkikhartem/stop-aws-money-wasting" data-color-scheme="no-preference: dark; light: dark; dark: dark;" data-size="large" data-show-count="true" aria-label="Star gladkikhartem/stop-aws-money-wasting on GitHub">Star</a></h2>
<br>
<h2> <b>READ THIS BEFORE PROVIDING YOUR AWS CREDENTIALS!!!</b> </h2>
</p> Generally you don't want to paste your AWS credentials on a public resource like this without security considerations.
Especially if it's not your account and you're working for a company.
<br> <b>This tools is not going to misuse your credentials, you can trust us)))</b>. But if you don't - you can try following:
<br> 1. Make sure your OS & browser is free of malware.
<br> 2. Create temporary READ ONLY credentials that you will delete after you're finished with reporting.
<br> 3. Limit the access for these credentials to be able to query only CW Metrics, EC2 & RDS ( we'll post AWS Roles json soon )
<br> 4. If you're working in the company - make sure your manager & security officer are aware of what you're doing
<br> 5. Find developer you trust to verify the tool source code or do it yourself
</p>
<br>
<form onsubmit="return createReport()">
<div class="form-group col-6">
<label for="AWS_ACCESS_KEY_ID">ACCESS_KEY_ID</label>
<input class="form-control" id="AWS_ACCESS_KEY_ID"/>
</div>
<div class="form-group col-6">
<label for="AWS_SECRET_ACCESS_KEY">AWS_SECRET_ACCESS_KEY</label>
<input class="form-control" id="AWS_SECRET_ACCESS_KEY"/>
</div>
<div class="form-group col-6">
<label for="AWS_SECRET_ACCESS_TOKEN">AWS_SECRET_ACCESS_TOKEN (optional)</label>
<input class="form-control" id="AWS_SECRET_ACCESS_TOKEN"/>
</div>
<input class="form-control col-6 btn-primary" type="submit" value="CreateReport">
</form>
<div class="progress col-6">
<div id="prog-bar" class="progress-bar progress-bar-striped progress-bar-animated bg-success" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 75%"></div>
</div>
<h2 id="result" col-6"></h2>
<div id="log" style="max-height: 100px;" class="col-6 overflow-auto"></div>
<table class="table col-6">
<thead>
<th>Region</th>
<th>ID</th>
<th>$/mo</th>
<th>Description</th>
</thead>
<tbody id="table-body">
</tbody>
</table>
</body>
<script src="app.js"></script>
</html>