After configuring an AWS S3 session recording mount on a PAM AMI an error is received “PAM-CM-0473 = Mounted directory is not writable" while working from office location. Trying to mount the same S3 bucket to session recording on a remote network (VPN) everything works fine. Able to record and view session recordings.
Communication was being blocked by AWS security because network proxy IP addresses were not added to the whitelist.
The proxy IP should be added to the AWS security group whitelist where the S3 bucket is located.