π― Whatβs the goal? Install WordPress on Google Cloud PlatformΒ | β οΈ Why does it matter?Benefit from the $300 free credits. |
π Whatβs the result? Launch a new virtual machine on GCP, and install it with a WordPress software image to run your future website and lay the foundation of your new online presence. | β When do you do this? N/A. |
β
Any special requirements? Credit Card Required | πββοΈWho should do it? N/A. |
π Where this is done: In your WordPress Dashboard and Google Tag Manager.
β³ How long will this take? 20 – 45 minutes
Now letβs start to build the foundation for your Website
Creating Google Cloud Platform account
- Go to Google Cloud Platform.
- Click on βGet started for freeβ.
- Make sure you are using your desired Google account for creating your Google Cloud Platform account, then agree to the βTerms of Serviceβ and press βContinueβ.
- Choose βIndividualβ Account type.
- Start off with entering your βNameβ(1), then your βAddressβ(2), βPostal codeβ(3), and βCityβ(4). You can add your βPhone numberβ(5) if you want to, but this step is not required.
- There is information that you will pay monthly for Google Cloud, but nothing to worry about since we are going to take advantage of a free plan for starting.
- Start typing your card number under βPayment methodβ. Uncheck the box if your card address is different from the one you entered in the previous step.
- Complete filling in with your credit/debit card data.
- Click on βStart my free trialβ.
If the βStart my free trialβ button is inactive that means you have to verify your payment information manually. We will show how to do it in the next step. If you were redirected to your βGoogle Cloud Platformβ move to βLaunching WordPress on Google Cloudβ part of this SOP.
Verifying your payment information
- Click on βProceed to verificationβ.
- Fill in required fields with your βFirst nameβ, βLast nameβ, βContact emailβ and βPhone Numberβ.
- Under βBilling Account IDβ you will find your unique ID number associated with your payment information. By using it you can check your verification status, but you will also receive an email about that.
- Upload a photo of your credit/debit card (you should hide your card number, only 4 last digits should be visible) or your bank statement by clicking on the βChoose Fileβ button.
- Click on βSubmitβ.
- Now you have to wait sometime for Google to verify your payment information. The time can vary from a couple of hours to over a week.
- After Google confirms your payment information you will receive an email that your Google Cloud Platform project has been reinstated. Click on the βGo to my consoleβ button in that email.
Launching WordPress on Google Cloud
- After creating your account (or also verifying your payment information) you will be redirected to βMy First Projectβ on Google Cloud Platform.
First of all click on βActivateβ at the top of the page to claim your free 300$ credits for Google Cloud. ( Next to the button you will find information about how much credit you have and for how long)
Click on βUpgradeβ to confirm.
- Click on βMarketplaceβ on the left side menu.
- Type βWordPressβ in the Search Bar.
- You have to choose βWordPressβ image βCertified by Bitnamiβ.
There will be many similar results.
Now we will explain which one you can choose to make use of your free credits.
- Click on the desired search result. You will be redirected to the chosen image page.
- Scroll down the page and look for the βPricingβ section. If there is βNew Google Cloud customers may be eligible for a free trialβ line, proceed to the next step. If there is not, go back to search results.
- Scroll up the page and click on βLaunchβ.
- Wait some time as your WordPress image is deploying.
- After deployment, you should come up with a βDeployment nameβ.
- Choose βZoneβ by clicking on the dropdown list and selecting one. Make sure you choose the zone closest to your future audiences. Selecting a βZoneβ means that your virtual machines will be placed in that zone. To find out specific zone data check that links https://cloud.google.com/compute/docs/regions-zones.
- Choose βsmallβ under βMachine typeβ. It is enough for WordPress pages and will allow you to make the most from your free credits.
- Under the βBoot Diskβ section, leave βStandard Persistent Diskβ and 10 in βBoot disk size in GBβ.
- Leave βNetwork interfacesβ as βdefaultβ. You will later change your IP address to static.
- Donβt change anything under the βFirewallβ section.
- Checkbox to accept βGCP Marketplace Terms of Serviceβ and click on βDeployβ.
- You will be presented with the status of your deployment. βdeploymentname has been deployedβ message indicates that the deployment is complete.
- On the right side of the page, you will find basic data of your new website. Write down your βAdmin password (Temporary)β.
- Click on the URL next to βAdmin URLβ.
- βLog Inβ with βuserβ and your temporary admin password that you write down two steps back.
- You are now Logged in to your WordPress Admin Panel.
- On the left side menu choose βUserβ.
- Then click on βYour Profileβ.
- Under βAccount Managementβ click on βGenerate Passwordβ.
- Replace the generated password with your own. This will be your password for the WordPress Admin Panel.
- Click on βUpdate Profileβ.
Your WordPress site is now successfully launched on Google Cloud!
Setting static IP for your website
- Click on the βmenu buttonβ in the upper left corner of your Google Cloud Platform.
- In the βComputeβ section click on βCompute Engineβ.
- Choose βVM instancesβ from the list.
- Click on your instance created on Google Cloud. You will recognize it as it is the same as your βdeployment nameβ with β-vmβ at the end.
- You will be redirected to your instance information page. Click on βView detailsβ in the βNetwork interfacesβ section.
- Choose βExternal IP addressesβ from the left side menu.
- As you can see, your pageβs IP type is βEphemeralβ.
- Click on βEphemeralβ (Columns βTypeβ) and choose βStaticβ.
- A pop-up window will appear. You have to reserve your static IP address. Simply type a desired name in the βNameβ box and add some description for it so you can easily recall why you reserved this IP. After that click on βReserveβ.
Thatβs it! Your website is yours to develop. It is online and ready to reach the world. If desired, you can go to your WordPress Admin Panelβs βUserβ section in the left menu to change the default username of your WordPress Administrator.