L
L
Leo2014-12-19 13:26:23
Amazon Web Services
Leo, 2014-12-19 13:26:23

How to set up internet on Amazon Ec2?

Connected Elastic IP, configured inbound/outbound, Internet gatewayes.
But still, it's impossible to ping Google from the instance. Apparently he did something wrong. Is there any detailed instruction for setting up access to the Internet for ec2? Preferably the one you used, and you succeeded.
Thank you!
UPD:
I did everything according to the instructions - docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC...

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Benkovsky, 2014-12-19
@benbor

How are you pinging? Recently experienced a similar problem.
ping google.com did not work, but ping 8.8.8.8 (this is the ip address of the Google dns server) worked.
If so, then askubuntu.com/questions/130452/how-do-i-add-a-dns-...
In short, add the line to the /etc/resolv.conf file nameserver 8.8.8.8

P
Puma Thailand, 2014-12-19
@opium

there is no need to configure anything at all after connecting the elastic ip, just re-create the instance and add the elastic ip to it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question