E2E Spot Instance¶
With E2E Spot Instances, you can use E2E Cloud’s spare capacity at discounts as compared to On-Demand pricing. It means you can significantly reduce the cost of running your applications, or grow your application’s compute capacity for the same budget. The major difference between On-Demand Instances and Spot Instances is that Spot Instances can be pre-empted by E2E with notification when E2E needs the capacity back. Spot instances are shutdown and go into “un-deployed” state where only the disks related to the instance is billed.
Please note that the disks are saved for the instances which are pre-empted and we bill you for the disk usage at 5 INR per GB month for the volume. You can relaunch the instanes at a later time or when the spot capacity is available. This ensures that you dont lose any processed data on your instances.
Kindly note that if you require uptime guarantees for your node, its recommended to launch regular instances with committment period, which can get you cost savings as well.
Why use Spot Instances ?¶
You can use Spot Instances for flexible applications, stateless web servers, API endpoints, big data and analytics applications, containerized workloads, CI/CD high performance and high throughput computing, rendering workloads, and other flexible workloads where your instances can be pre-empted without affecting business continuity.
How to Launch Spot Instances ?¶
To create an E2E Spot Instance, you will need access to E2E MyAccount. If you don’t have one, you can create one from the E2E Networks account sign-up page. E2E Networks MyAccount portal lets you access and manages your E2E Spot Instance through a simple and intuitive web-based user interface.
Login into MyAccount Please go to ‘My Account’ and log in using your credentials set up at the time of creating and activating the E2E Networks ‘My Account’. Navigate to Node create page
Click on Nodes from side nav bar
Click on Add New Node button
Click on Spot Instance tab
Choosing an Image¶
The Create Spot Instance page is where you have to choose your Spot Instance configuration from different categories of images based on its operating system, how much memory and storage it has, and a number of vCPU according to your requirement. For this, You can use the filter option for the filtration of node image based on the configuration of operating system and size with respect to the amount of vCPU/RAM and following described categorization, this will help you to choose a Plan and price of your choice from a wide range of suitable options for various requirements.
Once you have selected the Spot Instance image and plan, then click the “Create” Button. It will give you an option to select the billing mode “Hourly Billed”, once selected it will take you to the final stage of the ‘Create Spot Instance’’ page.
Finalize and Create a Spot Instance Node¶
Here, you can specify the node name and additional options for the Node you’re creating.
Choose a Node Name – Default name is provided based on the Plan you selected, but you can modify and give you’re Node a name that suits your needs.
You can also enable additional features for your Node.
Choose a Group Name – where you can add a group name to organize and related Nodes.
Choose a Secure Authentication option – You can choose the method you want to use to log in to your Node. There are 3 options:
SSH keys, which provide more security along with a password. Kindly note that SSH keys based login not applicable for the window compute node.
Disable Password for remote SSH Access, the Only SSH key is required to access your Node remotely. In case, you lose your key, you will not be able to access your node.
One-time password, which is a single-use password shared to you via an auto-generated email by-default and will require you to set a new password.
Enable Backup – you can enable automatic backups of the node by ticking the Enable backup checkbox. Kindly note that the Backup option will not available for the Centos8/Opensuse based Nodes.
Once you have selected your options, click Create. It will take a few minutes to set up the Node and you will take to the ‘Manage Node’ page.
You can perform the following actions available for the respective Spot Instance.
Click on the Undeploy button to Undeploy your Spot Instance. It will take a couple of minutes to Undeploy your Spot instance. All the management operations will be disabled on this node till while the function is being performed.
After undeploying this node, the disk will be charged at 5 Infra Credits/GB per Month
All actions will be disabled except Deploy and Delete Node action when your node is Undeployed.
Click on the Deploy button to Deploy your Spot Instance. It will take a couple of minutes to Deploy your Spot instance. All the management operations will be disabled on this node till while the function is being performed.
Click on the Power Off button to turn Off your node. It will take a couple of minutes to turn Off your node. All the management operations will be disabled on this node till while the function is being performed.
Powering off Node will not stop billing. You will continue to pay for the Node until it is Terminated. If you have an active disk-intensive system running, power off may lead to data corruption and data loss (the best option is to turn off the machine from within OS).
All actions will be disabled except Start, Lock Node and Delete Node action when your node is Powered Off.
Click on the Reboot button to restart your node without re-installing the node. Reboot operation is just like powering off and then powering on the node. It will take a few minutes to restart your node.
At any time you can clean your server and reinstall a clean OS rather than creating a new node. Click on the reinstall button to place your new, clean node. A confirmation notification will appear ‘Are you sure you want to reinstall OS’. Click Ok to proceed and the state will change to ‘Reinstalling’. After a couple of minutes, your node will be re-installed and ready for use.