Over a million developers have joined DZone.

Google Compute Quickstart: Creating an Instance and Installing Apache

DZone's Guide to

Google Compute Quickstart: Creating an Instance and Installing Apache

· Cloud Zone
Free Resource

Download the Essential Cloud Buyer’s Guide to learn important factors to consider before selecting a provider as well as buying criteria to help you make the best decision for your infrastructure needs, brought to you in partnership with Internap.

I've been poking around the Google Developers site lately while doing some groundwork for DZone's upcoming Guide to Developer Programs, and I'm always somewhat shocked at the level of documentation that Google provides for their developers. It's just an endlessly useful resource for many developers, so it's worth pointing out some of the interesting product resources they've provided. I was particularly interested in the Google Compute Engine resource page, and a useful quickstart tutorial they provide there for creating a instance and installing an Apache web server.

This quickstart tutorial is pretty basic first steps but it's a necessary starting point:

  1. Start a virtual machine

    To start, you will create a virtual machine instance with a machine type, an image, and a root persistent disk.

  2. Configure a firewall to allow traffic to and from the Internet

    In step 2 of this exercise, you will create a firewall rule to allow external traffic to and from the Internet.

  3. Install an Apache server to serve web pages

    Next, you will ssh into your virtual machine and install the Apache web server.

  4. Lastly and optionally, we'll discuss how to delete your resources after you're done with them.

The actual tutorial goes into much more depth than the summary above. Go ahead and read it to get the full scoop. There's also a full video of the tutorial that will walk you through the instructions.

If you're aware of any other interesting tutorials I might be overlooking, please point them out to me.

The Cloud Zone is brought to you in partnership with Internap. Read Bare-Metal Cloud 101 to learn about bare-metal cloud and how it has emerged as a way to complement virtualized services.


Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}