Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sagemaker endpoint(with VPC) url accessible from internet

I have created a model with VPC, Private subnet, and appropriate security group. The endpoint URL can, however, be reached through the internet though failing due to the lack of security token

Things I need clarification on now are

  1. Is there a way to avoid the URL being accessible from the internet
  2. Are we not charged for requests failed on AUTH(like for API Gateway)
  3. Does that make our deployment vulnerable to any attacks
like image 705
Somasundaram Sekar Avatar asked Oct 27 '25 07:10

Somasundaram Sekar


1 Answers

You are not hitting your endpoint, but the endpoint of AWS SageMaker runtime. This endpoint is checking all the permissions to access your hosted model, and only if the credentials and requirements are met, the request is forwarded to your instances and models.

Therefore, you can't prevent this URL from being accessible from the Internet, but at the same time, you don't need to protect it or pay for it. AWS has a high level of security on these endpoints, and I don't think that you have a more secure way to protect these endpoints.

like image 124
Guy Avatar answered Oct 28 '25 21:10

Guy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!