Automatically upload one server instance on Amazon if the other drops

Asked

Viewed 233 times

3

I am new with aws from Amazon, and I recently had a problem that dropped my instance and to solve I had to create a new instance. Could anyone tell me what strategy I could create so that if I fall my other instance runs? Does Auto Scaling do this? There’s a cheap option for that?

1 answer

4

In the EC2 of Amazon Webservices you can create the instance with 2 types of disks. Physical disks (EBS) and Discos Efêmeros. Physical disks are the Magnetic Disk and SSD. The ephemeral disk is a memory disk and when the machine is shut down, data is lost. Some prefer to use the ephemeral disc for swap and others for production. Some people put the site on Github and set auto-post on the site when it goes up and in this case the gain is exactly in the performance of a memory disk.

Yes, the Auto Scaling allows this. You create a script on it that will load balancing between instances. The Auto Scaling does not work directly with the instance. It works with the AMI image. To use it you will need to create your AMI image and put its reference in the script. According to the balancing set by you it will rise an instance or end with a, bringing the verticalization up or down.

Great care to create instances of the type Spot Request. They are considered an auction. If the price of the instance exceeds the configured one, your instance will be terminated without warning. Reserved instances are cheaper, but you cannot change the type of instance after you book and it is a case for evaluation.

What is your instance? What types of volume do you have? Such information will help us better help you.

  • Good afternoon, thanks for the clarification. For now I have a basic instance, t2.micro with 40 Giga.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.