Questions tagged [aws-vpc]

20 questions
7
votes
2 answers

In AWS, can an EC2 instance be in more than one VPC at the same time?

I think the answer is no, but I want to make sure that I'm not missing anything. Is it possible for an EC2 instance to have IP addresses in more than one VPC at the same time? I tried creating 2 VPCs, and then two network interfaces, one in each…
3
votes
2 answers

AWS NAT Instance Setup

This question was originally posted to stack overflow, they suggested I repost it here (https://stackoverflow.com/questions/76715004/aws-nat-instance-setup). I am currently learning the AWS cloud and decided to build the following architecture as a…
lobis
  • 131
2
votes
1 answer

How to get public static IP of my AWS VPC?

My services are hosted in AWS VPC. I use VPN to access my servers. For using a third party service I need to whitelist my public static IP address on their site. How can I get my public static IP address?
1
vote
1 answer

AWS Instance Connect fails, returns only 'VpcId'

I'm trying to setup EC2 Instance Connect to RDP to a Windows server. I'm running the command like so... aws ec2-instance-connect open-tunnel \ --instance-id \ --remote-port 3389 \ --local-port 33389 The command…
1
vote
0 answers

Routing outbound traffic through multiples NAT Gateways with a single static IP address

I have an ask from an external customer that is whitelisting our NAT gateways to access their systems and their vendors systems. They said some of their vendors limit the amount of IPs they can whitelist. They asked if we could provide a single IP…
1
vote
1 answer

Unexpected behavior with AWS Firewall and Default Stateful Rules

I have configured an AWS Firewall in our testing account, pretty much following the standard setup procedure as documented by AWS. From our private subnet, outbound traffic heading to the internet is directed towards the firewall subnet, where we…
1
vote
0 answers

Is it possible to use both VPC peering and Transit Gateway?

I currently have 2 VPCs with an InternetGateway each VPC1 and VPC2. I need VPC2 to use VPC1's public IP. I'd rather modify VPC1 as little as possible. There is a lot of traffic between these 2 VPCs. I know I can setup a TransitGateway between…
1
vote
0 answers

AWS client VPN can't resolve DNS server

I am swapping out a wiregaurd vpn running on an EC2 instance with a AWS client VPN so that i can use MFA with google. I have most of what i want in place, but i am stuck on setting up the VPN to use my DNS server. About my configs: Set up the CIDR…
0
votes
1 answer

AWS host connected to multiple networks cannot find route to other instance in the same public subnet within a VPC

I can't connect to public subnet (a1) on other box within the same VPC (10.0.4.0/16) from private subnets (a2 & a3) Example: ping -I ens6 10.0.4.71 doesn't reach 10.0.4.71 host. I'm looking for ideas how to fix above route (^^^ ping) ? Each box has…
bua
  • 271
0
votes
1 answer

DNS server not being used for resolution on an AWS VPC network

I have a VPC in AWS with multiple public and private subnets in different availability zones. I want to host my own DNS on this network to use single label hostnames. For example, I want to use mydatabase instead of mydatabase.company.com. I…
Tim Hirst
  • 101
0
votes
1 answer

Outbound IPv6 connection replies not routed back to firewall in VPC

In a newly-built AWS VPC (deployed with Terraform to minimise typos), I have one "DMZ" subnet and one internal. A firewall appliance bridges the two, with an interface in each. Both interfaces have IPv4 and IPv6 addresses. The IPv6 addresses are one…
0
votes
1 answer

Domain sharing to another server

We have domain that registered in a cloudflare by alb dns CNAME record and hosted in windows server as prod server. on other hand we also had an ubuntu server infront of windows server. My question is can we mask the production server ip or alb dns…
0
votes
1 answer

AWS cannot connect to any T3 instance, vpc config valid (I think)

I created a new VPC ca-central. I followed the same procedure as everywhere else: New VPC (this created acl which is wide open) three subnets, one for each availabiltiy zone, CIDR spaced out properly all subnets on routing table that routing table…
mmix
  • 141
0
votes
1 answer

Routing to custom remote destinations from VPCs through dynamic BGP VPN

I have a dynamic BGP VPN between a VPC and an on-premise site (on-premise uses vyOS router/vpn concentrator). Servers in the VPC and on-premise subnets can communicate directly through he VPN. The on-premise site has access to some remote…
0
votes
1 answer

How to Include Elastic IP on EC2 on my VPN

I am able to ping and access SSH on my EC2 using Private IPs. However I want to access the SSH using the Public IP ( elastic IP ). Is that possible? note: my VPN step up and EC2 is under 1 VPC I have already added the Public IP to VPN Authorization…
Choolo
  • 1
1
2