Differences between revisions 2 and 52 (spanning 50 versions)
Revision 2 as of 2013-04-22 11:39:44
Size: 2755
Editor: BrianGupta
Comment: Incorporated Jimmy's first email into content
Revision 52 as of 2017-07-07 17:12:19
Size: 4195
Editor: ?ZachMarano
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
Cloud/[[Google Compute Engine]] Image lists for Google Compute Engine <<TableOfContents>>
Line 4: Line 4:
== Official Debian AMIs ==
(Work in Progress)
Cloud/[[GoogleComputeEngine]] Image lists for Google Compute Engine
Line 7: Line 6:
For discussion about Debian on various cloud providers, please visit [[http://lists.debian.org/debian-cloud/|Debian-Cloud mailing list]]. == Google Compute Engine Documentation ==
Google Compute Engine documentation:
[[https://cloud.google.com/compute/docs/]]
Line 9: Line 10:
== Image build script == Google Cloud SDK (gcloud CLI) Documentation
[[https://cloud.google.com/sdk/]]
Line 11: Line 13:
Anders Ingemann has created a build script for bootstrapping instances. The script runs fully automatic and needs no user interaction, custom scripts can be attached to the process as well. You can download or clone the script on [[https://github.com/andsens/build-debian-cloud | github]]. Any bugs or suggestions should be reported via the github issue tracker. == Debian Images ==
Line 13: Line 15:
== Procedure to build images == Google Compute Engine Debian images are built with bootstrap-vz. All the configuration and manifest data is provided open source as part of that project [[https://github.com/andsens/bootstrap-vz/tree/master/manifests/official/gce]].
Line 15: Line 17:
== Future Plans == Debian community members are welcome to help improve and maintain the images in Google Compute Engine. Issues can be filed in the compute-image-packages Github project [[https://github.com/GoogleCloudPlatform/compute-image-packages/issues]].
Line 17: Line 19:
The images deviate from official Debian images in order to make Debian work correctly on the platform and provide a baseline user experience. Details about what is configured or added is maintained in the Google Compute Engine Images documentation [[https://cloud.google.com/compute/docs/images]].
Line 18: Line 21:
== User contributed images == For discussion about Debian on various cloud providers, please visit the [[http://lists.debian.org/debian-cloud/|debian-cloud mailing list]].
Line 20: Line 23:
== Notes on Kernel ==
You may notice that all Google Compute Engine images are booted using an
injected Linux 3.3.8 kernel using a configuration to reduce security
vulnerabilities. Most notably, that configuration disables modules and access
to /dev/mem. We are working to add support for booting from arbitrary kernels,
as we know it’s an important freedom. In the meantime, /proc/config.gz will
show the enabled options. Kernel source code is available here:
=== SSH user accounts ===
SSH in Google Compute Engine is provided using user provided SSH keys. There is not a default account or password configured in GCE images. For more information on how to SSH into GCE Debian instances, refer to the Google Compute Engine SSH documentation:
[[https://cloud.google.com/compute/docs/instances/connecting-to-instance]]
Line 28: Line 27:
https://developers.google.com/compute/docs/kernels#source The software to facilitate SSH key based login via metadata is provided in the base images and is open source licensed under the Apache License 2.0 [[https://github.com/GoogleCloudPlatform/compute-image-packages]].
Line 30: Line 29:
== SSH user accounts ==
One intentional difference from the Amazon EC2 images is that, instead of
sshing in via a default “admin” account, we install a cron job in /etc/cron.d
to manage accounts in line with the Google Compute Engine documentation. See
here for how ssh works:
https://developers.google.com/compute/docs/hello_world#ssh
== Working with Future Images ==
Future images are available from the separate GCP project called `debian-cloud-testing`.
To list and use future images (like Debian Stretch atm) please use the following:
Line 37: Line 33:
== GCE Documentation ==
Google Compute Engine home page, including documentation:
https://developers.google.com/compute/
{{{
gcloud compute images list --project debian-cloud-testing --no-standard-images
gcloud compute instances create my-test-machine --image-project debian-cloud-testing --image-family debian-9
}}}

== Listing Current Images ==
To list the currently-recommended, newest versions of Debian images on Google Compute Engine, use the Google Cloud SDK command line tool gcloud [[https://cloud.google.com/compute/docs/gcloud-compute/]]:

{{{
gcloud compute images list --project=debian-cloud --no-standard-images
}}}

== Using An Image ==

To use the most up to date Debian 9 Stretch image, use the "debian-9" image family when creating a new instance.

{{{
gcloud compute instances create "<instance-name>" --image-project debian-cloud --image-family debian-9 --zone="<zone>"
}}}

== Listing Older and Deprecated Images ==

As Google Compute Engine releases new images, older images will be deprecated and eventually removed. When this happens, Google Compute Engine sets the deprecation status on an image.

{{{
gcloud compute images list --project=debian-cloud --no-standard-images --show-deprecated
}}}

== Building a Google Compute Engine Image ==

To build a Debian image for Google Compute Engine, follow the guide for building custom images in Google Compute Engine:
[[https://cloud.google.com/compute/docs/tutorials/building-images]]

You can also create your own bootstrap-vz manifest and build an image using the baseline manifests as an example:
[[https://github.com/andsens/bootstrap-vz/tree/master/manifests/official/gce]]
Line 43: Line 71:
If you have any questions, concerns, or general feedback, please don’t hesitate
to contact the Google Compute team (gc-team@google.com) or David McWherter
(cache@google
.com) or me (jimmy@debian.org or jkaplowitz@google.com) directly
about this effort.
If you have any questions, concerns, or general feedback, please don’t hesitate to contact the Google Compute team (gc-team@google.com) or open an issue in the compute-image-packages Github project [[https://github.com/GoogleCloudPlatform/compute-image-packages/issues]].
Line 48: Line 73:
== Unsorted notes == == Google Compute Engine Debian Experiments Project ==
Line 50: Line 75:
Gaining access: We’ve created two projects for Debian’s use for Google Compute
Engine. Billing for Compute and Storage has been waived on these projects.
The first project, ‘debian-cloud’ is intended for pushing new images for
customers. The second project ‘debian-cloud-experiments’ is intended for
Debian volunteers to experiment with the project. It has a small quota and
must be shared. We can work with Debian to maintain who can use these
projects, or we can push management off to trusted parties in Debian. Google
Compute Engine is working toward toward general availability, so over time it
will become easier for anyone to get involved.
A project, "debian-cloud-experiments", for Debian is available with limited quota for Debian Developers to experiment with the platform. Please let us know if you would like access to experiment in this project.

Cloud/GoogleComputeEngine Image lists for Google Compute Engine

Google Compute Engine Documentation

Google Compute Engine documentation: https://cloud.google.com/compute/docs/

Google Cloud SDK (gcloud CLI) Documentation https://cloud.google.com/sdk/

Debian Images

Google Compute Engine Debian images are built with bootstrap-vz. All the configuration and manifest data is provided open source as part of that project https://github.com/andsens/bootstrap-vz/tree/master/manifests/official/gce.

Debian community members are welcome to help improve and maintain the images in Google Compute Engine. Issues can be filed in the compute-image-packages Github project https://github.com/GoogleCloudPlatform/compute-image-packages/issues.

The images deviate from official Debian images in order to make Debian work correctly on the platform and provide a baseline user experience. Details about what is configured or added is maintained in the Google Compute Engine Images documentation https://cloud.google.com/compute/docs/images.

For discussion about Debian on various cloud providers, please visit the debian-cloud mailing list.

SSH user accounts

SSH in Google Compute Engine is provided using user provided SSH keys. There is not a default account or password configured in GCE images. For more information on how to SSH into GCE Debian instances, refer to the Google Compute Engine SSH documentation: https://cloud.google.com/compute/docs/instances/connecting-to-instance

The software to facilitate SSH key based login via metadata is provided in the base images and is open source licensed under the Apache License 2.0 https://github.com/GoogleCloudPlatform/compute-image-packages.

Working with Future Images

Future images are available from the separate GCP project called debian-cloud-testing. To list and use future images (like Debian Stretch atm) please use the following:

gcloud compute images list --project debian-cloud-testing --no-standard-images
gcloud compute instances create my-test-machine --image-project debian-cloud-testing --image-family debian-9

Listing Current Images

To list the currently-recommended, newest versions of Debian images on Google Compute Engine, use the Google Cloud SDK command line tool gcloud https://cloud.google.com/compute/docs/gcloud-compute/:

gcloud compute images list --project=debian-cloud --no-standard-images

Using An Image

To use the most up to date Debian 9 Stretch image, use the "debian-9" image family when creating a new instance.

gcloud compute instances create "<instance-name>" --image-project debian-cloud --image-family debian-9 --zone="<zone>"

Listing Older and Deprecated Images

As Google Compute Engine releases new images, older images will be deprecated and eventually removed. When this happens, Google Compute Engine sets the deprecation status on an image.

gcloud compute images list --project=debian-cloud --no-standard-images --show-deprecated

Building a Google Compute Engine Image

To build a Debian image for Google Compute Engine, follow the guide for building custom images in Google Compute Engine: https://cloud.google.com/compute/docs/tutorials/building-images

You can also create your own bootstrap-vz manifest and build an image using the baseline manifests as an example: https://github.com/andsens/bootstrap-vz/tree/master/manifests/official/gce

Google Contacts

If you have any questions, concerns, or general feedback, please don’t hesitate to contact the Google Compute team (gc-team@google.com) or open an issue in the compute-image-packages Github project https://github.com/GoogleCloudPlatform/compute-image-packages/issues.

Google Compute Engine Debian Experiments Project

A project, "debian-cloud-experiments", for Debian is available with limited quota for Debian Developers to experiment with the platform. Please let us know if you would like access to experiment in this project.