I created a new ubuntu instance in AWS, I can ssh connect to it successfully. However, when I try to install packages using this command, this will not work:
sudo apt-get install apache2 ... ... 0% [Connecting to ap-southeast-2.ec2.archive.ubuntu.com (91.189.91.23)]^ Cubuntu@ip-10-1-0-99 :/etc$
It never moves forward!
I tried ping google.com.au, also did not answer.
Here is the AWS VPC configuration:
Network ACL : Outbound: Rule # Type Protocol Port Range Destination Allow / Deny 100 ALL Traffic ALL ALL 0.0.0.0/0 ALLOW * ALL Traffic ALL ALL 0.0.0.0/0 DENY Inbound : Rule # Type Protocol Port Range Source Allow / Deny 10 HTTP (80) TCP (6) 80 0.0.0.0/0 ALLOW 120 HTTPS (443) TCP (6) 443 0.0.0.0/0 ALLOW 140 SSH (22) TCP (6) 22 0.0.0.0/0 ALLOW * ALL Traffic ALL ALL 0.0.0.0/0 DENY
Outbound Security Group Settings:
Type Protocol Port Range Destination ALL Traffic ALL ALL 0.0.0.0/0
Setting up the routing table:
Destination Target Status Propagated 10.1.0.0/24 local Active No 0.0.0.0/0 igw-cfe30caa Active No
What could be wrong here?
EDIT: The nslookup and dig command works great!
Thanks!
source share