Skip to content

altvnk/openstack-terraform-skydns

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform

Infrastructure automation using terraform on OpenStack. This automation brings a few features: package autoupgrade, hostname fix, manage host resolvers and domain, managed DNS on separate instance (SkyDNS)

Hosts are provisioned with templated cloud-config, where all changes are applying on every instance boot, also instances are automatically self-geristering their hostname and IP address in etcd, which gives SkyDNS serve this names as DNS records.

More about SkyDNS

SkyDNS is dynamic DNS server with etcd backend Nameserver instance contains: etcd server, docker daemon, skydns container, etcd browser (port 8000). All components are installed via cloud-config.

Usage

Complete the variables in terraform.tfvars, please note that DNS runs on CoreOS. You can download image for OpenStack on Coreos website. Read the notes how to upload image into Glance image service.

Example:

glance image-create --name CoreOS \
  --container-format bare \
  --disk-format qcow2 \
  --file coreos_production_openstack_image.img \
  --progress

Then run:

terraform get
terraform plan -module-depth=1

If you are happy with what terraform plan is suggesting, run;

terraform apply

To show all resources created run:

terraform show -module-depth=1

About

SkyDNS dynamic DNS for OpenStack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages