How to improve performance of mautic

How to improve performance of mautic system on aws ec2 server. Following are configuration :

t2.micro



When i am trying load contact page or any other pages its taking too much time to load. I just have 150000 contacts. still its loading slow.

My future requirement is around 300000-400000 contact and their activities.

How to improve performance of mautic system on aws ec2 server. Following are configuration :
t2.micro

When i am trying load contact page or any other pages its taking too much time to load. I just have 150000 contacts. still its loading slow.
My future requirement is around 300000-400000 contact and their activities.