Skip to content

Sync VMWare instances IP's to a Route 53 DNS Subdomain

Notifications You must be signed in to change notification settings

deepakkt/vmware-route53-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VMWare Route53 Sync

Intro

This module runs as a daemon syncs VMWare machines IP's to a Route53 subdomain

Architecture

Why is this needed

  • The idea is to reference a VMWare machine by its DNS name
  • VMWare runs its VM's under hosts
  • To optimize host usage, VMWare can move the VM's to a different host
  • This can often cause the IP's to change, breaking the original DNS entry
  • So this daemon monitors the VM's and syncs to R53

How to use this?

This can be run stand alone with some modifications, but it was originally designed to run like a Kubernetes controller. Refer to the sequence diagram. Kubernetes is used as a storage of the service-name which is the high level domain name used to map R53 and VMWare.

  • AWS Setup (use the CLI and authenticate with relevant permissions)
  • A VMWare Cluster - authenticated with VMWARE_USERNAME and VMWARE_PASSWORD. VMWARE_SDDC_URL for the Cluster URL
  • Kubernetes cluster. Setup with kubectl access
  • The Configmaps are expected to be labeled vm-status to avoid polling all Configmaps

Thereafter the daemon will sync and sleep in tandem

About

Sync VMWare instances IP's to a Route 53 DNS Subdomain

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages