Questions tagged [aws-vpc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
2 answers
7k views

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, ...
Pablo Fernandez's user avatar
3 votes
1 answer
590 views

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 ...
lobis's user avatar
  • 31
1 vote
1 answer
2k views

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 ...
Shahrear Bin Amin's user avatar
1 vote
0 answers
89 views

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. ...
Federico Nafria's user avatar
1 vote
0 answers
630 views

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 ...
nemisis enforcer's user avatar
0 votes
1 answer
519 views

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 ...
Matthew Allen's user avatar
0 votes
0 answers
17 views

How to specify Security Group when creating VPC in AWS web console UI

I created a security group and then wanted to create a VPC and specify this VPC to use this existing security group. I couldn't find an option in AWS' current VPC form to specify the security group. ...
AJP's user avatar
  • 143
0 votes
0 answers
127 views

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 ...
Thomas Langston's user avatar
0 votes
1 answer
48 views

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 ...
Praveen Sivakumar's user avatar
0 votes
1 answer
82 views

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 ...
mmix's user avatar
  • 141
0 votes
1 answer
96 views

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 ...
Choolo's user avatar
  • 1
0 votes
1 answer
361 views

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 ...
santhu's user avatar
  • 1
0 votes
1 answer
400 views

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, ...
vomitHatSteve's user avatar
0 votes
0 answers
383 views

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 ...
frogg's user avatar
  • 1
0 votes
1 answer
240 views

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/...
Pascal_tgn's user avatar
0 votes
1 answer
39 views

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-...
Unpossible's user avatar