Differences between revisions 5 and 6
Revision 5 as of 2019-09-05 13:46:01
Size: 2122
Editor: nodiscc
Comment: add categories
Revision 6 as of 2019-10-16 13:12:12
Size: 0
Editor: ?ThomasLange
Comment: work on this is stalled > 3 years
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<<TableOfContents()>>

= Oracle Compute Cloud Service =

Oracle Compute Cloud Service home page: https://cloud.oracle.com/en_US/compute

= Debian Images =

Oracle demonstrated interested in having Debian images in their cloud platform since the [[https://lists.debian.org/debian-cloud/2015/08/msg00017.html | end of Aug 2015]]. The work is led by [[TiagoIlieve | Tiago Ilieve]], member of the [[Teams/Cloud | Debian Cloud Team]] and upstream developer of [[http://bootstrap-vz.readthedocs.org/ | bootstrap-vz]].

= Image Characteristics =

There's a few things that have to be installed/configured for a Debian image to work on Oracle Cloud:

  * [[https://cloudinit.readthedocs.org/ | cloud-init]] fetching meta-data from the default URL http://169.254.169.254/2009-04-04/meta-data/
  * [[https://packages.debian.org/jessie/dhcpcd5 | dhcpcd5]] instead of [[https://packages.debian.org/jessie/isc-dhcp-client | isc-dhcp-client]].

The default user is "'''opc'''", which will be configured with the SSH public keys selected during instance creation. Logins with root and password authentication are disabled by default.

= Build an image =

Install `apt`/`pip` dependencies:

{{{
$ sudo apt-get install debootstrap git parted kpartx qemu-utils python-pip
$ sudo pip install termcolor jsonschema fysom docopt pyyaml
}}}

Clone the bootstrap-vz repository:

{{{
$ git clone https://github.com/andsens/bootstrap-vz.git
}}}

Bootstrap a new image:

{{{
$ cd bootstrap-vz/
$ sudo ./bootstrap-vz --debug manifests/official/oracle/jessie.yml
}}}

The resulting `.tar.gz` tarball has to be uploaded using the Oracle Compute Cloud Service dashboard.

= Development =

The bootstrap-vz development is done [[https://github.com/andsens/bootstrap-vz | on GitHub]]. Bugs regarding the tool should be opened as issues in there, but problems with the images should be reported against the [[ https://bugs.debian.org/cgi-bin/pkgreport.cgi?pkg=cloud.debian.org | cloud.debian.org ]] pseudo-package on Debian Bug Tracking System.

----

CategoryVirtualization | CategorySystemAdministration