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
질문됨 5년 전275회 조회
3개 답변
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
답변함 5년 전
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
답변함 5년 전
0

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

DTSJ
답변함 5년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