Get Started with Bitnami OVA Images for VMware vCenter Server on IBM Cloud
IBM Cloud allows enterprises to find validated and continuously maintained infrastructure and application software.These solutions are suitable for deployment into any public, hybrid, and private cloud as well as in any Kubernetes cluster. Bitnami provides Virtual Server Instance (VSI) images for IBM Cloud, Helm charts on IBM Kubernetes Service (IKS) and Open Virtualized Application (OVA) images for VMware vCenter on IBM Cloud.
These application charts and templates are secure, updated and packaged according to industry best practices, and they provide a way for enterprise users to immediately become productive with the infrastructure of their choice.
This tutorial walks you through the process of launching a Bitnami WordPress virtual machine using an OVA image in your VMware vCenter Server on IBM Cloud.
If you’re interested in creating a personal or small business blog, chances are that you’re going to use WordPress. WordPress is one of the most popular blogging platforms in the world, used on over 60 million websites (according to Wikipedia). And it is not hard to see why: WordPress is very easy to use, comes with thousands of extensions and themes, is completely free, and is open source.
In this tutorial, I’ll launch a cloud server with the Bitnami WordPress Stack, which gives you a pre-configured WordPress blog that you can start using right way. But WordPress is just an example: there are hundreds of other Bitnami applications to choose from, and they’re all equally easy to set up.
Here are the steps you’ll follow in this tutorial:
- Install the Bitnami WordPress OVA image for VMware vCenter on IBM Cloud
- Launch a Bitnami WordPress virtual machine in your VMware vCenter Server
- Obtain WordPress credentials
- Log in and start using WordPress
Assumptions and prerequisites
This tutorial assumes that:
- You have an account in the IBM Cloud.
- You have a server configured to work with VMware vCenter on IBM Cloud.
NOTE: Bitnami applications typically require a network IPv4 address to be configured for their server(s). By default, the OVAs are configured to use DHCP to obtain an IP address. If an IPv4 address is not defined statically or can ot be retrieved via DHCP, the initialization of the server will take more time than expected and the application might not be properly configured.
Step 1: Install the Bitnami WordPress OVA image for VMware vCenter on IBM Cloud
At the end of this step, you will have defined the configuration for launching a virtual machine using the Bitnami WordPress OVA image.
The first step consists of searching for the application you wish to deploy (in this case, Bitnami WordPress) through the IBM Cloud user interface and defining the deployment configuration to use it with a virtual machine. Follow these steps:
Log in to IBM Cloud.
From the top menu, select the “Catalog” option and search for the application you wish to deploy on your VMware vCenter Server. In this case, the required application is the Bitnami WordPress image.
On the resulting page, select the vSphere target as “VMware vCenter Server”. The “OVA Image” option will be pre-selected by default. Enter your administrator password in the “vCenter Server password” field and input the name of the datastore which will host the image. The Kubernetes cluster to push this image to is pre-selected by default.
TIP: You can retrieve the vSphere password by navigating to the “VMware Solutions -> Resources” section. Find the resource that you wish to deploy the application in and copy the administrator password under the “Access Information” panel.
To finish the configuration, navigate to the “Configure your workspace” section. Enter a name for your OVA image, select the resource group that wish to use to store the application, and add custom tags to better identify it.
On the right side of the screen, review the summary of the custom settings. Confirm that you have read and agree to the license agreements and click “Install” to finish the process.
Installation will take a few minutes. The deployment status can be checked in the “Schematics -> Workspaces” section.
Step 2: Launch a Bitnami WordPress virtual machine in your VMware vCenter Server
At the end of this step, you will have deployed a Bitnami WordPress image in your datacenter.
Once you have the Bitnami WordPress OVA image available in your datacenter, you can launch a WordPress virtual machine using the vSphere client. Follow the instructions below:
Log in to your datacenter using the vSphere client and navigate to the datastore you specified in the last step. Confirm that the OVA image is available in the datastore and ready to be launched.
Select the image you wish to deploy. From the template detail page, begin the deployment by selecting “Actions -> New VM from this template” menu item.
Enter a name and select a location for the virtual machine within your SDDC. Click “Next” to proceed.
Select the compute resource that will be used for the deployment. Click “Next” to proceed.
Review the template details. Click “Next” to proceed.
Review and accept the terms and conditions for the license agreement. Click “Next” to proceed.
Select a destination network for each source network. Note that the “IP Allocation Settings” display the values defined by default in your datacenter. Click “Next” to proceed.
Define the contents of the SSH public key that will be used to connect to the virtual machine.
(Optional) Add additional user data for the VM. This is useful to execute an script at deployment time and to provide parameters to the virtual machine such as the application password. Click “Next” to proceed.
In the “Ready to complete” screen, review the configuration summary. If correct, click “Finish” to complete the process.
Once the deployment process completes, your virtual machine will appear in the list of available virtual machines for your specified datacenter location. Select it to obtain a detailed configuration summary and gain access to management options.
By default, the virtual machine will be powered off, so you must power it on before proceeding to the next step.
Step 3: Obtain WordPress credentials
At the end of this step, you will have the credentials needed to access your WordPress blog.
You’re almost done but, before you can log in to WordPress, you need the administrator credentials and the application IP address. Follow the steps below:
On the virtual machine detail page in vSphere, click the “Launch Web Console” menu item:
The virtual machine console will appear with a login prompt, as shown below. The console will also display the login credentials for the application and the current IP address of the virtual machine. Make a note of these details.
You can now access WordPress by launching your Web browser and browsing to the virtual machine’s IP address. You should see the front page of your blog with a sample post, as below:
Step 4: Log in and start using WordPress
At the end of this step, you will have logged in to WordPress and created a new blog post.
To log in to the WordPress dashboard, follow these steps:
Browse to the WordPress dashboard, usually at the URL http://SERVER-IP/wp-admin.
Log in with the administrator credentials from the previous step.
You should now arrive at the WordPress dashboard, which allows you to manage posts, pages and comments; customize your blog with themes and plugins; import and export content; manage navigation menus; add or delete new user accounts; and much more.
Create your first post
You can now add a new post using the following steps:
Select the “Posts -> Add New” menu option to create a new post.
Enter a title and content for the post. You can use the formatting tools at the top of the content area to format your post and add hyperlinks or images.
Optionally, choose the format and category for your post.
Publish it immediately using the “Publish” button.
And now, when you visit your blog’s front page, you should see your new post.
Congratulations! You now have a working, fully-functional WordPress blog in the cloud.
Keep your WordPress installation up-to-date
You can keep your WordPress installation up-to-date with the WordPress update feature. To access this:
Log in to WordPress using the administrator account.
Select the “Dashboard -> Updates” menu item.
Review the resulting page to see if WordPress needs an update. If an update is available, you can install it by clicking the “Update Now” button. You can also re-install WordPress if needed with the “Re-install Now” button.
To learn more about the topics discussed in this tutorial, use the links below: