Are containers billed off of the maximum allocated resources of the instance type, or the actual use

Are containers billed off of the maximum allocated resources of the instance type, or the actual used resources of the container? i.e. if I have a standard-4 instance, will I always be billed for 12 GiB of memory and 20GB of storage, or just the memory and storage the application is using
Was this page helpful?