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.
Prerequisites:
Access to Oracle Cloud AccountSubscription 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
ID.
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.
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.
Summary
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.
Comments
Post a Comment