Code Monkey home page Code Monkey logo

Comments (6)

kmanuwai avatar kmanuwai commented on September 22, 2024

The definition of a private website here is that the website will only be accessible from the VPC or any client (i.e. on a VPN) that can reach the internal only Application Load Balancer that sits in front of the S3 hosted website.

So you need VPC Endpoints to be deployed for that to work. I.e. privatewebsite = true will overpower "createVpcEndpoints": false

See here for more details: https://aws-samples.github.io/aws-genai-llm-chatbot/documentation/private-chatbot.html

from aws-genai-llm-chatbot.

BryceViva avatar BryceViva commented on September 22, 2024

Is it possible to use an existing VPC endpoint?

from aws-genai-llm-chatbot.

kmanuwai avatar kmanuwai commented on September 22, 2024

You should be able to use existing VPC endpoints although I have not tested this.
If you remove the endpoints you don't want created from here:

if (
typeof props.config.vpc?.createVpcEndpoints === "undefined" ||
props.config.vpc?.createVpcEndpoints === true

Then in this part of the code, your already existing VPC endpoint should be picked up:

// Retrieving S3 Endpoint Ips for ALB Target

from aws-genai-llm-chatbot.

BryceViva avatar BryceViva commented on September 22, 2024

After removing the lines in the index.ts, do I need to provide the endpoint ID in the private-website.ts or is it going to auto pickup?

Thanks for the help

from aws-genai-llm-chatbot.

kmanuwai avatar kmanuwai commented on September 22, 2024

I believe the VPC endpoints should be used. If not some VPC network configurations may need to be updated. Check the pre-req's here: https://docs.aws.amazon.com/vpc/latest/privatelink/create-interface-endpoint.html#prerequisites-interface-endpoints

from aws-genai-llm-chatbot.

github-actions avatar github-actions commented on September 22, 2024

This issue is stale because it has been open for 60 days with no activity.

from aws-genai-llm-chatbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.