
This is because the elastic block store essentially acts as a scalable network drive that is attached to the selected hardware for the instance.
#Aws image resize how to
Elastic Block StoreĮven though the previous description gives details on how to change the properties of an instance that is running for a given customer, one thing that the cloud customer should be made aware of is that this update will only work if the original virtual machine was an elastic block store backed instance. At this point, starting the machine will locate new hardware within the availability zone that matches the new instance type or instance family of the instance and use that to start up the virtual machine for the cloud customer. After waiting for this update to be applied by the EC2 service, the machine is ready to be started again. Once the instance has been properly shut down, the cloud customer is then able to change the instance type or instance family of the virtual machine. Once ready, the first step would be to stop the instance that needs to have its properties changed. So it would be best to either have another instance take over while the EC2 instance is down or to at least let any user or service that is communicating with the instance know there is going to be some downtime. To do this update, it will require some downtime for the virtual machine. At this point it probably makes a lot of sense to change the instance type or instance family to get the proper resource allocation for that instance. Updating The InstanceĪfter using an instance that was deployed to an availability zone in the Amazon Web Services cloud, it may become apparent that the current features of the instance are either too little resources or too much resources. It also would be good to learn more details around what is possible to change within the instance configuration. Given that this is a possibility in the Amazon Web Services cloud it probably makes sense to know how this might be accomplished.

The instance type or instance family can be updated meaning the number of cores, amount of memory, amount of storage, and other aspects of the instance can all be changed. What happens if your initial selection was wrong for the task at hand?Īre EC2 Instances Resizable? An AWS EC2 instance is resizable if the instance is an elastic block store backed instance. This selection will dictate how many CPU cores are available, how much memory is available and how much storage is available for the virtual machine. When launching an Elastic Compute Cloud instance with Amazon Web Services, you need to select a type and size for the instance.

Is It Possible To Resize An AWS EC2 Instance?
