Questions tagged [vpc-endpoint]
111 questions
1
vote
1 answer
can a lambda function inside a private subnet access aws services outside the vpc through vpc endpoints?
I am deploying an application where I am using a NAT gateway with a lambda inside a private subnet to talk to other AWS services outside the vpc. Everything is working fine but the NAT gateway adds alot of extra costs to the billing. I am assuming…

Hamza J
- 69
- 1
- 9
1
vote
1 answer
VPC Interface Endpoint do you need for each Subnet?
According to AWS documentation - https://docs.aws.amazon.com/vpc/latest/privatelink/vpc-endpoints.html
it has a private IP address from the IP address range of the subnet.
So if for example, there are 2 subnets for example(private1, private2) and…

nidha
- 87
- 9
1
vote
1 answer
Possible to call the aws interface endpoint in a peered vpc?
I am having two vpcs, one is a mgmt vpc with all the necessary vpc interface endpoints connecting to AWS services, and another peered vpc established peering connection with the mgmt vpc. I have tried to ssh into my instance (call it instance A) in…

tnkh
- 1,749
- 2
- 14
- 30
1
vote
0 answers
VPC endpoint unable to connect to S3 in shared AWS account
I am receiving "Could not connect to the endpoint URL: "https://s3.amazonaws.com/" from inside EC2 instance running inside private subnet
Note: We are using our corporate shared AWS account instead of Federated account for this exercise.
Here is a…

nimisha
- 31
- 6
1
vote
2 answers
AWS VPC Endpoint for S3 with Terraform - Error: multiple VPC Endpoint Services matched
I'm using aws_vpc_endpoint_service in Terraform (v0.11.14) to create an AWS VPC Endpoint for S3 on my AWS account and recently started facing the following error: Error: multiple VPC Endpoint Services matched; use additional constraints to reduce…

Abdullah Khawer
- 4,461
- 4
- 29
- 66
0
votes
0 answers
In Step Functions how to use apigateway invoke with a vpce api endpoint?
I just got the following error:
Parameters.ApiEndpoint: Invalid format.
The format is .execute-api..amazonaws.com
My vpce API is something like this: https://xxxxxxxx-vpce-000000000.execute-api.us-east-1.amazonaws.com
So I would…

Olivetz
- 3
- 2
0
votes
1 answer
The range(subnets) of VPC Endpoint affects?
I am trying to make the S3 VPC Endpoint.
In VPC Endpoint setting, it has Subnets
If I set the S3 VPC Endpoint with Subnets, only servers in these Subnet are affected?
If so, the case I don't set Subnets, whole nodes in EC2s are affected?

whitebear
- 11,200
- 24
- 114
- 237
0
votes
0 answers
TimeoutError when sending message from AWS Lambda to SQS
I have a Lambda function that consumes messages from an AWS SQS queue and when message processing fails then Lambda is supposed to send the message back to same queue with some delay.
Problem is, the attempt to send message to SQS in case of…

Farooq Hanif
- 1,779
- 1
- 15
- 22
0
votes
1 answer
Vpc peering and private link
I have 3 VPCs (A, B, C) where VPC private link is established between A<-->B, and VPC peering is established between B<-->C.
Is it possible for instances in VPC A to reach VPC C via a VPC endpoint in VPC B?

Kaustubh Gupta
- 1
- 1
0
votes
1 answer
EC2 in the VPC uses the global address even VPC endpoint is connected
I set the VPC Endpoints toecs.ap-northeast-1.amazonaws.com
then ,in the EC2 Node in this VPC, I tested.
$dig +short ecs.ap-northeast-1.amazonaws.com
52.119.220.167
It still uses the global address.
So, I try to check this Endpoint is accessible…

whitebear
- 11,200
- 24
- 114
- 237
0
votes
1 answer
CannotPullContainerError in ECR when trying to use VPC Endpoints
I have an ECS stack made with AWS CDK.
import * as cdk from 'aws-cdk-lib'
import { Construct } from 'constructs'
import * as ec2 from 'aws-cdk-lib/aws-ec2'
import * as ecs from 'aws-cdk-lib/aws-ecs'
import path = require('path')
export class…

Tobias S.
- 21,159
- 4
- 27
- 45
0
votes
1 answer
AWS Private APIGW Implementation without ALB/NLB
I have a situation where the Private Subnets are running out of IP addresses.
We are using Transit Gatweway and Direct Connect from customer on-premise.
I have created a VPC Endpoint for APIGW. There are needs to access private APIGWs (there will be…

Arunava
- 19
- 4
0
votes
0 answers
Can't create alias for VPC API Gateway endpoint in Route 53
I've created a private hosted zone within my VPC called 'execute-api.eu-west-2.amazonaws.com'. This is set up with an Alias record pointing to a VPC endpoint, which I've associated with my API.
The alias record has the name…

David Fulton
- 737
- 7
- 16
0
votes
0 answers
Can I use the VPC endpoint to connect one EC2 instance from another EC2 instance in a same VPC?
I have two EC2 instances. Which are running on the same VPC with private subnet(NAT attached). Each Instances, I am running different services which are running on the port 7060(APP1) and 8090(APP2).
If I am making the requests to APP2 from APP1. It…

S.Haridharan
- 1
- 1
0
votes
0 answers
GCP VPC Service Control with Private Service Connect
I am planning to implement VPC Service Control perimeter on my GCP project, allowing access to Google APIs. Based on documentation, I need to set up DNS records to restricted.googleapis.com with specific IP range (199.36.153.4, 199.36.153.5,…

Bostjan
- 1,455
- 3
- 14
- 22