Posts

Showing posts from March, 2017

Amazon CloudFront

Image
CloudFront is a CDN (Content Delivery Network) service which provides quick and faster delivery of web content. A Content Delivery Network helps the web page to load quickly in end user's(visitors) browser and also it helps to improve the Google SERPs. In a web page, the static contents (Images, videos and games) require more time to deliver from the web server. CloudFront distributes the static contents to multiple edge locations and delivers it to the end user quickly and helps to reduce latency. What are You Going to Learn? Advantages of CloudFront Prerequisites How to Deploy CloudFront How to Manage CloudFront Resources Most Common Problems Conclusion Advantages of CloudFront Amazon’s CloudFront has more than 40 edge locations from all over world to improve the content delivery quickly and with minimal errors. It is much cheaper than any other CDN providers. Since AWS is providing other services like EC2, ELB, CloudWatch and RDS, it is

Openstack to Cloudstack Template Migration

Image
This blog covers the image/template migration between Openstack to Cloudstack platform. To be precise, converting the image from QCOW2 format to VHD format and upload it to Cloudstack platform.   Requirements Root access privileges to openstack and cloudstack with Xen server platform Enough free space to do the conversion python 2.7 to run a http server Image Download This part is already covered in one of my existing blogs. Please refer  https://benyraja.blogspot.in/2017/03/templateimage-migration-with-reduced.html 'Image Download' section. Image Conversion Once we have downloaded the image to local disk, we have to convert it into VHD as it is the supported version of Cloudstack Xen hypervisor. If you are using KVM hypervisor, then we can skip to next step. Use the below command to convert the image from QCOW2 to VHD. $ qemu-img convert -O vpc Now you will have the converted image in VHD format. Image Upload/Register Template To register tem

Template/Image migration with reduced file size

Image
In any migration or moving the data from one platform to another, the most difficult challenge is the file size of the image. When we convert the VM instance as a template/image/snapshot it is nothing but a complete clone of the entire disk along with free sectors. Hence even the data is only 10GB the image will be around 30GB or more when the disk size is around 40GB. Moving or uploading a 30GB file over ethernet (even in fast ethernet), it is still a difficult time consuming job and it must work without interruption.   We faced a similar challenges in moving the templates from Openstack platform to VMware Esxi. In this blog, we will explain how we move the Openstack Virtual machine to VMware Esxi host with minimal effort and 100% working. I'm actually covering only QCOW2 image to VMDK image conversion in this section, however using the same methods we can do the conversion between any formats like QCOW2 to VHD, QCOW2 to OVA and vice versa.  Let us go step by step. Re