Hello, I'm Kundu ๐
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-failover.html
Goal
- Customer incoming through Nginx(NOT Nginx Plus), and Nginx doesn't support failover like ha-proxy.
I'd like to use dns-failover for stable service.
Setup
[Route53] - [Health checks]
- Set your Name
- Select what to monitor, I select Endpoint
- Endpoint setup
- Public IP address for each Nginx
- Host name (I add this '/etc/nginx/conf.d/443_health.conf' --> server_name health.mydomain.com)
- HTTPS (443)
- Path for Nginx (in my case: /etc/nginx/html/status/health.html)
- set health.html ( $ echo "alive" > health.html )
- Set String matching 'Yes'
- Search string 'alive', I already set 'STEP 3-5'
- Set Health checker regions
Now I have 2 Health checks
[Route53] - [Hosted zones]
Add 2 Record Sets
Edit Record Set each.
- Routing Policy is up to you. (Multiplevalue Answer,
- Health Check to Associate must same IP address (Alias Values)
๋ฐ์ํ
'์์ง๋์ด' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
S3์ SQS notification event ์ถ๊ฐํ ๋ ๊ถํ ์ค์ (529) | 2020.06.26 |
---|---|
AWS์ Cloudwatch์ CloudTrail์ ์ฐจ์ด (485) | 2020.06.01 |
Kerberos setup - 4 (API Server for User management) (629) | 2019.12.09 |
Kerberos setup - 3 (MacOS User) (907) | 2019.12.09 |
Kerberos setup - 2 (Kerberos Client) (928) | 2019.12.09 |