6.2

Table Of Contents
3 Download and install the supported JRE packages for an RPM-based AMI.
a On a machine in the same network as Application Services, download the JRE package from
http://Application_Director_IP/agent/jre-7u45-linux-ArchitectureName.rpm, where the
ArchitectureName is i586 for 32-bit and amd64 for 64-bit.
b Upload the JRE package to the Amazon EC2 instance.
c From the Amazon EC2 instance, enter rpm -i jre-7u45-linux-ArchitectureName.rpm to
install the package.
4 Download and install the Application Services agent bootstrap service for an RPM-based AMI.
a On a machine in the same network as Application Services, download the agent bootstrap
service from http://Application_Director_IP/agent/vmware-appdirector-agent-service-
ec2_5.2.0.0-0_ArchitectureName.rpm, where the ArchitectureName is i386 for 32-bit and x86_64
for 64-bit.
b Upload the agent bootstrap service to the Amazon EC2 instance.
c From the Amazon EC2 instance, enter
rpm -i vmware-appdirector-agent-service-ec2_5.2.0.0-0_ArchitectureName.rpm to
install the service.
5 (Optional) Add a second Ethernet device eth1 on the CentOS operating system.
a Locate the ifcfg-eth0 file.
b Copy the contents of the file to the ifcfg-eth1 file.
c In the ifcfg-eth1 file, replace all of the DEVICE=eth0 strings with DEVICE=eth1 and save your
changes.
The second Ethernet device lets you deploy a virtual machine-based on this AMI with more than one
NIC.
6 (Optional) Erase the Linux command history to secure the AMI you will create.
a Delete the Linux command history saved in the .bash_history file.
cat /dev/null > ~/.bash_history
b Delete the Linux command history in the current Bash login session.
history -c
7 In the AWS console, stop the Amazon EC2 instance.
Caution If you terminate the instance, you lose all of your changes.
Using Application Services
VMware, Inc. 96