AWS Server Selection

How to Set up a General Purpose Server on AWS

Several comparisons have to be done for server selections. EC2 is built on top of AWS Nitro System (No need to know the details).
There are other products and services, especially cloud related:

  • SNS, SES, and SQS
  • Time series database Timestream, NoSQL database Dynamo, and SQL database Aurora
  • Beanstalk and EKS

Aliyun should have similar products and services.

EC2 Instance

There are 3 types of servers, A1 for ARM based, T3 for variable workload, and M5 for guaranteed performance.
We are going to run Python on the server, so ARM option is opt out since many Python libs require separate compilation on ARM. We need to access file systems a lot, so T3 is opt out since it doesn’t guarantee network performance. So M5 is the choice. M5a is AMD based, M5n has network boost (not needed).

m5.large has 2 vCPUs, 8GB mem. It’s just half of the next, m5.xlarge:
在这里插入图片描述Since we are going to run services, it would be better to reserve an instance:
在这里插入图片描述Monthly cost is $83.58.
3-year plan saves 1/3 of the cost:
在这里插入图片描述or monthly $53.81.

The smaller m5.large is about half of the price of m5.xlarge:
在这里插入图片描述

Permanent File Storage

Besides local file systems(which can’t survive reboots), there are 3 options in AWS: S3, EBS, and EFS.
EBS is for database storage or like. It can be accessed by only one EC2. 10 cents per GB-month

EFS is NFS like, can be accessed by many EC2. 30 cents per GB-month
EFS IA (infrequent access) is 2.5 cents per GB-month, that’s a lot cheaper.

S3 is eventually consistent, can be accessed from anywhere. It’s the cheapest, 2.3 cents per GB-month + network.
S3 has access control, encryption, versioning. SQL works only for CSV or JSON formats.
The higher the cost, the better the performance.

SQL Database

AWS RDS
T instances are burstable and M is reserved
在这里插入图片描述在这里插入图片描述Price differences are
在这里插入图片描述Monthly is 46.69 for 3 year term.
在这里插入图片描述Monthly is 50.1 for 3 year term

Space cost is $0.115 per GB, so say, 20GB is 2.30 per month

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值