4
I want to use an ec2 instance just to do work on some personal programming and text processing projects in the cloud (from an ssh terminal) rather than on a desktop. I don't always need access to the instance, so I want to stop the instance whenever I don't need to work. However, when I restart the instance, the public dns has changed and I have to recopy the dns to my ssh command to gain access to the instance.
Is there a free way to make the public dns for such an ec2 instance fixed?
P.S. I have used their DDNS for my personal mail server for about 5 years, and it has never failed me. As soon as my IP changes, it is updated immediately, although I use my firewall to do the updating, not the stub app. – KCotreau – 2011-07-19T05:09:10.120
Are you suggesting running dyndns from the instance? Is it possible to update the dns record from the instance automatically when it's started (sorry if this is a dumb question. I'm an ec2 n00b.) – jonderry – 2011-07-19T05:18:17.877
That is exactly what I am saying. You do plan on saving the instance, right? With certain things installed on it all the time (including the DDNS app)? It seems to me like this would work. – KCotreau – 2011-07-19T05:19:38.793
For the record, I am also not very versed in ec2, but I do know DNS, and networking, so if you can save the instance (and I know you can somehow, whether you have to buy storage or whatever), it will work. – KCotreau – 2011-07-19T05:21:32.427
OK, I'll see if I can get this to work tomorrow, and yes, I save the instance. Everything is stored in EBS when the instance is stopped. The only question is whether I can run dyndns or something similar automatically I guess. – jonderry – 2011-07-19T06:12:43.673
That was what I thought regarding EBS (although I did not remember the name of the service). There is no doubt you will be able to do it. If you have problems, post back and I will try to help you further. – KCotreau – 2011-07-19T06:24:22.733
It seems that DynDNS is not free anymore, any other suggestions ? – Stef Heyenrath – 2012-01-21T16:21:02.340