Score:0

SSH works for ec2 Ubuntu 20 Instance. No other Outgoing/Incoming traffic is working

ng flag

I have an ec2 instance, a postgres database rds instance that share the same vpc. I recently bumped up the capacity of my ec2 instance to xlarge ec2. I setup the server like you normally would with nginx/phusion passenger. I was able to deploy changes with great succession before then. Now I receive network cannot be reached. I don't know where to look/who to ask. I've been working on this issue for 14 hours straight. How can give my ec2 instance back access to the internet (incoming/outgoing)? I cannot do apt-get package or update.

Server Type: Ubuntu 20

Culprits

VPC, Security Group, Main route table, Main network ACL, Ubuntu server network/firewall configuration, Nginx configuration

VPC Details

State: Available DNS Hostnames: Enabled DNS Resolution: Enabled Default VPC: Yes IPv4 CIDR 172.31.0.0/16

Table Route

Routes (2) 172.31.0.0/16 (target: local), Status: Active, Propagated: No 0.0.0.0/0 Explicit subnet association: - | Edge associations: -

Network ACL

Rule number: 100, Type: HTTP (80), Protocol: TCP (6), Port range: 80, Source: 0.0.0.0/0, Allow/Deny: Allow

Rule number: 101, Type: SSH (22), Protocol: TCP (6), Port range: 20, Source: 0.0.0.0/0, Allow/Deny: Allow

Rule number *, Type: All traffic, Protocol: All, Port range: All, Source: 0.0.0.0/0, Allow/Deny: Deny

EC2 Instance (Ubuntu 20 Server) Security Group Settings

security group name: dry-run-app-security-group

Inbound Rules: Port Range: 80, Protocol: TCP, Source: 0.0.0.0/0, Security Groups: dry-run-app-security-group

Port Range: 80, Protocol: TCP, Source: ::/0, Security Groups: dry-run-app-security-group

Port Range: 22, Protocol: TCP, Source: 0.0.0.0/0, Security Groups: dry-run-app-security-group

Port Range: 443, Protocol: TCP, Source: 0.0.0.0/0, Security Groups: dry-run-app-security-group

Port Range: 443, Protocol: TCP, Source: ::/0, Security Groups: dry-run-app-security-group

Outbound rules

Port Range: All, Protocol: All, Destination: 0.0.0.0/0, Security Groups: dry-run-app-security-group

Port Range: All, Protocol: All, Destination: ::/0, Security Groups: dry-run-app-security-group

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.