Questions tagged [amazon-vpc]
Amazon Virtual Private Cloud (Amazon VPC) lets you provision a logically isolated section of the Amazon Web Services (AWS) Cloud where you can launch AWS resources in a virtual network that you define
756
questions
1
vote
1
answer
972
views
Will aws s3 be still accessible using pre-signed urls if we create a vpc endpoint gateway?
I have a need to add a vpc endpoint for s3 so i can access it on lambda, but when i try to create the endpoint I get a warning
Warning
When you use an endpoint, the source IP addresses from your ...
0
votes
2
answers
2k
views
Selecting subnets for a Service in Fargate
As we can see in the picture above, I can select as many subnets as I want. Does it mean, the tasks in the service are created across these two subnets?
Suppose I have one task running, in which ...
0
votes
1
answer
129
views
EC2 Instance connection to an RDS instance accessible only via VPN
I have a Laravel application (API) that I am trying to move to AWS, however, the DB sits privately in AWS and is only accessible to me through a VPN.
The database is an RDS instance.
How can I provide ...
0
votes
2
answers
778
views
Can the IPv4 CIDRs of the VPC and subnets within be different? (Or they should be within that range)?
Say for example I have set 172.31.0.0/16 for the VPC, can I have 172.31.1.0/24 for a subnet within this VPC?
0
votes
0
answers
299
views
AWS DNS alias for VPC local resources
I'd like to be able to provide a resource SRV that lives in two different VPCs. So I'd give them DNS names srv.vpc1.corp.com and srv.vpc2.corp.com.
What I'm trying to figure out is if I can provision ...
0
votes
1
answer
1k
views
restoring a DB snapshot to a different zone
I'd like to restore a snapshot from a DB instance in one region to a DB instance in another region.
I can copy the DB identifier but in the Connectivity section I only have two options for "...
0
votes
1
answer
189
views
Aws Private Network Port Forwarding
I have 2 subnets, one private and one public. I need to renew the certificate by using letsencrypt on the private subnet. I’m able to do this by creating an instance in public and routing (dns, ...
0
votes
1
answer
244
views
How to set a public LB route to a proxy on AWS?
I built this traffic route in a VPC.
Route53->ACM(SSL)->Public ALB->EC2(Nginx proxy)->Private ALB->ECS(Internal App)
The EC2's security group is allowing tcp 80 and 443. The ECS' ...
1
vote
0
answers
176
views
AWS VPC CIDRs in both 10.0.0.0/8 and 192.168.0.0/16
I have VPC A with CIDR 10.A.0.0/16 and VPC B with CIDR 10.B.0.0/16. I have VPC A and B peered and updated the route tables and from a server in 10.B.0.0/16 can ping a server in 10.A.0.0/16 and vice ...
1
vote
1
answer
636
views
AWS Network Firewall - How to log the blocked connections
Question
Is there a way to log the connections blocked by the AWS Network Firewall, or filter the logs of blocked connections?
Background
Currently having setup the rules, and would like to know which ...
0
votes
1
answer
64
views
How to configure VPC and subnet for EC2 Database accessible privately
I have an EC2 Postgres Database (not standard AWS RDS, but based on my own configured AMI)
I have a load balancer, auto scaling group with 4 max servers in each AZ (us-west-2)
My load balancer is ...
1
vote
1
answer
1k
views
AWS - Can a Private Subnet reach the Internet only with NAT without Internet Gateway
Question
It is possible to access the Internet from a private subnet only with NAT without an Internet Gateway associate with its VPC?
Background
VPC with public and private subnets (NAT) says below. ...
0
votes
1
answer
558
views
Cannot SSH on My EC2 Instance
My last activity was I accidentically edited permission on my ec2 instace
I was trying to add permission 775 on my project's directory called storage
command like this
sudo chmod -R 775 storage
But ...
2
votes
2
answers
530
views
AWS VPC Internet Gateway traffic direction
I know how to connect to an EC2 instance by following https://aws.amazon.com/premiumsupport/knowledge-center/vpc-connect-instance/
I want to ask is there any traffic direction concept in AWS VPC ...
0
votes
1
answer
583
views
Lambda with VPC long cold start
I have few lambda functions that are connecting to Mongo Atlas cluster. Connection between Mongo Atlas and my AWS account is done via VPC Peering. Lambda functions are attached to this VPC.
I'm ...