Explore information related to google cloud


Google Cloud Error Code 4033 - Fix it Now ?


This article covers methods to resolve Google Cloud Error Code 4033. Virtual Private Cloud (VPC) firewall rules apply to a given project and network. If you want to apply firewall rules to multiple VPC networks in an organization. 

VPC firewall rules let you allow or deny connections to or from your virtual machine (VM) instances based on a configuration that you specify. Enabled VPC firewall rules are always enforced, protecting your instances regardless of their configuration and operating system, even if they have not started up.

Read More



Google Cloud Error code 4003 - Fix it Now ?


This article covers methods to resolve the Google Cloud Error code 4003 for our customers. This issue can cause the start-up connectivity test to the VM instance to fail.

Therefore, Ensure that the listening process on the VM is running and listening on the correct port. Also, verify that your Google Cloud firewall is configured correctly and open on the port you're connecting to.

Read More



WordPress Error Establishing a Database Connection: Fix this Vultr error


This article covers how to resolve Vultr database error. This condition can happen for a variety of reasons: low RAM or disk space, database corruption, plugin errors, misbehaving themes, incorrect password, MySQL errors, and more. 


To fix Vultr Error establishing a database connection (WordPress):

1. Free up some RAM or upgrade the VPS to have more RAM, around 1GB or so should work.

2. Create a cron job in /etc/crontab which checks on the status on the database and restarts it if the process dies. Have the job run every few minutes. If your site runs into heavy traffic, the cron job will restart the database and connections to Wordpress will work again.

3. Also, you could try tweaking the following variables in the "/etc/my.cnf" file:

innodb_buffer_pool_size
table_open_cache

4. You can try to rebuild Nginx PHP-FPM MariaDB.

5. You can restart mysql:

/etc/init.d/mysqld start

Read More



Migrate WordPress to Google Cloud - How to do it ?


This article covers how to Migrate WordPress to Google Cloud. If you have a WordPress website, and want to move it on google cloud platform, then WordPress migration  is the way of achieving it. You can move your WordPress manually or by using a free or paid WordPress plugin.


To migrate WordPress to google cloud you have to follow those basic steps below:

  • Compress (Zip) your WordPress files folders.
  • Create a copy of your MySQL database.
  • Upload WordPress .zip file and MySQL .sql file to google cloud server.
  • Point your DNS to google cloud.


To migrate WordPress to Google cloud  you have to export an exact copy of your database to google cloud. 

There are multiple ways to do that:

  • Export database using myPhpAdmin.
  • Export database using a free WordPress Plugin.
  • Export database using terminal (command line).

Read More



Reserve Google Cloud Static IP Address - How to do it ?


This article covers how to reserve static IP for our customers. In Compute Engine, each VM instance can have multiple network interfaces. Each interface can have both internal and external IP addresses. Forwarding rules can have external IP addresses for external load balancing or internal addresses for internal load balancing.


If a virtual machine (VM) instance requires a fixed external IP address that does not change, you can obtain a static external IP address for that instance by using one of the following options:

  • Reserve a new static external IP address and then assign the address to a new VM instance.
  • Promote an existing ephemeral external IP address to become a static external IP address.

Read More



Setup CloudFlare CDN for WordPress on Google Cloud


This article covers how to setup Cloudflare CDN for WordPress on Google Cloud. Google Cloud CDN (Content Delivery Network) uses Google's globally distributed edge caches to cache HTTP(S) Load Balanced content close to your website visitors or users. Basically, Google Cloud CDN leverages Google's globally distributed edge points of presence to accelerate content delivery for websites and applications served out of Google Compute Engine and Google Cloud Storage. Cloud CDN lowers network latency, offloads origins, and reduces serving costs.


How to Activate Google Cloud CDN on Google Cloud Platform ?

  • Login to Google Cloud platform (GCP).
  • Under Network services select Cloud CDN.
  • Click on Add origin.
  • Next, just select the load balancer from origin drop-down and click add.
  • At this point you will see the new CDN created.

Read More



FTP permission denied errors on Google Cloud - Fix it Now ?


This article covers methods to fix Permission denied errors.  Basically, with chmod 777, we should be able to avoid Permission denied errors when uploading files via FTP. 

In Linux OS system every file or folder belong to some user and groups. This type of system is there for better security. Unauthorized users and groups can not modify or ever read  a file or directory. Only the ROOT user have the privilege to access any file or folder in the systems,  other user cannot access root user’s files or folders. But root user can access any other users file or folders.


