Which EC2 instance type to use for a data warehouse running PostgreSQL

0

Let's say I want to run a data warehouse on an EC2 instance.

It is PostgreSQL-based.

The reason we cannot use RDS, is because it does not support the extensions that we require.

What would be the best instance type to use for this use case?

I think we need something with a fast local disk, and not using EBS. But I am open to any suggestions.

profile picture
m0ltar
已提問 9 個月前檢視次數 1171 次
1 個回答
4
已接受的答案

Usually Storage Optimized EC2 Instances(Specifically I3 and I3en) would be best choice for data warehousing use cases. If you look at Storage Optimized Instances section at Amazon EC2 Instance Types, these provide NVMe SSD storage which would be way faster than traditional SSD storage option generally available in EBS.

There may be other factors and considerations as well, which can come into play but as a general guidance first choice should be Storage Optimized Instances, if they fulfill your use case requirements. Also, you can consider D2 and D3 instances under Storage Optimized Instances category if they fit better than I3 and I3en for your use cases.

Enter image description here

Full list of Amazon EC2 Instance type is listed here.

Hope you find this information helpful.

Comment here if you have additional questions, happy to help.

Abhishek

profile pictureAWS
專家
已回答 9 個月前
profile pictureAWS
專家
iBehr
已審閱 9 個月前
  • Just ensure you have a backup/bcp strategy as local storage isn’t highly available.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南