1.1 create ecs with security group 8501 open
need to create/ select if you have vpc setup
1.2 create adbpg with fastann enabled
=
this will take a around 10-15 mins,
get the public access endpoint:
eg:
username: aigcpostgres ,password: alibabacloud666
create a database with name: aigcpostgres
For more information about DMS, please refer to here .
add whitelist ip to 0.0.0.0/0
apt update && apt install git -y && apt install unzip -y && apt install docker-compose -y && apt install postgresql -y
git clone https://github.com/daviddhc20120601/chat-with-pdf.git && cd chat-with-pdf/
cp .devops/Dockerfile . && docker build . -t haidonggpt/front:1.0 && docker run -d -p 8501:8501 haidonggpt/front:1.0
Step 5 insert you token and start using
steps
5.2 adbpg host name:gp-gs5inp2dl746742muo-master.gpdbmaster.singapore.rds.aliyuncs.com
5.4 database name: aigcpostgres
5.5 adb pg username: aigcpostgres
5.6 adb pg password: alibabacloud666
step 6 my token and credentials are invalidated and revoked,they are just a demo purpose to show you what are they look like. Do not try to use it , it is a waste of time