Skip to content

Commit

Permalink
Feat: Change QED instance types to z1d.xlarge
Browse files Browse the repository at this point in the history
  • Loading branch information
Jose Luis Lucas committed Apr 4, 2019
1 parent eec548e commit 101eb15
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 91 deletions.
3 changes: 1 addition & 2 deletions deploy/aws/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ module "qed" {
count = 3

name = "qed"
instance_type = "c5n.2xlarge"
instance_type = "z1d.xlarge"
iam_instance_profile = "${aws_iam_instance_profile.qed-profile.name}"
volume_size = "20"
vpc_security_group_ids = "${module.security_group.this_security_group_id}"
subnet_id = "${aws_subnet.qed.id}"
key_name = "${aws_key_pair.qed.key_name}"
key_path = "${var.keypath}"
}

module "inmemory-storage" {
source = "./modules/inmemory_storage"

Expand Down
97 changes: 8 additions & 89 deletions deploy/aws/provision/files/grafana/dashboards/Host.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,90 +16,9 @@
"editable": true,
"gnetId": 179,
"graphTooltip": 1,
"iteration": 1554212331104,
"iteration": 1554368693970,
"links": [],
"panels": [
{
"cacheTimeout": null,
"colorBackground": false,
"colorValue": false,
"colors": [
"#299c46",
"rgba(237, 129, 40, 0.89)",
"#d44a3a"
],
"datasource": "Prometheus",
"decimals": 1,
"format": "dtdurations",
"gauge": {
"maxValue": 100,
"minValue": 0,
"show": false,
"thresholdLabels": false,
"thresholdMarkers": true
},
"gridPos": {
"h": 3,
"w": 5,
"x": 0,
"y": 0
},
"id": 15,
"interval": null,
"links": [],
"mappingType": 1,
"mappingTypes": [
{
"name": "value to text",
"value": 1
},
{
"name": "range to text",
"value": 2
}
],
"maxDataPoints": 100,
"nullPointMode": "connected",
"nullText": null,
"postfix": "",
"postfixFontSize": "50%",
"prefix": "",
"prefixFontSize": "50%",
"rangeMaps": [
{
"from": "null",
"text": "N/A",
"to": "null"
}
],
"sparkline": {
"fillColor": "rgba(31, 118, 189, 0.18)",
"full": false,
"lineColor": "rgb(31, 120, 193)",
"show": false
},
"tableColumn": "",
"targets": [
{
"expr": "time() - process_start_time_seconds{job=\"prometheus\"}",
"format": "time_series",
"intervalFactor": 1,
"refId": "A"
}
],
"thresholds": "",
"title": "Prometheus Uptime",
"type": "singlestat",
"valueFontSize": "80%",
"valueMaps": [
{
"op": "=",
"text": "N/A",
"value": "null"
}
],
"valueName": "avg"
},
{
"cacheTimeout": null,
"colorBackground": true,
Expand All @@ -122,7 +41,7 @@
"gridPos": {
"h": 3,
"w": 2,
"x": 8,
"x": 6,
"y": 0
},
"id": 31,
Expand Down Expand Up @@ -203,7 +122,7 @@
"gridPos": {
"h": 3,
"w": 2,
"x": 10,
"x": 8,
"y": 0
},
"id": 34,
Expand Down Expand Up @@ -284,7 +203,7 @@
"gridPos": {
"h": 3,
"w": 2,
"x": 12,
"x": 10,
"y": 0
},
"id": 33,
Expand Down Expand Up @@ -365,7 +284,7 @@
"gridPos": {
"h": 3,
"w": 2,
"x": 14,
"x": 12,
"y": 0
},
"id": 35,
Expand Down Expand Up @@ -446,7 +365,7 @@
"gridPos": {
"h": 3,
"w": 2,
"x": 16,
"x": 14,
"y": 0
},
"id": 36,
Expand Down Expand Up @@ -527,7 +446,7 @@
"gridPos": {
"h": 3,
"w": 2,
"x": 18,
"x": 16,
"y": 0
},
"id": 37,
Expand Down Expand Up @@ -1080,7 +999,7 @@
]
},
"time": {
"from": "now-15m",
"from": "now-6h",
"to": "now"
},
"timepicker": {
Expand Down

0 comments on commit 101eb15

Please sign in to comment.