Results 1 to 11 of 11
  1. #1
    Join Date
    Dec 2012

    Amazon EC2 Support


    I have subscribe amazon EC2 for testing purpose. Everything is ok and most of normal tools to create instance.

    However, i have created Linux instance CentOS 6 x86-x64. everything is understandable and changeable. but i m stuck at the Networking point.

    My question is do i need to configure my linux instance etho which is under /etc/sysconfig/network-scripts/ifcfg-eth0

    Currently its like this


    My confusion is, normally we setup VPS static IP here and did the same and lost my instance access. i don't want to lose this instance again.

    Basic question is, how can i configure it on static IP ? amazon instance give me one 1 IP and i added additional IP for nameserver purpose. they also given me Public DNS which is like ""

    Anyone have experience please help me to understand this as their documents are not human brain friendly.


  2. #2
    Join Date
    Nov 2000
    If I remember correctly AWS EC2 instnaces by default will pull its internal IP information from DHCP server. The public IP is not set on the individual instances, a form of NAT is used as traffic cross into the public realm. To ensure you're public IP remains the same, you need to purchase an Elastic IP and assign to the instance, you do not need to set this elastic IP on the instance itself. If you do not purchase an elastic IP then if I remember correctly the public IP assigned is returned to the pool and may be reassigned elsewhere.
    MattF - Since the start... twitter / github

  3. #3
    Join Date
    May 2013
    You don't need to edit eth0 configuration. As Matt said, they use DHCP to pull server's private IP from their internal network. For public access, you have to add a elastic IP from their interface and assign to your instance ( ). Note that be very careful when you remove the particular elastic IP from your account and make sure you will not use it for any specific purposes. The elastic IP you assign will be NATed automatically to the assigned instance.

  4. #4
    Is Amazon EC2 server running when you are disconnected? I am interested into this as I want to run some tasks and later log in back to get the results.

  5. #5
    Join Date
    May 2013
    It is just like a VPS. You mean you want to fork a task from shell , then disconnect? If so, any tasks associated with the disconnected shell will be terminated until nohup is used. That is how Linux works and there is no difference with EC2 as well. if you want to run something in back ground and check the result back later, use "screen" utility. ( )

  6. #6
    Well, my tasks are not from command line, they are more graphical and running from windows programs. For example I am using World Machine, which generates surfaces, but it is running to long on my PC and additionally I want to avoid heating and ruining my PC. So I would just simply run these tasks on remote PC and come back later to get results. Is Amazon EC2 allowing this to do? This is why I need RDP, not VPS.

  7. #7
    Join Date
    May 2013
    RDP and VPS are different things. If you need RDP ( Remote Desktop Protocol ) you can run a windows VPS and run your tasks over should work as same as your desktop works.

  8. #8
    Yes, I know, but is Amazon EC2 allowing to do that? I need Windows 7 desktop running there.

  9. #9
    Join Date
    May 2013
    I am not aware anything that prevents that..because if it does, it cannot operate in public level.

  10. #10
    ok, thanks

  11. #11
    With Amazon EC2 Instance Server are running sometime you need a Dynamic ip session in Instance server

Similar Threads

  1. amazon ec2?
    By whocky in forum Dedicated Server
    Replies: 30
    Last Post: 09-27-2012, 02:20 PM
  2. Amazon EC2?
    By Steven F in forum Cloud Hosting
    Replies: 4
    Last Post: 03-14-2011, 06:30 PM
  3. Amazon S3 & Amazon EC2
    By Clone in forum Specialty Hosting and Markets
    Replies: 8
    Last Post: 06-06-2009, 03:23 AM
  4. Amazon EC2
    By txitcs in forum Web Hosting
    Replies: 7
    Last Post: 04-22-2009, 10:39 AM
  5. Amazon EC2
    By Rich in forum Programming Discussion
    Replies: 3
    Last Post: 09-05-2008, 03:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts