Konstantin Emelyanov - Fotolia
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.
How does Photon OS bring container benefits to VMware?
Compare and contrast VMware container platforms
VMware Integrated Containers faces setbacks
Dig Deeper on VMware performance enhancements
Related Q&A from Stephen J. Bigelow
Learn how load balancing in the cloud differs from a traditional network traffic distribution, and explore services available from AWS, Google and ... Continue Reading
Access management is critical to securing the cloud. Understand the differences between AWS IAM roles and users to properly restrict access to AWS ... Continue Reading
Containers have rapidly come into focus as a popular option for deploying applications, but they have limitations and are fundamentally different ... Continue Reading