If you are seeing this error below,

Error /...  : open for write:permission denied
Error File transfer failed

It means that you don't have a proper permission to modify or upload that files.

To fix this issue, Upload and move files to desire location and change file or directory(folder) permission, you can easily fix you permission denied problem.

Read More



Google Cloud SDK error "Unzip Failed: Error opening zip file" - Fix it Now ?


This article covers how to fix Google Cloud error, "Unzip Failed: Error opening zip file". Basically, the Google Cloud SDK setup wizard triggers the "Unzip Failed: Error opening zip file" error mainly due to firewall restrictions.

To fix this error, do the following:

  • close your proxy.
  • add a new env: CLOUDSDK_PYTHON=\your Python27 path\python.exe

Read More



iisnode encountered an error when processing the request - Fix it Now ?


This article covers methods to resolve "iisnode encountered an error when processing the request" error.

Basically, this iisnode error triggers when the application pool doesn't have enough permissions to write to the current folder. 

Therefore, you need to Allow, 'Full Control', for user 'IIS_IUSRS', from 'Advanced Security' upon right clicking your application root directory.


This error simply denotes that Your application pool doesn't seem to have enough permissions to write to the current folder.

1. You can either edit the permissions to give the IIS_IUSRS group write permissions to that folder

2. Go into the advanced settings menu and under Process Model -> Identity change the user account to a user that already has write permissions.

Read More



Cloud SQL Proxy error – An attempt was made to access a socket


This article covers methods to resolve Cloud SQL Proxy error. 

The Cloud SQL Proxy error looks like this:

An attempt was made to access a socket in a way forbidden by its access permissions


Therefore you cannot bind to it while it's running:

The SQL Server engages the 3306 port locally. 

1. Stop the SQL Server to bind the CloudSQL Proxy to it.

2. Incase of Windows 10: Go to Task Manager -> Services -> MySQL57

3. Right click and stop that task. 

4. Once you have done that try running the same command again. 

It'll work and show as output:

Listening on 127.0.0.1:3306 for <instance-name>


Requirements for using the Cloud SQL Auth proxy.

To use the Cloud SQL Auth proxy, you must meet the following requirements:

1. The Cloud SQL Admin API must be enabled.

2. You must provide the Cloud SQL Auth proxy with Google Cloud authentication credentials.

3. You must provide the Cloud SQL Auth proxy with a valid database user account and password.

4. The instance must either have a public IPv4 address, or be configured to use private IP.

The public IP address does not need to be accessible to any external address (it does not need to be added as an authorized network address).

Read More



Push Notification using Firebase Cloud Messaging


This article will guide you on steps to set up push notifications. Also, you will learn how to set up push notification using Firebase.  

#Firebase #Notifications is a free service that enables user notifications for Android and iOS devices. These notifications can be directed at your individual users; to topics that they subscribe to; or to segments defined by analytics audiences.

Notification messages are handled by the FCM SDK automatically and displays the message to end-user devices on behalf of the client app. Notification messages have a predefined set of user-visible keys and an optional data payload of custom key-value pairs.

To the end user, push notifications may not seem noticeably different from marketing communications via SMS or email. 

However, from a mobile app's end, push notifications are an enormous improvement in terms of reliability and sophistication to SMS.

To check my firebase push notifications:

1. #Install and run the app on the target device.

2. Make sure the app is in the background on the device.

3. Open the Notifications composer and select New notification.

4. Enter the message text.

5. Select Send test message.

Read More



Setting up client access over private IP address to MySQL on Compute Engine


This article will guide you on setting up client access over private IP address to #MySQL on #Compute #Engine helps advanced usage of parameters and specific performance needs.

To allow IP to connect to MySQL:

1. Edit MySQL Config File. 1.1 Access mysqld.cnf File. 

2. Set up Firewall to Allow Remote MySQL Connection. While editing the configuration file, you probably observed that the default MySQL port is 3306. 

3. Connect to Remote MySQL #Server. Your remote server is now ready to accept connections.

Read More




For Linux Tutorials

We create Linux HowTos and Tutorials for Sys Admins. Visit us on LinuxAPT.com

Also for Tech related tips, Visit forum.outsourcepath.com or General Technical tips on www.outsourcepath.com






Focus on your business, not your servers.

Click Here to Learn More