Skip to content

Import existing Ec2 Instances into DynamicDNS #27

Open
cho00013 opened this issue Apr 11, 2022 · 0 comments
Open

Import existing Ec2 Instances into DynamicDNS #27

cho00013 opened this issue Apr 11, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@cho00013
Copy link
Contributor

cho00013 commented Apr 11, 2022

@badra001 would like to be able to import existing accounts and their EC2 so that DynamicDNS code will create the necessary objects (DynamoDB item, Route53 records).

Just discovered a need to import. I want to apply this to EDL, both in east and west. It has a lot of DNS entries already. A, TXT and PTR. But not exactly the same TXT.

I'd like to "turn on" this in a region, and then run something to read all the EC2 (by vpc) and show what it would do (what DNS entry) and then add them. Or, trigger something to reload with what is there (without a shutdown/startup).

On the import thing. Here is the scenario:

  1. no dynr53 setup
  2. many instances already in infoblox dns
  3. want to run through the instances in place and make it look like they got "started" to force the dynr53 to add to ddb and add to route53
  4. was thinking of an sns message that a/the lambda handles (emulating the "running" instance or "stopping" instance)
  5. was also thinking that the code to "add an instance to dns" and "remove an instance from dns" should be separate functions, and the lambda handler primarily dispatches
  6. also was looking over ec2 tag changes as well which, if any were our dns-related tags (boc:dns:.* or Name) it would remove and add from dns (and ddb)
@cho00013 cho00013 added the enhancement New feature or request label Apr 11, 2022
Sign in to join this conversation on GitHub.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant