Pre-requesties
RDS
withBastion
(EC2) in isolated SubnetSSM
permission for Bastion.aws/config
and.aws/credential
setup
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_PROFILE
The Name of Profile to be use with TunnelingRDS_TYPE
Instance or Cluster Weather the RDS is an Instance Type (RDS) or Cluster Type (RDS Aurora)PMA_HOST
/PMA_HOSTS
Endpoint for RDS, since tunneling, suggest setting to 127.0.0.1PMA_VERBOSE
/PMA_VERBOSES
Alias for the RDS.PMA_PORT
/PMA_PORTS
Port for RDS.
~/.aws
Please Mount this to the/root
folder of container.