Each account has a unique AWS account ID number, which consists of 12 digits and looks like: 12345678-9012. Each account also has an assigned canonical user ID, which is a string containing 64 alphanumeric characters.
The AWS account number is used to share the objects between different accounts. For example if you want to grant access to your virtual machine image to someone else, you'll have to know that person's AWS account ID. This ID is used across all AWS services except the S3.
The canonical user ID is used only in the S3 service. Similar to the AWS account ID, its primary purpose is access control.
You can access this information by going to http: //aws. amazon. com/account/, clicking "Security credentials", and scrolling right to the bottom of the web page. The section containing the required information is called Account Identifiers.
Was this article helpful?