简体   繁体   English

我可以随时在AWS上升级EC2软件包吗?

[英]Can I upgrade my EC2 Package on AWS at anytime?

I am planning to run cPanel/WHM on EC2. 我打算在EC2上运行cPanel / WHM。 I see the different packages that exist. 我看到了不同的软件包。

My question is: Can I upgrade my server resources anytime based on increasements in my demands? 我的问题是:是否可以根据需求的增加随时升级服务器资源?

For example: if my current package is "t2.large" can I in the future upgrade the server resources to "m4.2xlarge" or more without any change or effects on my data? 例如:如果我当前的软件包是“ t2.large”,将来是否可以将服务器资源升级到“ m4.2xlarge”或更多,而对我的数据没有任何更改或影响?

How does it work? 它是如何工作的? I mostly run out CPU on every server I create. 我创建的每台服务器上的CPU大部分都用光了。 So that I have to buy a new server which involves lots extra expenses such as cPanel/WHM licenses, etc. 因此,我必须购买一台新服务器,这会涉及很多额外费用,例如cPanel / WHM许可证等。

I am looking for a service that I can increase/upgrade server resources such as CPU (most important), RAM, Diskspace. 我正在寻找一种可以增加/升级服务器资源(例如CPU(最重要),RAM,磁盘空间)的服务。

Thank you in advance for your replies. 预先感谢您的答复。

You can resize your instance anytime you want, but you have to stop your instance to resize it. 您可以随时调整实例大小,但必须停止实例以调整大小。 AWS will choose a new physical hardware based on your new instance type. AWS将根据您的新实例类型选择新的物理硬件。 There are some restrictions on what instance type you can upgrade to depending on virtualization type, region etc., For more information: 根据虚拟化类型,区域等,可以升级到哪种实例类型有一些限制,有关更多信息:

Resizing Your Instance 调整实例大小

Amazon EC2 does not have pricing packages . Amazon EC2没有定价包 It is a pay-as-you-go service, where you are charged for whatever you consume. 这是一项即用即付的服务,您可以在此消费任何消费。 If you turn off a service, you are no longer charged for it. 如果您关闭服务,则不再需要为此付费。

You can change the size of an Amazon EC2 instance at any time. 您可以随时更改 Amazon EC2实例的大小 Simply stop it, change the Instance Type, then start it again. 只需停止它,更改实例类型,然后再次启动它。 It's just like rebooting a computer. 就像重启计算机一样。 The instance is charged on an hourly basis, so you'll be charged a different hourly rate after you start it again. 该实例按小时计费,因此您再次启动该实例后,将按其他小时计费。

If you wish to lock-in a discounted rate (once you know the size of instance you desire), you can purchase an Amazon EC2 Reserved Instance . 如果您希望锁定折扣价(​​一旦知道所需实例的大小),则可以购买Amazon EC2预留实例 Despite the name, it is mostly a pricing discount. 尽管有名称,但主要是价格折扣。 You pay up-front annually or monthly and receive a discounted charge. 您每年或每月预先付款并获得折扣费用。

Alternatively, you could use Amazon Lightsail , which does offer a package consisting of an Instance Type, disk storage and network bandwidth. 或者,您可以使用Amazon Lightsail ,它确实提供了一个由实例类型,磁盘存储和网络带宽组成的软件包 This is good if you just require a simple machine without the need for complex configuration. 如果您只需要一台简单的机器而不需要复杂的配置,那就很好。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM