Route 53: Swapping primary recordset with secondary recordset

0 votes
With Two AWS R53 failover recordsets say of A type. I have tried finding the best way to swap primary and secondary recordset in aws route 53 using CLI. Is there a way to achieve this?
May 8, 2018 in Cloud Computing by Meci Matt
• 9,420 points
34 views

1 answer to this question.

0 votes

Try using weighted recordsets.

set the weight of one to 0 and the other to 100, this will swap DNS records entirely. If the requirement is transition deployment slowly, then set the weights to give proportional responses (so, for example 400 and 400 will direct traffic equally).

Remember that DNS records are cached, so any changes might not take effect immediately. If you expect to do this a lot, set the TTL (time to live) to 60 seconds.

answered May 8, 2018 by code_ninja
• 6,220 points

Related Questions In Cloud Computing

0 votes
1 answer

can you re create route 53 hosted zone that was deleted

It is advisable you avoid deleting those. ...READ MORE

answered Apr 17, 2018 in Cloud Computing by brat_1
• 7,080 points
34 views
+2 votes
2 answers

Authenticated users with STS and API Gateway

RoleSessionName being an identifier for a defined ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,080 points
106 views
+4 votes
3 answers

Deploy RESTful API with .net framework 4.5 in AWS Lambda

This is an old question (somewhat), but ...READ MORE

answered Jan 16 in Cloud Computing by Kirk Davis
520 views
+4 votes
5 answers

How to do parallel uploads to the same s3 bucket directory with s3cmd?

Is your problem is not with the ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,750 points
418 views
0 votes
1 answer

Can we Use Api keys with AWS API Gateway?

There is no getting away here. When ...READ MORE

answered Apr 18, 2018 in Cloud Computing by hemant
• 5,750 points
27 views
0 votes
2 answers

How can I route request to EC2 instance behind AWS ELB?

You can have a look at the ...READ MORE

answered Aug 17, 2018 in Cloud Computing by Priyaj
• 56,520 points
103 views
0 votes
1 answer

AWS: Having trouble serving files with S3

Why go to the trouble of EC2 ...READ MORE

answered Aug 13, 2018 in Cloud Computing by bug_seeker
• 15,350 points
24 views
0 votes
1 answer

Does it make sense to have an Amazon Elastic Load Balancer with just one EC2 instance?

ELB automatically distributes incoming application traffic across ...READ MORE

answered Jul 12, 2018 in Cloud Computing by ArchanaNagur
• 2,270 points
80 views
0 votes
1 answer

AWS: Transfer Domain Name registration to route 53

You will need to get a list ...READ MORE

answered Jun 13, 2018 in Cloud Computing by code_ninja
• 6,220 points
66 views
+4 votes
3 answers

AWS API Gateway with AWS WAF

Well that is not possible, Reason: API Gateway would ...READ MORE

answered Mar 27, 2018 in Cloud Computing by code_ninja
• 6,220 points
385 views