import{s as We,n as Ie,o as qe}from"../chunks/scheduler.a045fce0.js";import{S as Re,i as je,e as s,s as a,c,h as Ue,a as r,d as n,b as o,f as Ae,g as u,j as l,k as Ve,l as ze,m as i,n as m,t as h,o as f,p as d}from"../chunks/index.c7f31426.js";import{H as U,E as De}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8ed610dd.js";function Ge(ve){let p,G,z,N,v,O,g,ge=`AWS PrivateLink enables you to privately connect your VPC to your Inference Endpoints, without exposing your traffic to the public
internet. It uses private IP addresses to route traffic between your VPC and the service, ensuring that data never traverses the
public internet, providing enhanced security and compliance benefits.`,B,$,$e=`To create a Private Endpoint, you’ll need to connect the AWS Account using the account ID. The following guide will walk you
through how to set it up.`,F,C,J,w,K,P,Ce=`Choose the “Private” option to ensure the endpoint is only available through an intra-region secured AWS PrivateLink connection.
Enable PrivateLink sharing if you want the PrivateLink to be shared between several endpoints.
This connects one or more endpoints to the same VPC Endpoint.`,Q,_,we='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/6_private_type.png" alt="select private link"/>',X,y,Y,x,Pe="After providing your AWS Account ID and any other required information, click Create Endpoint. The endpoint creation process will begin.",Z,b,_e='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/6_2_endpoint_creation.png" alt="creation process"/>',ee,T,ye=`After a few minutes, the endpoint will be created, and you will see the VPC Service Name in the overview. This name is necessary for
creating the VPC Interface Endpoint in your AWS account.`,te,L,xe='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/6_3_vpc_ready.png" alt="vpc service name"/>',ne,k,ie,E,be=`Go to your AWS <a href="https://console.aws.amazon.com/vpc/home?#Endpoints" rel="nofollow">console</a> and navigate to the VPC section to create the VPC Interface
Endpoint. Select “Other endpoint services” and enter the VPC Service Name provided earlier.`,ae,S,Te='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/6_4_add_private_link.png" alt="add private link"/>',oe,M,Le=`Verify the service name to ensure the connection is correct. Choose the VPC and subnets you wish to use for this endpoint. Make sure
they align with your security requirements.`,se,H,ke='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/6_5_add_vpc.png" alt="vpc endpoint"/>',re,A,le,V,Ee=`After the VPC Endpoint status changes from pending to available, you should see an Endpoint URL in the overview. This URL can now
be used inside your VPC to access your endpoint in a secure and protected way, ensuring traffic is only occurring between the two
endpoints and will never leave AWS.`,pe,W,Se='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/6_6_running_endpoint.png" alt="endpoint running"/>',ce,I,ue,q,Me=`If you have enabled the PrivateLink sharing option, you can now create additional endpoints that share the same VPC Endpoint. This
allows you to connect multiple endpoints to the same VPC Endpoint.`,me,R,He='<img src="https://raw.githubusercontent.com/huggingface/hf-endpoints-documentation/main/assets/6_7_private_service_tooltip.png" alt="shared private link"/>',he,j,fe,D,de;return v=new U({props:{title:"Create a Private Endpoint with AWS PrivateLink",local:"create-a-private-endpoint-with-aws-privatelink",headingTag:"h1"}}),C=new U({props:{title:"Configuring the AWS Private Link",local:"configuring-the-aws-private-link",headingTag:"h2"}}),w=new U({props:{title:"1. Select Private Endpoint Security Level",local:"1-select-private-endpoint-security-level",headingTag:"h3"}}),y=new U({props:{title:"2. Create the Endpoint",local:"2-create-the-endpoint",headingTag:"h3"}}),k=new U({props:{title:"3. Connect your VPC to your Interface Endpoint",local:"3-connect-your-vpc-to-your-interface-endpoint",headingTag:"h3"}}),A=new U({props:{title:"4. Ready to Connect",local:"4-ready-to-connect",headingTag:"h3"}}),I=new U({props:{title:"Shared Private Services",local:"shared-private-services",headingTag:"h2"}}),j=new De({props:{source:"https://github.com/huggingface/hf-endpoints-documentation/blob/main/docs/source/guides/private_link.md"}}),{c(){p=s("meta"),G=a(),z=s("p"),N=a(),c(v.$$.fragment),O=a(),g=s("p"),g.textContent=ge,B=a(),$=s("p"),$.textContent=$e,F=a(),c(C.$$.fragment),J=a(),c(w.$$.fragment),K=a(),P=s("p"),P.textContent=Ce,Q=a(),_=s("p"),_.innerHTML=we,X=a(),c(y.$$.fragment),Y=a(),x=s("p"),x.textContent=Pe,Z=a(),b=s("p"),b.innerHTML=_e,ee=a(),T=s("p"),T.textContent=ye,te=a(),L=s("p"),L.innerHTML=xe,ne=a(),c(k.$$.fragment),ie=a(),E=s("p"),E.innerHTML=be,ae=a(),S=s("p"),S.innerHTML=Te,oe=a(),M=s("p"),M.textContent=Le,se=a(),H=s("p"),H.innerHTML=ke,re=a(),c(A.$$.fragment),le=a(),V=s("p"),V.textContent=Ee,pe=a(),W=s("p"),W.innerHTML=Se,ce=a(),c(I.$$.fragment),ue=a(),q=s("p"),q.textContent=Me,me=a(),R=s("p"),R.innerHTML=He,he=a(),c(j.$$.fragment),fe=a(),D=s("p"),this.h()},l(e){const t=Ue("svelte-u9bgzb",document.head);p=r(t,"META",{name:!0,content:!0}),t.forEach(n),G=o(e),z=r(e,"P",{}),Ae(z).forEach(n),N=o(e),u(v.$$.fragment,e),O=o(e),g=r(e,"P",{"data-svelte-h":!0}),l(g)!=="svelte-1qcrs7j"&&(g.textContent=ge),B=o(e),$=r(e,"P",{"data-svelte-h":!0}),l($)!=="svelte-1cs38en"&&($.textContent=$e),F=o(e),u(C.$$.fragment,e),J=o(e),u(w.$$.fragment,e),K=o(e),P=r(e,"P",{"data-svelte-h":!0}),l(P)!=="svelte-l0rs6d"&&(P.textContent=Ce),Q=o(e),_=r(e,"P",{"data-svelte-h":!0}),l(_)!=="svelte-paovs7"&&(_.innerHTML=we),X=o(e),u(y.$$.fragment,e),Y=o(e),x=r(e,"P",{"data-svelte-h":!0}),l(x)!=="svelte-pni4rq"&&(x.textContent=Pe),Z=o(e),b=r(e,"P",{"data-svelte-h":!0}),l(b)!=="svelte-em1fkm"&&(b.innerHTML=_e),ee=o(e),T=r(e,"P",{"data-svelte-h":!0}),l(T)!=="svelte-18ow0or"&&(T.textContent=ye),te=o(e),L=r(e,"P",{"data-svelte-h":!0}),l(L)!=="svelte-wr1qe4"&&(L.innerHTML=xe),ne=o(e),u(k.$$.fragment,e),ie=o(e),E=r(e,"P",{"data-svelte-h":!0}),l(E)!=="svelte-1t5q07m"&&(E.innerHTML=be),ae=o(e),S=r(e,"P",{"data-svelte-h":!0}),l(S)!=="svelte-1cek4vb"&&(S.innerHTML=Te),oe=o(e),M=r(e,"P",{"data-svelte-h":!0}),l(M)!=="svelte-1i5yh77"&&(M.textContent=Le),se=o(e),H=r(e,"P",{"data-svelte-h":!0}),l(H)!=="svelte-1win90d"&&(H.innerHTML=ke),re=o(e),u(A.$$.fragment,e),le=o(e),V=r(e,"P",{"data-svelte-h":!0}),l(V)!=="svelte-vkc6rd"&&(V.textContent=Ee),pe=o(e),W=r(e,"P",{"data-svelte-h":!0}),l(W)!=="svelte-19i8gjy"&&(W.innerHTML=Se),ce=o(e),u(I.$$.fragment,e),ue=o(e),q=r(e,"P",{"data-svelte-h":!0}),l(q)!=="svelte-7clqqb"&&(q.textContent=Me),me=o(e),R=r(e,"P",{"data-svelte-h":!0}),l(R)!=="svelte-1fgk5o5"&&(R.innerHTML=He),he=o(e),u(j.$$.fragment,e),fe=o(e),D=r(e,"P",{}),Ae(D).forEach(n),this.h()},h(){Ve(p,"name","hf:doc:metadata"),Ve(p,"content",Ne)},m(e,t){ze(document.head,p),i(e,G,t),i(e,z,t),i(e,N,t),m(v,e,t),i(e,O,t),i(e,g,t),i(e,B,t),i(e,$,t),i(e,F,t),m(C,e,t),i(e,J,t),m(w,e,t),i(e,K,t),i(e,P,t),i(e,Q,t),i(e,_,t),i(e,X,t),m(y,e,t),i(e,Y,t),i(e,x,t),i(e,Z,t),i(e,b,t),i(e,ee,t),i(e,T,t),i(e,te,t),i(e,L,t),i(e,ne,t),m(k,e,t),i(e,ie,t),i(e,E,t),i(e,ae,t),i(e,S,t),i(e,oe,t),i(e,M,t),i(e,se,t),i(e,H,t),i(e,re,t),m(A,e,t),i(e,le,t),i(e,V,t),i(e,pe,t),i(e,W,t),i(e,ce,t),m(I,e,t),i(e,ue,t),i(e,q,t),i(e,me,t),i(e,R,t),i(e,he,t),m(j,e,t),i(e,fe,t),i(e,D,t),de=!0},p:Ie,i(e){de||(h(v.$$.fragment,e),h(C.$$.fragment,e),h(w.$$.fragment,e),h(y.$$.fragment,e),h(k.$$.fragment,e),h(A.$$.fragment,e),h(I.$$.fragment,e),h(j.$$.fragment,e),de=!0)},o(e){f(v.$$.fragment,e),f(C.$$.fragment,e),f(w.$$.fragment,e),f(y.$$.fragment,e),f(k.$$.fragment,e),f(A.$$.fragment,e),f(I.$$.fragment,e),f(j.$$.fragment,e),de=!1},d(e){e&&(n(G),n(z),n(N),n(O),n(g),n(B),n($),n(F),n(J),n(K),n(P),n(Q),n(_),n(X),n(Y),n(x),n(Z),n(b),n(ee),n(T),n(te),n(L),n(ne),n(ie),n(E),n(ae),n(S),n(oe),n(M),n(se),n(H),n(re),n(le),n(V),n(pe),n(W),n(ce),n(ue),n(q),n(me),n(R),n(he),n(fe),n(D)),n(p),d(v,e),d(C,e),d(w,e),d(y,e),d(k,e),d(A,e),d(I,e),d(j,e)}}}const Ne='{"title":"Create a Private Endpoint with AWS PrivateLink","local":"create-a-private-endpoint-with-aws-privatelink","sections":[{"title":"Configuring the AWS Private Link","local":"configuring-the-aws-private-link","sections":[{"title":"1. Select Private Endpoint Security Level","local":"1-select-private-endpoint-security-level","sections":[],"depth":3},{"title":"2. Create the Endpoint","local":"2-create-the-endpoint","sections":[],"depth":3},{"title":"3. Connect your VPC to your Interface Endpoint","local":"3-connect-your-vpc-to-your-interface-endpoint","sections":[],"depth":3},{"title":"4. Ready to Connect","local":"4-ready-to-connect","sections":[],"depth":3}],"depth":2},{"title":"Shared Private Services","local":"shared-private-services","sections":[],"depth":2}],"depth":1}';function Oe(ve){return qe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ke extends Re{constructor(p){super(),je(this,p,Oe,Ge,We,{})}}export{Ke as component};
