Repository navigation
Expand file tree
/
Copy pathinstances_tr.tt2
More file actions
112 lines (109 loc) · 6.06 KB
/
Copy pathinstances_tr.tt2
File metadata and controls
112 lines (109 loc) · 6.06 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
[%- MACRO instanceTh BLOCK -%]
<tr>
<th scope="col" colspan="5">Machine Type</th>
<th scope="col">Regions</th>
<th scope="col" colspan="5">Costs (Avg. Region)</th>
<th scope="col" colspan="3">OS</th>
</tr>
<tr>
<th scope="col" data-sortable="true">Name</th>
<th scope="col" data-field="vcpu" data-sortable="true">vCPU</th>
<th scope="col" data-sortable="true">Base Clock</th>
<th scope="col" data-sortable="true">Memory</th>
<th scope="col"></th>
<th scope="col">#</th>
<!-- Costs -->
<th scope="col" title="Costs per hour" data-sortable="true">Hour</th>
<th scope="col" title="Costs per Spot VM hour" data-sortable="true">Spot</th>
<th scope="col" title="Costs per month" data-sortable="true">Month</th>
<th scope="col" title="Costs per month with 1 year commitment (CUD)" data-sortable="true">1Y CUD</th>
<th scope="col" title="Costs per month with 3 year commitment (CUD)" data-sortable="true">3Y CUD</th>
<!-- OS -->
<th scope="col" title="SUSE Linux Enterprise Server">SLES</th>
<th scope="col" title="Red Hat Enterprise Linux">RHEL</th>
<th scope="col" title="Microsoft Windows Server">Windows</th>
</tr>
[%- END -%]
[%- MACRO instanceTr(instance) BLOCK -%]
<tr>
<td><a href="/[% instance.name %].html" title="Google Compute Engine machine type [% instance.name %]">[% instance.name %]</a></td>
<td class="text-nowrap">[% instance.vCpus %][% badgeSharedCpu(instance) %]</td>
<td class="frequency" title="CPU base clock frequency: [% instance.cpuBaseClock %] GHz">[% instance.cpuBaseClock %]</td>
<td class="memory" title="Random-access memory: [% instance.memoryGB %] GB">[% instance.memoryGB %]</td>
<td>
[% badgeCpuManufactur(instance) %]
[% badgeGpu(instance) %]
[% badgeSap(instance) %]
[% badgeHana(instance) %]
[% badgeSpot(instance) %]
[% badgeSud(instance) %]
[% badgeLocalSsd(instance) %]
</td>
<td>[% instance.regionCount %]</td>
<!-- Costs -->
<td class="currency" title="[% instance.name %] avg. costs per hour: [% instance.avgHour %] USD">[% instance.avgHour %]</td>
<td class="currency" title="[% instance.name %] avg. costs per hour with spot provisioning model (Spot VM): [% instance.avgHourSpot %] USD">[% instance.avgHourSpot %]</td>
<td class="currency" title="[% instance.name %] avg. costs per month: [% instance.avgMonth %] USD[% IF instance.sud %] with sustained use discounts (SUD) applied[% END %]">[% instance.avgMonth %]</td>
<td class="currency" title="[% instance.name %] avg. costs per month w. 1Y CUD: [% instance.avgMonth1yCud %] USD">[% instance.avgMonth1yCud %]</td>
<td class="currency" title="[% instance.name %] avg. costs per month w. 3Y CUD: [% instance.avgMonth3yCud %] USD">[% instance.avgMonth3yCud %]</td>
<!-- OS -->
<td class="currency" title="[% instance.name %] license costs for SUSE Linux Enterprise Server: [% instance.monthSles %] USD">[% instance.monthSles %]</td>
<td class="currency" title="[% instance.name %] license costs for Red Hat Enterprise Linux: [% instance.monthRhel %] USD">[% instance.monthRhel %]</td>
<td class="currency" title="[% instance.name %] license costs for Microsoft Windows Server: [% instance.monthWindows %] USD">[% instance.monthWindows %]</td>
</tr>
[%- END -%]
[%- MACRO instancePlatformTh BLOCK -%]
<tr>
<th scope="col" colspan="6">Machine Type</th>
<th scope="col">Regions</th>
<th scope="col" colspan="5">Costs (Avg. Region)</th>
<th scope="col" colspan="3">OS</th>
</tr>
<tr>
<th scope="col" data-sortable="true">Name</th>
<th scope="col" data-field="vcpu" data-sortable="true">vCPU</th>
<th scope="col" data-sortable="true">Base Clock</th>
<th scope="col">Platform</th>
<th scope="col" data-sortable="true">Memory</th>
<th scope="col"></th>
<th scope="col">#</th>
<!-- Costs -->
<th scope="col" data-sortable="true">Hour</th>
<th scope="col" data-sortable="true">Spot</th>
<th scope="col" data-sortable="true">Month</th>
<th scope="col" data-sortable="true">1Y CUD</th>
<th scope="col" data-sortable="true">3Y CUD</th>
<!-- OS -->
<th scope="col">SLES</th>
<th scope="col">RHEL</th>
<th scope="col">Windows</th>
</tr>
[%- END -%]
[%- MACRO instancePlatformTr(instance) BLOCK -%]
<tr>
<td><a href="/[% instance.name %].html" title="Google Compute Engine machine type [% instance.name %]">[% instance.name %]</a></td>
<td class="text-nowrap">[% instance.vCpus %][% badgeSharedCpu(instance) %]</td>
<td class="frequency" title="CPU base clock frequency: [% instance.cpuBaseClock %] GHz">[% instance.cpuBaseClock %]</td>
<td title="CPU Platform: [% instance.cpuPlatform %]">[% instance.cpuPlatform | replace('\[','') | replace('\]','') | replace('Intel','') | replace('AMD','') %]</td>
<td class="memory" title="Random-access memory: [% instance.memoryGB %] GB">[% instance.memoryGB %]</td>
<td>
[% badgeGpu(instance) %]
[% badgeSap(instance) %]
[% badgeHana(instance) %]
[% badgeSpot(instance) %]
[% badgeSud(instance) %]
[% badgeLocalSsd(instance) %]
</td>
<td>[% instance.regionCount %]</td>
<!-- Costs -->
<td class="currency" title="[% instance.name %] avg. costs per hour: [% instance.avgHour %] USD">[% instance.avgHour %]</td>
<td class="currency" title="[% instance.name %] avg. costs per hour with spot provisioning model (Spot VM): [% instance.avgHourSpot %] USD">[% instance.avgHourSpot %]</td>
<td class="currency" title="[% instance.name %] avg. costs per month: [% instance.avgMonth %] USD[% IF instance.sud %] with sustained use discounts (SUD) applied[% END %]">[% instance.avgMonth %]</td>
<td class="currency" title="[% instance.name %] avg. costs per month w. 1Y CUD: [% instance.avgMonth1yCud %] USD">[% instance.avgMonth1yCud %]</td>
<td class="currency" title="[% instance.name %] avg. costs per month w. 3Y CUD: [% instance.avgMonth3yCud %] USD">[% instance.avgMonth3yCud %]</td>
<!-- OS -->
<td class="currency" title="[% instance.name %] license costs for SUSE Linux Enterprise Server: [% instance.monthSles %] USD">[% instance.monthSles %]</td>
<td class="currency" title="[% instance.name %] license costs for Red Hat Enterprise Linux: [% instance.monthRhel %] USD">[% instance.monthRhel %]</td>
<td class="currency" title="[% instance.name %] license costs for Microsoft Windows Server: [% instance.monthWindows %] USD">[% instance.monthWindows %]</td>
</tr>
[%- END -%]