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
asked 5 years ago266 views
3 Answers
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
answered 5 years ago
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
answered 5 years ago
0

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

DTSJ
answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions