phpMyAdmin with AWS tools inside.
Design for connecting isolated RDS DB.
Pre-requesties
RDSwithBastion(EC2) in isolated SubnetSSMpermission for Bastion.aws/configand.aws/credentialsetup
Pulling image
docker image pull sn0wm1ku/alpine-pma:latest
Running container
docker run --name alpine-pma --env-file .env -v ~/.aws:/root/.aws -p80:80 -d sn0wm1ku/alpine-pma
AWS_PROFILEThe Name of Profile to be use with TunnelingRDS_TYPEInstance or Cluster Weather the RDS is an Instance Type (RDS) or Cluster Type (RDS Aurora)PMA_HOST/PMA_HOSTSEndpoint for RDS, since tunneling, suggest setting to 127.0.0.1PMA_VERBOSE/PMA_VERBOSESAlias for the RDS.PMA_PORT/PMA_PORTSPort for RDS.
~/.awsPlease Mount this to the/rootfolder of container.