Infra Tooling
During deployment, you can choose to enable "tooling" in dev stage. If you choose to deploy it, the following constructs will be created:
- Sagemaker Studio
- PgAdmin
PgAdmin
PgAdmin construct will enable you to browse the RDS cluster with PgAdmin.
How to access
Note: By default, in CDK we do NOT add any public access to PgAdmin. In order to access it from your computer, you need to enable access to it.
Note: All necessary information is recorded in the
Outputstab ofDev-Galileo-ToolingNestedStackstack in theCloudFormationservice page in your AWS Console.
1. Enable access through PgAdmin Security Group
- Copy the
PgAdminSecurityGroupSecurityGroupId - Open
Security Groupsin your AWS Console (EC2service >Security Groupsmenu) - Edit the Security Group's
Inbound Rules:- Click
Edit inbound rulesbutton - Click
Add rulebutton - Fill out
Type=HTTP,IP=<your IP address/VPN CIDR block>,Description=Temporary PgAdmin access - Example:
1.2.3.4/32- replace with your IP address1.2.3.4/24- replace with your VPN CIDR block- Click
Save rules
- Click
2. Acquire credentials for PgAdmin
- Email: the Administrator Email you provided during deployment
- Password: a new
Secrethas been created, which you can retrieve- In
Secrets Manager, openPgAdminPasssecret - Click
Retrieve secret valuebutton and copy the password
- In
- URL: Open the website from
CloudFormation'sPgAdminALBDomainoutput - Login to PgAdmin with the credentials
3. Access the database
For all credentials needed to open a connection to your vector store, use the Secret called VectorStoreClusterSecret in your Secrets Manager AWS Console page.
- Name: e.g.:
MyVectorStore - Host name/address: secret >
host - Port: secret >
port - Username: secret >
username - Password: secret >
password - Save the connection and connect.