2

This would help contribute to 0 downtime for me if possible. As far as I know it is not possible, but wanted to be sure.

  • No. The closest thing is probably Auto-Scaling aws.amazon.com/autoscaling – LinuxDevOps Apr 26 '14 at 19:24
  • 2
    @TheInternet your question was likely downvoted because it showed very little input on your part. Have a read through the following meta.serverfault.com/questions/3608/… – Drew Khoury Apr 27 '14 at 4:05
  • Thanks for censoring me @Drew Khoury. This type of question isn't a "what did you try?" type of question but a "yes/no" type. Take a look at "How can I get people to fully read my question" meta.serverfault.com/questions/2177/… – The Internet Apr 27 '14 at 23:44
  • It sounds like your real problem/question is around achieving zero (or close to) down-time which you can certainly do with AWS and EC2s. – Drew Khoury May 10 '14 at 3:49
7

No, this is not possible in EC2.

4

You'll need to stop your EC2 and change the instance type to add more RAM so no it can't be done dynamically, or on-the-fly.

Alternatives

You're interested in no downtime so you should take a look into a number of features:

  • Elastic Load Balancing (ELB)
  • Elastic Network Interface (ENI)

You can create an ELB and attach an EC2 to it. Next you could clone your EC2, change it's instance type, and bring the clone into the load balancer. Finally you terminate the old EC2 out, completing the 'zero downtime' upgrade.

You could attach an ENI to your EC2. Create a clone, change instance type, attach ENI to the new EC2. Finally, terminate the old EC2.

  • 2
    It's interesting that Virtualbox supports Hot Add Ram and Hot Plug CPU. Why not a cloud provider? – CMCDragonkai May 29 '14 at 9:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.