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,460 points
851 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,300 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,200 points
2,358 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,200 points
1,638 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 17, 2019 in Cloud Computing by Kirk Davis
3,244 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,780 points
4,822 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,790 points
551 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
• 58,020 points
1,170 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,510 points
587 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,360 points
1,122 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,300 points
941 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,300 points
1,883 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP