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,400 points
20 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
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
• 5,710 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
22 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
54 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
228 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,730 points
240 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
14 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,100 points
65 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
• 14,960 points
18 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
• 1,070 points
36 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
• 5,710 points
47 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
• 5,710 points
295 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.