Setup a Wordpress site in 10 Minutes using Oracle Container Cloud Service

Oracle Container Cloud Service

Oracle Container Cloud Service lets you easily deploy applications based on docker images. If you don't have an existing application you can create one on docker. However, the easiest method to get a full application up and running is by deploying a stack. Oracle Container Cloud Service provides several example stacks that you can deploy, including web servers based on NGINX or Apache, MongoDB database, and Wordpress. You can find more examples on Oracle GitHub Site. Let's see just how easy it is to spin up a Wordpress site using the Oracle Container Cloud Service.


Access to Oracle Cloud Account
Subscription to Oracle IaaS Service

First, go to the Oracle Container Cloud Service console and launch a new service. In this example, I created a service with three containers. One manager and two worker nodes. Choose an appropriate "shape" for your compute instances.
Note: Oracle uses the term "shape" to refer to the resources (CPU and memory) allocated to a compute instance.

Once successfully launched, you will be able to log into the container console. The console dashboard shows you the status of the nodes, deployments, and pools. It also lists the number of containers, images, stacks and services. You can click on each of these components of the left to get more details.

To deploy a Wordpress stack, click on the deploy button next to the Wordpress-singlehost-Stack
Provide a name for the deployment. Keep the default resource pool for now. You can also provide orchestration for Wordpress as well as the underlying database.

Once the deployment has begun you can track its progress.

After a few minutes, a successful deployment should be visible, with a status of healthy.

So far, we've launched a new container service and deployed our Wordpress stack. Now we just need to configure the Wordpress application. To access the application running inside of our container, we need the public IP address of the container as well as the port(s) of the Wordpress web server. We can find the public IP address of the container by going to the Hosts tab on the left and locating the public_ip address.

We can find the port number(s) for accessing the Wordpress URL by viewing the Stack YAML of the Wordpress stack.

Now we can login to the Wordpress site using the URL based on the IP address and port from above. You should see a Wordpress logo with a language selection option. Choose a language to begin the Wordpress configuration.

Provide a name for the site, as well as a username, password, and email address. Finally, click the Install Wordpress button.

Your successful installation should look like the screen below.

You can now create your Wordpress site.


This was just a quick example of how developers can quickly deploy full-stack applications using containers. It further demonstrates that through the use of public cloud services like Oracle Public Cloud, we can get up and running quickly without worrying about the underlying infrastructure. 

Now that you've seen the basics, there's a lot more that can be done with containers using the Oracle Container Cloud Service. Automate docker image build and deploy applications by integrating with services like GitHub.

Feel free to leave comments and feedback.


Popular posts from this blog

Viewing ASM trace files and alert logs in Unix/Linux

ORA-00020: maximum number of processes (%s) exceeded

Troubleshooting RAC Public Network Failure