Unable to SSH, http, or https to an instance

0

We have configured a floating IP, private IP, SG for the instance, and nacl for the subnet the instance is on but can't reach instance i-0788694f5dec6b823. We originally had a default public IP assigned and changed it to a floating IP as part of our troubleshooting.

We have nacl similar to https://docs.aws.amazon.com/vpc/latest/userguide/vpc-network-acls.html#default-network-acl

DTSJ
gefragt vor 5 Jahren274 Aufrufe
3 Antworten
0

Hello
your floating ip is an elastic ip?
the instance is on a vpc that has an internet gateway and has the right SG and routing tables?

hope this helps
RT

rtt
beantwortet vor 5 Jahren
0

Hi,
The floating is an elastic. We can now SSH which means routing is ok. But, we are using the CIS Centos image and are having trouble with any other protocol, http/https/.

 sestatus  
SELinux status:                 enabled  
SELinuxfs mount:                /sys/fs/selinux  
SELinux root directory:         /etc/selinux  
Loaded policy name:             targeted  
Current mode:                   enforcing  
Mode from config file:          enforcing  
Policy MLS status:              enabled  
Policy deny_unknown status:     allowed  
Max kernel policy version:      31  
  
sudo setsebool httpd_can_network_connect on -P  
  
This usually works for SE linux to let NGINX serve up content.
DTSJ
beantwortet vor 5 Jahren
0

Thank you for taking the time to share this. This was right up the alley with what we needed.

DTSJ
beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen