Linux Shout published a tutorial about installing Postgresql 13 on AWS Ec2 Amazon linux 2.
Install Postgresql 13 on AWS Ec2 Amazon linux 2
Learn the commands to install PostgreSQL (PSQL) Database server & client on Amazon Linux 2 running on Ec2 Instance cloud server

Install Postgresql 13 on AWS Ec2 Amazon linux 2