Difference between revisions of "UECBundlingImages"

From OnnoWiki
Jump to navigation Jump to search
Line 1: Line 1:
Using UEC consists of creating and registering images with the Cloud Controller.
+
Penggunaan UEC pada dasarnya adalah proses membuat dan mendaftarkan Image ke Cloud Controller.
  
This page describes the process for Ubuntu 10.04 LTS.
+
Disini akan di jelaskan proses untuk Ubuntu 10.04 LTS.
  
There is more than one way to obtain a virtual image:
+
Ada beberapa cara untuk memperoleh virtual Image.
  
* Download an image from the network, bundle and upload it
+
* Download Image dari Internet, di bundel dan di uploadke Cloud Controller.
* Create a custom image using VMBuilder
+
* Membuat custom Image menggunakan VMBuilder.
* Use the Image store to download and install and image
+
* Menggunakan Image store untuk mendownload dan install Image.
  
Here we will describe the process of downloading one of the daily builds that are built and published automatically. The process is similar for Official Released Images
+
Disini akan di jelaskan proses untuk mendownload salah satu dari daily builds yang dibuat dan di publikasi secara automatis. Proses ini mirip untuk Official Released Images
  
 +
CATATAN:
 
Note: the shell variables that are set in the below code snippets are very useful for scripts or to reuse them when typing commands.
 
Note: the shell variables that are set in the below code snippets are very useful for scripts or to reuse them when typing commands.
  
Line 37: Line 38:
 
==Pranala Menarik==
 
==Pranala Menarik==
  
 
+
* [[Ubuntu Enterprise Cloud: Instalasi UEC]]
 +
* [[Ubuntu Enterprise Cloud: Pengambilan Credential]]
 +
* [[Cloud Computing]]
 +
* [[Linux Howto]]
  
 
[[Category: Linux]]
 
[[Category: Linux]]
 
[[Category: Cloud Computing]]
 
[[Category: Cloud Computing]]

Revision as of 07:15, 21 October 2010

Penggunaan UEC pada dasarnya adalah proses membuat dan mendaftarkan Image ke Cloud Controller.

Disini akan di jelaskan proses untuk Ubuntu 10.04 LTS.

Ada beberapa cara untuk memperoleh virtual Image.

  • Download Image dari Internet, di bundel dan di uploadke Cloud Controller.
  • Membuat custom Image menggunakan VMBuilder.
  • Menggunakan Image store untuk mendownload dan install Image.

Disini akan di jelaskan proses untuk mendownload salah satu dari daily builds yang dibuat dan di publikasi secara automatis. Proses ini mirip untuk Official Released Images

CATATAN: Note: the shell variables that are set in the below code snippets are very useful for scripts or to reuse them when typing commands.

  • Download the UEC image for the architecture you want. You can do it from your browser or from the command line:
TIMESTAMP=$(date +%Y%m%d%H%M%S)
RELEASE=lucid
ARCH=amd64    # Or this might be i386
[ $ARCH = "amd64" ] && IARCH=x86_64 || IARCH=i386
UEC_IMG=$RELEASE-server-uec-$ARCH
URL=http://uec-images.ubuntu.com/$RELEASE/current/
[ ! -e $UEC_IMG.tar.gz ] &&  wget $URL/$UEC_IMG.tar.gz
uec-publish-tarball $UEC_IMG.tar.gz $RELEASE-$TIMESTAMP
  • Now, your kernel and image will have been uploaded into Eucalyptus and should be ready to run. To confirm, run the following command:
euca-describe-images
EMI=$(euca-describe-images | grep emi- | head -n1 | awk '{print $2}')

You should see a registered kernel and image and they should be marked as 'available'.

Referensi

Pranala Menarik