@@ -354,6 +354,9 @@ In the steps below, `<env>` refers to a subfolder in the `environments/`
354
354
directory, and can be one of "dev" or "prod". This is different from
355
355
`<environment>` which is part of the ES module name and can be one of "staging"
356
356
or "production".
357
+
358
+ Consider pausing the `<environment>_elasticsearch_cluster_healthcheck` DAG to avoid
359
+ getting redundant alerts during this process.
357
360
```
358
361
359
362
1 . Find the instance in the AWS management console using the ID from the
@@ -381,9 +384,13 @@ or "production".
381
384
with this change in production. Apply this change. The plan should include:
382
385
383
386
- creation of a new Elasticsearch data node
384
- - creation of new alarms and changes to existing alarms
387
+ - creation of new alarms and changes to existing alarms (for production)
385
388
- addition of the new instance's IP to the Route53 record
386
389
390
+ ``` bash
391
+ just tf < env> apply -target=' module.staging-elasticsearch-8-8-2'
392
+ ```
393
+
387
394
4 . Wait for a new instance to be provisioned by Terraform.
388
395
389
396
Record the public IPv4 DNS and Terraform index of the new instance, they will
@@ -394,7 +401,7 @@ or "production".
394
401
pass the public IPv4 DNS step from step 3 to the ` -l ` /` --limit ` flag.
395
402
396
403
``` bash
397
- just ansible/playbook < env > elasticsearch/sync_config.yml -e apply=true -l < public_ipv4_dns> `
404
+ just ansible/playbook < environment > elasticsearch/sync_config.yml -e apply=true -l < public_ipv4_dns>
398
405
```
399
406
400
407
``` {note}
@@ -413,7 +420,7 @@ or "production".
413
420
` http://localhost:9220 ` .
414
421
415
422
``` {tip}
416
- Use the Elasticvue extension or app because the web interface cannot connect
423
+ Use the Elasticvue browser extension or app because the web interface cannot connect
417
424
to Elasticsearch due to CORS protection.
418
425
```
419
426
@@ -422,7 +429,9 @@ or "production".
422
429
423
430
``` json
424
431
{
425
- " transient.cluster.routing.allocation.exclude.name" : " <private_ipv4_address>"
432
+ "transient" : {
433
+ "cluster.routing.allocation.exclude.name" : " <private_ipv4_address>"
434
+ }
426
435
}
427
436
```
428
437
@@ -458,6 +467,10 @@ or "production".
458
467
- subtraction of the retired instance' s IP from the Route53 record
459
468
- destruction of extra alarms and changes to existing alarms
460
469
470
+ ```bash
471
+ just tf <env> apply -target=' module.staging-elasticsearch-8-8-2'
472
+ ```
473
+
461
474
14. If the deletion of the individual alarms fails due to them being part of a
462
475
composite alarm, go into the AWS management console and remove the alarms
463
476
that are supposed to be deleted from any composite alarms that they are a
0 commit comments