How to get the account id of your AWS account

Logon from the AWS Management Console.

Expand the dropdown next to your username on the right top corner.

You will find the account ID next to ‘My Account’ in the dropdown menu.

See also  How to Refresh a Materialized View in Redshift