Slide 36
Slide 36 text
Route53 + Health Check with Roadworker
[“153.x.y.150”, "153.x.y.151"].each do |ip|
rrset "endpoint-ha.mercari.jp.", "A" do
ttl 30
weight 1
set_identifier “endpoint-ha-“ + ip.gsub(/\./,'-')
health_check "http://#{ip}/hc", :request_interval => 30, :failure_threshold => 3
resource_records(
"#{ip}"
)
end
end
Health CheckʹΑΓ DNS-RR ͰՄ༻ੑΛߴΊΒΕΔ
#Routefile