Questions tagged [aws-security-group]

Amazon EC2 Security Groups

Amazon EC2 Security Groups for EC2. A security group acts as a virtual firewall that controls the traffic for one or more instances. When you launch an instance, you associate one or more security groups with the instance.

See Amazon EC2 Security Groups

820 questions
-1
votes
1 answer

AWS Loadbalancer is not accessible

I have a solution (AnzoGraph DB) deployed on my AWS Kubernetes Cluster (EC2 Instance), and was working totally fine. Suddenly this solution stopped and i could not access it via the DNS anymore. I tested the solution deployed on my cluster using…
-1
votes
1 answer

Putting csvdecode in security group rule terraform

I want to call csv function from variable. Here is my main.tf file of security group resource "aws_security_group" "names" { count = length(var.ams_prod_sg_list) name = var.ams_prod_sg_list[count.index].sg_name vpc_id =…
-1
votes
1 answer

Terraform add new security group to an existing security group

I have created a new security group in the Autoscaling module in terraform. I want to add this security group to an existing security group in the module Database. The security group used in the database module is already created through the…
-1
votes
1 answer

How to allow other security group on security group inbound http

I have two security group. SG-1 SG-2 I want to allow http port only security group. I try to add SG-2 on inbound http rules of SG-1. But this not working. I try to access private ip and also not working. How to add other security group on http?
devsong
  • 1
  • 3
-1
votes
2 answers

Identify overlapping IPs in AWS Security Groups

I'm hoping there is a solution for this that I just haven't been able to find in my searches, but here is my problem. I want to scan my security groups and identify any CIDRs that are overlapping. For example, if I have 1.2.3.4/32 and 1.2.3.0/24 I…
user3299633
  • 2,971
  • 3
  • 24
  • 38
-1
votes
1 answer

EC2 Security Groups Source/Destination control

I am reading the AWS Certified Solutions Architect Official Study Guide book, and I came across the following information (see attached). My question is this: does the highlighted text mean that I can control if the traffic to my EC2 can only come…
-1
votes
1 answer

Why is my AWS Security group allowing traffic?

I thought I had an understanding of AWS security groups, but this doesn't make any sense. I have a Lambda Function that is inside of my VPC. It is assigned a security group (TestLambdaSG). TestLambdaSG has inbound HTTP/HTTPS rules from IP…
-1
votes
2 answers

How to test AWS EC2 Security Group

I frequently have problem with AWS EC2 Security Group. It takes me long time to figure out what goes wrong in the setting. I am wondering is there any available tool to test the security group much easier without having to manually check in AWS.
channa ly
  • 9,479
  • 14
  • 53
  • 86
-1
votes
1 answer

Do not print the error when running the AWS commmand

I am trying to delete the security groups by running the command for i in `aws ec2 describe-security-groups --filters Name=vpc-id,Values="${vpcid}" | grep sg- | sed -E 's/^.*(igw-[a-z0-9]+).*$/\1/'`; do aws ec2 delete-security-group --group-id $i;…
Akira
  • 273
  • 5
  • 15
-1
votes
1 answer

Converting unicode to string with " "

I'm currently working on a script for deleting aws resources using aws cli and python. As a part of my script, I have to delete the rules of a security group. The approach that I have taken is I execute the describe-security-groups command and I am…
Arya Shah
  • 1
  • 2
-1
votes
1 answer

Kubernetes pod level restricted access to other EC2 instances from AWS EKS nodes

I had a Elastic search DB running on a EC2 instance. Backend services which connect to Elastic DB are running on AWS EKS nodes. In order for the backend kubernetes pods to access Elastic DB, i added allowed security groups to EKS nodes and it is…
-1
votes
1 answer

EC2 instance unable to reach itself via hostname

I have created an EC2 instance behind an ELB and the hostname is mysubdomain.domain.com The instance is reachable via the internet from my local workstation (have opened all connections from My IP --> to the instance in the security group it…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
-1
votes
1 answer

How to open port 11211 for EC2 instance by security group

May I know how to open port 11211 for EC2 instance memcached server? I'm trying to connect from Rails server to memcached server. However something is wrong with my security group setting. What I did so far is To launch 2 instances. One is Rails…
coffee man
  • 81
  • 2
  • 6
-1
votes
1 answer

Cannot access opened port in AWS from outside

I have developed an Angular 4 app inside my AWS instance. instance base image is windows. my Angular app runs on port 7000 inside the AWS instance. then I opened the port 7000 from security group using AWS Console and with the firewall using AWS…
Jobs
  • 269
  • 2
  • 6
  • 21
-1
votes
1 answer

Network connection timed out in AWS

Intermittent getting ssh/network connection error even though credentials/ssh key and security group/firewall settings was correct. SSH Error: ssh: connect to host 10.0.X.x port 22: Connection timed out while connecting to 10.0.X.X:22
Ryan
  • 3,085
  • 5
  • 27
  • 31
1 2 3
54
55