Solved

Amazon EC2 - Setting Up a "Permanent" DNS In My Win 2008 Server Instance

Posted on 2014-04-12
7
508 Views
Last Modified: 2014-04-12
I've recently created a Win 2008 instance with Amazon EC2 and it is working fine. I only use this instance periodically so I start it when I need to and stop it when I don't need to use it. Each time I start it, the IP address changes. That's not a huge problem but it is inconvenient. What I would like to do is assign it some sort of human readable name (e.g., my-EC2_instance) that never changes. Can anyone explain how to do that? I've looked at the help documentation for EC2 but as a novice to this kind of stuff, I'm not sure I understand the steps to take.

As an aside, I would like to be able to RDP into the instance by this machine-readable name instead of by IP address and I want to be able to use it as a part of a URL (e.g., http://my-EC2-instance). I can already do both with the IP address but didn't know if once I set up this new name if I'd have to take additional steps.

Any help on this would be greatly appreciated.
0
Comment
Question by:cbridgman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39996216
What you need is an elastic-ip, this is a fixed IP-address you lease from Amazon, with this leased IP you can configure a domain name for your EC2 instance.

The Elastic-IP is to be found in the EC2 Management Console (left side), just click it and choose "Allocate New Address" and connect it to your instance.

elastic-ip
... You need to pay for this IP-Address though, just don't be surprised that at the end of the month you'll see it on your bill, just a heads up... It's not a huge number, but it's not free :)

Anyway, once you have this Elastic IP you can use it with either Route53 or your own provider and combine it with a domain name, just create an A-record with something like "myserver.mydomain.com" pointing to the IP-Address and you're good to go.

As for the connection, just make sure you use the same security group as now, where the necessary ports are open (e.g: RDP, http, etc...)

Hope that's clear, let me know if you have more questions.
0
 

Author Comment

by:cbridgman
ID: 39996253
Thank you for that very clear set of instructions on the Elastic IP. I have now set that up but have more novice-like, naive questions. You mentioned Route53, which I am not familiar with. I have been using GoDaddy most recently to host my website and have established some domain names through them.

I'm guessing that I can use GoDaddy for this too. My question is, do I have to create some kind of domain name (e.g., my-EC2-instance.com) with GoDaddy (or someone else) and somehow associate it with my new Elastic IP?
0
 

Author Comment

by:cbridgman
ID: 39996261
Add on question ... I already own a registered domain which is abcde.com (that's not really what it is but it serves for illustration purposes. Can I use that domain and append a prefix of some kind to it, like EC2.abcde.com or do I need to register a brand new domain?
0
Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

 
LVL 25

Expert Comment

by:Zephyr ICT
ID: 39996275
yes you can ...

It's the same steps, just add an A-record in your DNS console (either Route53 or another) and just create something as ec2.abcde.com and point that to the new IP-address.
0
 

Author Comment

by:cbridgman
ID: 39996299
Wow! This is much easier than I expected. I've just set up the new name and it actually works. Thanks very much for your help with this.

That being said, would you be able to answer a few more questions for me? I can ask them under separate postings or just continue with this one. Let me know which would be better.

The questions are:

I want to be able to transfer files between my PC and my EC2 instance by a simple mapping of a network drive on either side or by bringing up Computer on my PC and entering \\ec2instance\ in the address bar. I'm sure I will have to share folders, which I know how to do, but I'm guessing I will also have to use the EC2 management console to set up security of some kind. Can you help with this?

I've already modified security settings on my EC2 instance and have gotten what I wanted from doing that (ability to ping and ability to reach the instance via my browser) but I've probably opened the security settings to broadly and compromised security of the instance. If I attach screen shots of the settings, can you help with this?

Again, I will post each as separate questions, if you say that would be the best approach.

Thanks, in the meantime, for your help.
0
 
LVL 25

Accepted Solution

by:
Zephyr ICT earned 500 total points
ID: 39996485
Hi, I think policy of EE dictates you need to create separate questions for these I'm afraid.

But yes, I can help you with these questions, no problem.
0
 

Author Comment

by:cbridgman
ID: 39996510
Okay, thanks. I've just posted two new questions. Thanks very much for your assistance on this.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Monitoring systems evolution, cloud technology benefits and cloud cost calculators business utility.
The next five years are sure to bring developments that are just astonishing, and we will continue to try to find the balance between connectivity and security. Here are five major technological developments from the last five years and some predict…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question