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
-2
votes
1 answer

RDS database is not showing on EC2 instance

I have a RDS databse with status as Running however it is now showing in my EC2 Security Groups. The only instances showing are: default VPC security group Securtiy Group for Elastic Beanstalk Elastic Beanstalk created security group Why is the…
-2
votes
1 answer

Security Groups for ECS Clusters and Load Balancers (AWS Cert Exam Question)

A retail website is deployed on a ECS cluster - in a private subnet - behind ELB Application Load Balancer(ALB). What is the best method to ensure that the requests to ECS cluster are coming from ALB only? A. Configure the inbound rule of ECS…
-2
votes
1 answer

how to apply security groups to aws_elasticache_replication_group

My terraform script is as follow: eveything in VPC resource "aws_security_group" "cacheSecurityGroup" { name = "${var.devname}-${var.namespace}-${var.stage}-RedisCache-SecurityGroup" vpc_id = var.vpc.vpc_id tags = var.default_tags …
-2
votes
1 answer

Telnet works from one network but doesn't work's from another when trying to connect EC2 instance on port 3306

I'm running MySQL server on an EC2 instance on AWS. I've configured security groups to listen at port 3306 and port 22(ssh only from my ip!). But to my surprise, I wasn't able to remotely connect to my ec2 instance on port 3306 from one of my…
-2
votes
1 answer

How to fetch instance security group name dynamically via Boto3

I made image of source instance and now i had to clone new instance, Thus i hardcoded the security group name of source instance in target instance creation. now I want it to be dynamically. Below is my code: ec2 =…
-3
votes
2 answers

putting security group ids of a vpc in a list using terraform

While trying to create vpc endpoint , i have to dynamically create the security groups within the vpc and then attach it to the vpc endpoints in the same terraform plan . Is there a way I can put all the security group ids of a VPC in a list using…
jayendra bhatt
  • 1,337
  • 2
  • 19
  • 41
-3
votes
2 answers

whats my ip in google gives me my Ip. If I put that as a inbound rule in a AWS RDS Security group, will that allow access to my computer only

I code, this networking stuff is hard. I want it where I can run django migrations from my laptop to a aws RDS instance. I type whats my ip in google I get my ip. now if I put that IP address directly as it is. example: 127.0.0.1 in an inbound rule…
user14150478
-3
votes
1 answer

Why AWS have two levels of firewall NACL and sg's

I have a small doubt. Why does AWS have two levels of firewall Nacl and security groups. While we see in GCP and Azure we are having only one level of firewall. Isn't only Nacl enough in AWS? Can anyone explain what can be the reason why AWS have…
-3
votes
1 answer

Cloud vendor neutral solution for Security Groups/Firewall rules etc.?

When an application is deployed in cloud, it needs to set Security Groups/Firewall rules, an application can be written to deploy to any cloud vendor. But how about SecurityGroups/Firewall rules? Application must use firewall rules, but usage leads…
-3
votes
1 answer

AWS, need to assign one specific security group to one RDS DB

I created 3 DB instances in RDS (one Postgres, one MySQL, one SQL Server). I was able to attach to and work with all 3 from my Mac at home, so all the pieces seem to be in place and working. I created 3 security groups (VPC), one for each DB... …
daveg
  • 1,051
  • 11
  • 24
1 2 3
54
55