Q
Manage Learn to apply best practices and optimize your operations.

How do you run Photon OS on vSphere or platforms like Google?

Photon OS optimizes VMware Photon platform deployment, not only in vSphere but in GCE, EC2 and more. Follow these steps to learn how to run Photon OS on different platforms.

VMware Photon OS is available in several packages and allows the user to deploy Photon efficiently. Consider, for...

example, Photon under vSphere: Photon requires vSphere 5.5 or later; an ESXi host with 2 GB of RAM and 8 GB of disk space; and the Photon OS package downloaded in ISO format. If you'd prefer a minimal installation, you can use the open virtualization appliance format package instead. Once the Photon package is downloaded to a data store, create a new VM, and stipulate Other 3.x Linux (64-bit) under Guest OS Family.

As a rule, configure the new VM with two virtual CPUs, 1,024 MB of memory and 20 GB of thin provisioned disk space and opt for the latest version of hardware compatibility, such as ESXi 6.0 and later (VM version 11). You can always adjust the resource allocation later. Mount the Photon ISO, and opt to connect at power on. The Photon installation process will start once the VM powers on and will allow the user to launch the remote console to work with the installer. Proceed with the installation.

Select the disk volume created for the VM, and allow the installer to erase the disk and continue. If you opt to use the ISO, you can select from minimal, full, OSTree Host or OSTree Server runtimes. Choose a meaningful hostname and suitable system root password. The installation will continue, and the VM will reboot into the Photon OS. This prepares Photon and allows the user to work with the container runtime environment.

Although Photon runs primarily on vSphere, you can obtain and use suitable packages for VMware Fusion, vCloud Air, Google Compute Engine (GCE) and Amazon Elastic Cloud Compute (EC2) instances. The overall installation process is similar, but in order to deploy Photon on a public cloud platform, like GCE, you need a valid GCE account, access to the Google Cloud software development kit and a Photon OS image file for GCE downloaded in the corresponding format. Keep in mind that Google charges a fee to store the Photon package in Google cloud storage and deploy Photon in a GCE instance.

Create a bucket in GCE to store the Photon OS image, and then upload the image file to your bucket in the cloud. The uploaded file should appear in the file list for that bucket. Next, use the uploaded image to create a new image, and use a meaningful name to designate the new image; the new image should appear in the Images catalog. Now, select the new image, and opt to create a new instance. Select a meaningful name, and define the zone to use for deployment. Also, be sure to allow HTTP and HTTPS traffic if necessary in the new instance's firewall rules. At this point, you can see the new VM instance and Secure Shell into the Photon environment. You can now start to use Docker Engine and run containers.

If you have any additional questions about specific steps or advice for deploying Photon on platforms like vCloud Air, Amazon Web Services and so on, refer to the official VMware Photon documentation.

Next Steps

How does Photon OS bring container benefits to VMware?

Compare and contrast VMware container platforms

VMware Integrated Containers faces setbacks

This was last published in August 2017

Dig Deeper on VMware performance enhancements

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

What experience do you have using Photon OS in non-vSphere environments?
Cancel

-ADS BY GOOGLE

SearchServerVirtualization

SearchVirtualDesktop

SearchDataCenter

SearchCloudComputing

Close