aws-security-group Questions

4

Solved

I was wanting to write a complete CloudFormation template for a single Linux EC2 Instance in a public subnet. I used AWS CloudFormation template for creating an EC2 Instance with a Security Group a...
Macdonald asked 19/6, 2019 at 21:28

2

Solved

I found a security group with all traffic allowed from 0.0.0.0 and I want to know all the resources that are using this security group. Is there any AWS CLI command for this or should I go through ...
Marienbad asked 10/4, 2023 at 10:38

8

Solved

I was able to install CLI on windows 16 AWS instance. when I try "aws ec2 describe-instances" CLI command, I get the following error CLI command "describe-instances" throw error "An error occurred...
Warren asked 11/5, 2017 at 22:54

2

Solved

What can I do here? I am getting this error: Type '{ instanceType: ec2.InstanceType; securityGroup: ec2.SecurityGroup; vpc: ec2.IVpc; vpcSubnets: { subnetName: string; }; }' is not assignable to ty...

4

Solved

I'm trying to make a login HTTP request from the frontend (Angular app) to AWS EC2 instance but it ends up with (ERR_CONNECTION_REFUSED) error. This would be probably a security group policy issue ...
Cocteau asked 24/6, 2021 at 11:12

6

Solved

In AWS EC2, I start a Classical Load Balancer in front of EC2 instance (security group of EC2 instance is launch-wizard-3). I want to change the inbound rule of Security Group of EC2 instance . A s...

4

I have an AWS CDK stack with a lambda function that needs to insert into an RDS database. When the stack is deployed, the lambda function cannot access the database and gives an error: getaddrinfo ...
Incoordinate asked 17/3, 2020 at 16:55

4

my application has ELB, NGNIX and ECS in the web component layer and I am grouping all of them in to one security group and there is internal communication between ELB, NGNIX and ECS. I wanted to c...
Snowball asked 27/7, 2018 at 20:49

28

I have an EC2 instance running in AWS. When I try to ping from my local box it is not available. How can I make the instance pingable?
Shing asked 24/2, 2014 at 7:48

5

Solved

I have a shell script which adds my public ip to the specified ec2-security-group. I've gone through some AWS docs and can't find which Apis to use to update existing IP address instead of simply a...
Energetic asked 26/6, 2020 at 10:6

6

Solved

I am trying to connect to RDS Database from an AWS Lambda (Java). Which IP should I enable from the RDS Security group rules?
Dictionary asked 4/5, 2016 at 14:26

5

Solved

I saw this today and it seemed odd. In one region I have no VPC, but I apparently have a default security group that can't be deleted because "This is a default security group. Default securit...
Areta asked 23/10, 2020 at 19:16

5

Solved

I have a site built on NodeJS, which I am currently trying to deploy on the free tier on AWS. So far I have created an instance, launched it, I can connect via SSH (console) to my instance, and ha...

5

I'm using the AWS CLI and I want to get the ID of security group whose name I know (kingkajou_sg). How can I do it? When I ask it to list all the security groups, it does so happily: $ aws ec2 de...
Vonnievonny asked 12/8, 2018 at 23:59

5

Solved

When doing a deployment with Elastic Beanstalk, we got the following error: ERROR: Configuration validation exception: Invalid option value: 'sg-fdd33e89' (Namespace: 'aws:autoscaling:launchconfig...

2

Solved

I have several IP's and I want add access from exactly those IP's to some security groups. Is there way to declare the IP's once and reuse them in security groups instead of declare those IP's on e...
Indorse asked 4/6, 2017 at 17:26

2

I am defining a cloudformation stack where the security group should allow ingress traffic from specified IP addresses. I have defined these IP addresses as mapping and they will grow in future whe...

1

Scenario 1: I created an Inbound HTTP rule for all traffic. I then created an outbound rule for HTTP only for a specific IP (not mine). I was still able to see the http content. So does this mean t...
Soudan asked 15/8, 2021 at 13:46

6

Solved

Refering to AWS Cloudfront Documentation, AWS API Gateway supports TLS v1.0, v1.1, v1.2. But I want to limit the encryption protocols to TLS v1.1 and v1.2 for my Gateway API. Where do I configure ...

3

Solved

Is there an alternative to AWS's security groups in the Google Cloud Platform? Following is the situation which I have: A Basic Node.js server running in Cloud Run as a docker image. A Postgres SQ...

6

Solved

I am trying to setup EFS and access it using EC2 instances in different availability zones. I have created a separate security group for EFS, which allows traffic for the security group attached to...
Schappe asked 3/8, 2020 at 14:53

5

Solved

In security group, every inbound port I add, two rules are added, one for 0.0.0.0/0, the other ::/0. What do they each mean?
Escurial asked 29/5, 2017 at 3:55

3

Solved

For management-related reasons, I need the Public Accessibility option set to "No" for the RDS. However, we're also looking into being able to access the RDS from our local devices. The only way w...
Marcellusmarcelo asked 23/4, 2019 at 7:20

3

Solved

From the doc: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html#security-group-rules Source or destination: The source (inbound rules) or destination (outbound rules) ...
Digestant asked 31/7, 2017 at 13:10

2

Solved

I am using the following egress rule in a security group definition of a cloudformation template SecurityGroupEgress: - IpProtocol: tcp FromPort: 0 ToPort: 65535 CidrIp: 0.0.0.0/0 However t...

© 2022 - 2025 — McMap. All rights reserved.