Saturday, November 24, 2018

GCP vs AWS : Machine Images

Compute Engine and Amazon EC2 both use machine images to create new instances. Amazon calls these images Amazon Machine Images (AMIs), and Compute Engine simply calls them images.

Amazon EC2 and Compute Engine are similar enough that you can use the same workflow for image creation on both platforms. For example, both Amazon EC2 AMIs and Compute Engine images contain an operating system. They also can contain other software, such as web servers or databases. In addition, both services allow you to use images published by third-party vendors or custom images created for private use.

Amazon EC2 and Compute Engine store images in different ways. On AWS, you store images in either Amazon Simple Storage Service (S3) or Amazon Elastic Block Store (EBS). If you create an instance based on an image that is stored in Amazon S3, you will experience higher latency during the creation process than you would with Amazon EBS.

On GCP, images are stored within Compute Engine. To view available images or to create or import images, you can visit the Cloud Console Images page or use the gcloud command-line tool in the Cloud SDK.

Unlike Amazon EC2, Compute Engine does not have a mechanism for making an image publicly available, nor does it have a community repository of available images to draw from. However, you can share images informally by exporting your images to Cloud Storage and making them publicly available.

Amazon's machine images are available only within a specific region. In contrast, Compute Engine's machine images are globally available.


Public images

Amazon EC2 and Compute Engine both provide a variety of public images with commonly used operating systems. On both platforms, if you choose to install a premium image with an operating system that requires a license, you pay a license fee in addition to normal instance costs.

On both services, you can access machine images for most common operating systems. For the complete list of images that are available on Compute Engine, see the public images list.

Amazon EC2 provides support for some operating system images that are not available as public images on Compute Engine:

Amazon Linux
Windows Server 2003 (Premium)
Oracle Linux (Premium)

No comments:

Post a Comment