In the amazon EC2 instance, i have set the set the inbound/outbound of security group to MY-IP address.
When i try to install the mysql client or some other software, its saying connection timeout.
But when i make the inbound/outbound to anywhere ie 0.0.0.0/00, then i am able to install the software.
But i don't want to expose the EC2 instance requests to everyone.
How to connect to Internet and install the software with restricted security groups. Please can u help out on this.
To be able to access Internet freely, you should allow outgoing network traffic.
To do so, create an outbound rule
for all traffic
to 0.0.0.0/0
in your EC2 Security Group. This is a default setting with EC2 and it shouldn't be a security concern.
In Security group, Set the outbound traffic to the below
Protocol Port Range Source
All Traffic All All 0.0.0.0/0
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.