magento2 – whats the best architecture for magento in aws ec2

i am using magento 2.3 on aws ec2 but the performance is quite not good full website load is about 5 sec.

I am using following structure :

  • Application instance : EC2 t2.xlarge
  • Mysql RDS : db.t3.large
  • AWS CloudFront for media images

I am ready to change the instance types or adding any additional services. but need the website to load within 2-3 sec.