How to Bring Your Custom Images to the E2E Cloud?
Migrating to the E2E cloud is convenient, and over 10,000+ customers trust E2E cloud services—including top brands like Clovia and Railyatri. While migrating to the E2E cloud, you can bring in your customized images. Here’s what you should do to bring your custom image to the E2E cloud.
Prerequisites for importing an image to your E2E cloud
When you are planning to import, you can either do it manually or use auto import. There are few prerequisites and image requirements before initiating the import process, like the image size, quality, and server. The following are the prerequisites for importing a custom image to the E2E cloud:
- There are certain limitations and requirements while importing, and you should possess an understanding of these image requirements.
- Activation of Object Storage Services.
- Acceptance of Image Import Privacy Policy. This is a common term of the agreement to store the image in the E2E cloud.
General instructions to follow before importing custom images to the E2E cloud
- Importing a Windows image
If you are importing a Windows Server image, then:
- File system verification is the first step.
- Keep the crucial system files as such. Don’t modify them.
- Ensure enough disk space.
- Configure the system disk size based on virtual disk size.
- The firewall should be disabled and allow traffic on ports.
- Set the admin password that meets password requirements.
Certain types of images are not supported—for instance, ISO images, community edition, virtio driver, and images that run Windows OS. Some of the images that can be imported are:
- Partitions like NTFS, GPT, and MBR.
- Images in the RAW, QCOW2, and VHF images.
- Windows Server images.
- Importing a Linux image
If you are importing a Linux image, then:
- Check the integrity of the image you wish to import.
- While importing, don’t modify system files from bin, sbin, and lib.
- Ensure enough disk space.
- Configure the system disk size based on virtual disk size.
- The firewall should be disabled and allow traffic on ports.
- Check if you have enabled DHCP protocol, if not then please enable it. DHCP stands for Dynamic Host Control Protocol.
- Virtualization driver installation, for example, XEN or KVM.
- Install and configure a cloud-init—cross-platform industry standard.
- Set the admin password that meets password requirements.
Images like RAW, QCOW2, or VHD format images, disk partitions like MBR, GPT, XFS, ext3, and ext4 along with images that are running on any of the open-source OS can be imported. The following are the images that cannot be imported:
- ISO images,
- Multi-interface images,
- Adjustments of disk partitions.
You can also customize your Linux images if you face any difficulties while installing cloud-init or migration in the E2E cloud. There are three limits you should check before customizing your image, and they are:
- Important vulnerabilities cannot be exploited.
- You must change the password when you log on for the first time.
- Initial SSHkeys are generated in E2E, and hence default keys are not supported.
To customize a Linux image:
- Create the image directory in the first partition’s root directory.
- To implement instant configuration, create a parsing script.
Importing Custom Image
When you like to import any IDC into the E2E cloud, and all the parameters are available, you can auto-import the image. When the operating system you are looking to import from is unavailable in the E2E cloud, you can import the image manually. Let us see both the ways of importing a customized image into the E2E cloud.
- Auto import
In the server migration control, click the image section and click the online migration to auto-import the custom image. You will be directed into a series of operations, and continue the migration as you are directed. Once the migration is over, the server migration control will generate a custom image for your server. Since auto-import is an automatic process, you will be required to have all the parameters.
- Manual import
If you do not have the operations system you are looking for in the E2E cloud, or you do not have all the image parameters, you can manually import the image. The following are the steps to import a custom image manually:
- Call an API to upload the custom image you have prepared. You can also use a third party object storage service to do this for you.
- If your image s very high like more than five gigabytes, use multipart custom image migration
- Select mage import from the ECS control and select manual import
- You will be asked to fill in parameters like region, image name, OS, architecture, and format.
Conclusion
Options for viewing the task progress of migration is also available. Importing a customized image is as easy as installing an operating system. E2E cloud has a friendly support service, ready to assist you anytime during the migration process.