Starting today, Amazon EC2 High Memory instances with 18 TB and 24 TB of memory are generally available. 

from Recent Announcements https://aws.amazon.com/about-aws/whats-new/2019/10/now-available-amazon-ec2-high-memory-instances-purpose-built-run-large-in-memory-databases/