Questions tagged [aws-vpc]

14 questions
5
votes
1 answer

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…
Pablo Fernandez
  • 7,438
  • 25
  • 71
  • 83
3
votes
1 answer

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
  • 31
  • 2
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…
1
vote
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?
Shahrear Bin Amin
  • 155
  • 1
  • 2
  • 8
0
votes
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…
Federico Nafria
  • 161
  • 1
  • 8
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
  • 5
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…
Unpossible
  • 249
  • 1
  • 7
  • 20
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
0
votes
1 answer

Can't connect from AWS EC2 instance to AWS SES endpoint

Disclaimer: my AWS networking skills are basic. I have an EC2 Windows server instance in a private subnet. I connect via a VPN. FOR TESTING I put it in a Security Group that allows all IPV4 TCP traffic. I turned off Windows Defender Firewall. I…
0
votes
1 answer

Seamless switch from NAT GATEWAY to VPC gateway

My team is currently burdened by the NAT Gateway costs and we would like to switch over to VPC Gateway endpoint to reduce the costs associated with all the EC2-S3 communication. at the same time, We would like to keep NAT gateway for any other…
0
votes
1 answer

How do I configure AWS EC2 instances to selectively bypass default DNS resolver in all regions?

I have a network of AWS EC2 instances. Most of them are using the default VPC's DNS resolver to prevent exfiltration and to resolve internal domains (using a custom TLD). That all works fine. However, there is one (Ubuntu) instance that needs to use…
0
votes
0 answers

Using Route 53 DNS name to communicate between ec2 instances within a single subnet

I have 3 ec2 instances in a single vpc and subnet. Each ec2 instance has an elastic ip and a route 53 domain name pointing to it. The domain name is set as the host name in Amazon Linux 2. I am able to use their host name when directly going to the…
frogg
  • 1
  • 1
0
votes
1 answer

AWS middlebox appliance routing doesn't work

I have installed and configured EC2 instance with routerOS which I want to use as main point of connection for branch networks. It has 1 interface, resides in subnet 172.20.1.0/24. Subnet 172.21.1.0/24 created within same VPC and has route tables as…