Amazon announced Dec 3 the ability to persist ec2 instances by saving boot data within the ebs store. This presentation show step by step how to start, stop and restart an instance without losing data. SolTech is a developer of custom software. if you need help leveraging cloud computing with custom cloud applications , give us a call or vist http://www.soltech.net
SolTech Inc - Start, Stop and Restart Amazon EC2 instances - Step by Step
1. Amazon EC2 AMI’s can now persist. Amazon EC2 has enhanced the integration between its Elastic Block Store (EBS) and EC2 instance functionality. Amazon EC2 instances can now be booted directly from Amazon EBS volumes, and customers now have much richer control over how block devices are exposed to their instances. This allows larger root devices, faster launch times, greater instance durability, and the ability to repair a mis‐configured instance. This also enables a number of very desirable features that we have been waiting for …, such as the ability to stop an instance without terminating it, and the ability to create an AMI that is based directly on an existing instance Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
2. Persist & Restart Amazon EC2 Instances Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
3. Select an EBS supported AMI Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
4. Launch with launch wizard Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
5. New instance running !! Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
6. Connect Connect to the instance with winscp or putty Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
7. Connect Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
8. Connected !! Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
9. running Create a test file we stop it It stopped – saving $$$ Test Persistence Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.
10. Test Persistence At this point, the instance will move from the “Stopped” to “Pending” to “Running” state. Once it is running, you can interact like any other running Amazon EC2 instance. It is potentially important to note that the public IP address of your instance may change after it has been stopped and restart. If this is not desired behavior you can leverage Elastic IPs to create a consistent IP address. running We login again and check if our file exists
11. Working with stopped instances .. Next presentation .. Building an AMI from a running instance … the ability to take a snapshot in time, save and then restart that snapshot. One common use case is the desire to make a point‐in‐time copy of the contents of the root device so that another instance could boot off of that image. Images are typically created for backup purposes or to make clones of the existing instance. Previously, this process on Linux required you to create an image of your instance on the instance itself and no APIs were available to assist. On Windows, there was an API that you could call to create an image of the instance, but had to make another subsequent call to register the AMI. Now, there is one API for both Linux/UNIX and Windows that allows you to bundle your AMI backed by Amazon EBS and register it. Contact SolTech (404) 601-6000 if you have questions related to cloud computing and the development of custom cloud based applications.