CSS Corp Open Source Services

Posts Tagged ‘Eucalyptus Guide

PDF version of Eucalyptus Beginner’s Guide – UEC Edition

leave a comment »

We have just released the PDF version of “Eucalyptus Beginner’s Guide – UEC Edition, V1.0” and you can download it from https://cssoss.files.wordpress.com/2010/06/book_eucalyptus_beginners_guide_uec_edition1.pdf.  Please help us enhance the book by posting your suggestions as comments here.

The latest version of the pdf will also be availble from http://www.csscorp.com/enterprise-it-support/open-source-services.php .

Advertisements

Eucalyptus Beginner’s Guide – UEC Edition

with 16 comments

Table of Contents

  1. Introduction to UEC and its components
  2. Installation & Configuration
  3. Web Interface
  4. Image Management
  5. Instance Management
  6. Storage Management
  7. Network Management
  8. Security
  9. Troubleshooting
  10. Euca Commands
  11. Hacks

This is a live book and will be updated on an ongoing basis based on your feedback and comments.

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 7 – Network Management

with 3 comments

Chapter 6
Storage Management
Chapter 8
Security

Eucalyptus Networking

System

In System mode, CC generates and assigns a random MAC address to the VM instance while requesting NC to bring up the instance. NC attaches the VM instance’s virtual NIC to the physical NIC on the node through a bridge. This mode requires that the Nodes are connected to the enterprise network directly. Instances obtain an IP address using DHCP, just as physical machines on the network do.

This mode is very easy to setup as it does not have any additional prerequisites in terms of networking, except for a running DHCP server on enterprise network, and is a good way to get started with Eucalyptus, particularly if you want to set it up on your laptop/desktop to get a basic understanding.

This mode of networking is similar to “Bridged Networking” that hypervisors like VMware, VirtualBox etc. offer or like “tap” networking offered by KVM/Qemu.

Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 2 – Installation & Configuration

with 42 comments

Chapter 1
Introduction to UEC and its components
Chapter 3
Web Interface

The following sections describe how to install and configure a basic UEC setup spanning 3 servers. 2 Servers(Server1 and Server2) will run Lucid 64-bit server version and the third server will run Lucid Desktop 64-bit version(Client1). We have decided on installing the Desktop version on Client1 so that we can use Firefox or other browsers to access the web interface of UEC and also to use RDP/VNC clients during the image creation process.

UEC SETUP

What we have used as a sample setup is a typical minimal Eucalyptus setup. Client1 above need not be a dedicated machine. If you need to setup Eucalyptus on a single server, you can refer to UEC: CC and NC on a single machine . However, such a setup will not support Managed and Managed-NOVLAN modes of networking. Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 4 – Image Management

with 22 comments

Chapter 3
Web Interface
Chapter 5
Instance Management

Eucalyptus Machine Image(EMI)

A Eucalpyptus Machine Image(EMI) is a combination of a virtual disk image(s), kernel and ramdisk images as well as an xml file containing meta data about the image. These images reside on WS3 and used as templates for creating instances on UEC. Each Linux EMI is a combination of the following:

  • An XML file with a name like “karmic.img.manifest.xml” with information about one or more hard disk images, a kernel image and a ram disk image (id – emi-65440E7E)
  • An XML file with a name like “vmlinuz-2.6.28-11-server.manifest.xml” with information about the corresponding kernel image(id – eki-39FC1244)
  • An XML file with a name like “initrd.img-2.6.28-11-server.manifest.xml” with information about the corresponding ramdisk image(id – eri-71ED1322)

Each of these images has its own ID that can be used while running the instances. More on this in the chapter on “Managing Instances” Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 8 – Security

leave a comment »

Chapter 7
Network Management
Chapter 9
Troubleshooting

Eucalyptus provides ingress filtering for the instances based on the concept of security groups. A Security Group is a named set of rules that Eucalyptus applies to the incoming packets for the instances in Managed and Managed-NOVLAN modes. You can specify a security group while launching an instance. Each security group can have multiple rules associated with it. Each rule specifies the source IP/network, protocol type, destination ports etc. Any packet matching these parameters specified in a rule is allowed in. Rest of the packets are blocked. Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 3 – Web Interface

with 2 comments

Chapter 2
Installation & Configuration
Chapter 4
Image Management

Ubuntu Enterprise Cloud provides a minimal web interface to manage user credentials, manage images, administer user accounts, etc.

In our sample setup, the web interface is accessible at:

https://192.168.10.121:8443/

You have already finished setting up the password for the admin user of the web interface while working on Desktop1 in the chapter on “Installation & Configuration”.

A user trying to access the interface for the first time, would need to sign up and would be able to use the interface after the account is approved by the administrator. The approval of the account by the administrator results in an emal to the user.

Read the rest of this entry »