nameservers on EC2
1.Boot 2 linux servers on EC2 (we used ubuntu hardy)
2.Assign elastic IP to each of them (static IP)
3.Register a domain (eg yournameserver.com) with somebody like ukreg.com or 1and1 registrars
4.On the domain settings – create 2 host records (glue records) – ns1.yournameserver.com and ns2.yournameserver.com and point each record to each of the elastic IPs.
5.On your 2 nameserver instances – create dns zone for ns1. and ns2 respectively
6.Make ns2 a slave of ns1 (so you only have to update the records in ns1 and ns2 will update automatically) – you can if you wish add ns3… ns4.. etc etc but its not necessary unless your site is getting millions of users.
7.Boot another EC instance and install the Scalr application.
8.Create a user on ns1. called “named” that has permissions to update the dns zone records on ns1.
9.The DNS settings of the scalr application will refer to the nameservers ns1. with user “named” and password as set on ns1.
right – thats the system setup – now for the application you want to run on your farm
10.Your application for example will have the domain yourapplication.com. Register this domain and set its nameservers to your ns1. and ns2 mentioned previously.
11.You need to first create a new zone file on ns1 for yourapplication.com
12.In Scalr when asked for the application domain name – simply enter yourapplication.com – and scalr will handle the rest.