

Using CA AppLogicĀ® › Appliance Developer Guide › Appliance Kit › Appliance Cookbook › Creating a VPS Template
Creating a VPS Template
This recipe builds on the Blank Appliance one, and adds the following customizations, appropriate for using the appliance as a general purpose virtual server:
- An internet-accessible network interface.
- Secondary SSH login with its own configuration file and access key setup, independent of the automatic setup performed by APK for the benefit of the ssh command of the CA AppLogic® shell.
- Configuration properties to facilitate the use of the VPS appliance class for easy provisioning (That is, simple/automated making of copies of the VPS to rent out to clients).
The first step is to create the OS image for the future VPS template. The Blank Appliance recipe described above can be used, or one can start from an existing blank appliance class. Here is what needs to be set up differently:
- Larger disk volume, with more software pre-installed
- The appliance class will not become a catalog class, instead the entire application containing the VPS component is saved as a template.
- The root password is set to empty before saving the application as a template - this is used as an indication to the startup script to initialize the password (see VPS Server Configuration for more on root password configuration).
- The external interface is enabled in the component descriptor (Edit Class, Interfaces, External interface).
This section contains the following topics:
VPS Server Configuration
Setting up two SSH server instances
Final Steps
Copyright © 2012 CA.
All rights reserved.
 
|
|