Chapter 2. Trying it out: deploying WordPress on Google Cloud

 

This chapter covers

  • What is WordPress?
  • Laying out the pieces of a WordPress deployment
  • Turning on a SQL database to store your data
  • Turning on a VM to run WordPress
  • Turning everything off

If you’ve ever explored hosting your own website or blog, chances are you’ve come across (or maybe even installed) WordPress. There’s not a lot of debate about WordPress’s popularity, with millions of people relying on it for their websites and blogs, but many public blogs are hosted by other companies, such as HostGator, BlueHost, or WordPress’s own hosted service, WordPress.com (not to be confused with the open source project WordPress.org).

To demonstrate the simplicity of Google Cloud, this chapter is going to walk you through deploying WordPress yourself using Google Compute Engine and Google Cloud SQL to host your infrastructure.

Note

The pieces we’ll turn on here will be part of the free trial from Google. If you run them past your free trial, however, your system will cost around a few dollars per month.

First, let’s put together an architectural plan for how we’ll deploy WordPress using all the cool new tools you learned about in the previous chapter.

2.1. System layout overview

2.2. Digging into the database

2.3. Deploying the WordPress VM

2.4. Configuring WordPress

2.5. Reviewing the system

2.6. Turning it off

Summary

sitemap