Skip to content

Commit

Permalink
Move 3.th.ooni.org over to AWS (#48)
Browse files Browse the repository at this point in the history
* Drop 3.th.ooni.org from the root DNS zone
* Add 3.th.ooni.org from the alternative domains
* Remove 5,6.th.ooni.org from the alternative domains (there were only
used for internal testing and never shared)
  • Loading branch information
hellais authored Apr 22, 2024
1 parent 3b362cd commit 8bed1d0
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 23 deletions.
3 changes: 0 additions & 3 deletions ansible/roles/prometheus/templates/prometheus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ scrape_configs:
- 0.th.ooni.org:19999
- 1.th.ooni.org:19999
- 2.th.ooni.org:19999
- 3.th.ooni.org:19999
# - 2.th.ooni.org:19999

- job_name: 'test-helpers'
scrape_interval: 5s
Expand All @@ -100,7 +98,6 @@ scrape_configs:
- 0.th.ooni.org:9001
- 1.th.ooni.org:9001
- 2.th.ooni.org:9001
- 3.th.ooni.org:9001

- job_name: 'ooni-api'
scrape_interval: 5s
Expand Down
1 change: 1 addition & 0 deletions ansible/roles/prometheus/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ blackbox_jobs:
- "https://1.th.ooni.org/"
- "https://2.th.ooni.org/"
- "https://3.th.ooni.org/"
- "https://4.th.ooni.org/"

- name: "ooni collector"
module: "ooni_collector_ok"
Expand Down
17 changes: 0 additions & 17 deletions tf/environments/prod/dns_records.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1000,23 +1000,6 @@ resource "aws_route53_record" "test-ooni-nu-_NS_" {

## Records for the th.ooni.org zone


resource "aws_route53_record" "_3-th-ooni-org-_AAAA_" {
name = "3.th.ooni.org"
records = ["2604:a880:4:1d0::69e:f000"]
ttl = "60"
type = "AAAA"
zone_id = local.dns_root_zone_ooni_org
}

resource "aws_route53_record" "_3-th-ooni-org-_A_" {
name = "3.th.ooni.org"
records = ["146.190.119.3"]
ttl = "60"
type = "A"
zone_id = local.dns_root_zone_ooni_org
}

resource "aws_route53_record" "_2-th-ooni-org-_A_" {
name = "2.th.ooni.org"
records = ["161.35.89.250"]
Expand Down
5 changes: 2 additions & 3 deletions tf/environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,8 @@ module "oonith_oohelperd" {
}

alternative_names = {
"4.th.ooni.org" = local.dns_root_zone_ooni_org,
"5.th.ooni.org" = local.dns_root_zone_ooni_org,
"6.th.ooni.org" = local.dns_root_zone_ooni_org,
"3.th.ooni.org" = local.dns_root_zone_ooni_org,
"4.th.ooni.org" = local.dns_root_zone_ooni_org
}

oonith_service_security_groups = [
Expand Down

0 comments on commit 8bed1d0

Please sign in to comment.