- Newest
- Most votes
- Most comments
When deploying AWS Marketplace container products on ECS Fargate in private subnets without internet access, accessing the AWS Marketplace Metering service presents a challenge since it currently doesn't support VPC Endpoints through AWS PrivateLink.
For this scenario, there are a few potential approaches:
-
Use AWS PrivateLink with existing supported services: While the AWS Marketplace Metering service itself doesn't have a dedicated VPC endpoint, you could leverage other AWS services that do support PrivateLink. Common VPC endpoints used with ECS services include Amazon ECR, S3, DynamoDB, and the ECS service itself. However, this doesn't directly solve the Marketplace Metering service access issue.
-
VPC Endpoint Service proxy solution: As you mentioned, setting up a custom VPC Endpoint Service that proxies access to the AWS Marketplace Metering service is a potential workaround. This would allow the container to communicate with the Metering service without directly accessing the public internet. However, this adds complexity to the deployment and still involves internet traffic at some point.
-
AWS PrivateLink for specific services: If your application needs to access other AWS services beyond Marketplace Metering, you could set up VPC endpoints for those specific services. This would reduce the overall need for internet access, though it doesn't solve the core issue with the Metering service.
The lack of a direct VPC endpoint for AWS Marketplace Metering service is indeed a limitation for customers who need to deploy in private subnets without internet access. Adding AWS Marketplace Metering service to the list of services integrated with AWS PrivateLink would be the most straightforward solution for this use case.
Until such support is available, the proxy approach you described might be the most viable option, despite its complexity. Alternatively, you might need to work with the customer to determine if a limited exception to their networking policies could be made specifically for the Marketplace Metering service traffic.
Sources
Community | VPC Endpoints: an alternative to NAT Gateway
Connecting to AWS services from inside your VPC - Amazon Elastic Container Service
answered a year ago
Relevant content
asked 2 years ago
- AWS OFFICIALUpdated 6 months ago
