Requirements      
Prerequisite knowledge
Required Adobe products
Additional required other products
User level
A basic understanding of Adobe ColdFusion application server, Amazon Web Services (a cloud-computing platform offered by Amazon), hands-on with Windows and Unix operating systems. 
  • A web browser
Intermediate

 

Adobe ColdFusion on Cloud offers a way to easily leverage ColdFusion as a scalable service through Amazon Web Services (AWS). This article helps you get started with ColdFusion 11 on Amazon Web Services. The steps required to set up a ColdFusion AMI are as follows:
 
  1. Accessing the ColdFusion Amazon Machine Image (AMI).
  2. Launching ColdFusion 11 server.
To get this offering, buy  ColdFusion AMI (an Amazon Machine Image) from the Amazon market place.  The AMI is available for Windows and Ubuntu operating systems. ColdFusion Windows AMI comes with the Windows 2012 Standard operating system, configured with IIS web server  8.0.9200 (Internet Information Services) and a pre-installed MySQL database server, version 5.6.17. ColdFusion Ubuntu AMI comes with Ubuntu 14.04 LTS operating system, configured with Apache web server version 2.4.7 and a pre-installed MySQL database server, version 5.5.x. Both AMIs have JRE 1.7.55 64-bit built into them.
For a list of supported Amazon instance types, see the Amazon marketplace page.
Note: It is recommended to install the latest ColdFusion hotfix update available before usage. 
On Windows Server 2012 Standard, the following hotfixes are installed:
 
  • KB2955163
  • KB2956037
On Ubuntu AMI, the updates are configured to run on the first launch of the machine by user.

 
Accessing ColdFusion on AWS (Amazon Web Services)

The following sections explain how to access the ColdFusion AMI and launch the ColdFusion 11 server to put your AMI into action.
 
Accessing ColdFusion Amazon Machine Image (AMI)
First, register or log on to the Amazon Web Services website with the following steps:
  1. Go to Amazon Web Services website and sign in if you already have an account. If you do not, create a new account. Amazon will ask for your payment information (you will not be charged until you use AWS) and verify your contact and billing information (you will receive a phone call and be asked to enter a PIN number they assign to you during your sign-up process).
  2. Save your Amazon credentials in a safe place so that you can use them for the following sections.
  3. Buy the ColdFusion AMI. Before going to the URLs below, log on with your Amazon credentials and then purchase your AMI from the Amazon market place, in the following locations:     
    1. Windows
    2. Ubuntu

  4. Launch your AMI through the 1-click or ec2 console mechanism. For more information about each of these mechanisms, see the Amazon marketplace resource  Subscribing, Launching, and Managing Products.
  5. Connect to your AMI. For details on how to connect to Windows instance, see Connecting to Windows Instances. To connect to an Ubuntu instance, see Connecting to Linux/UNIX Instances Using SSH.   
ColdFusion is pre-installed on the Ubuntu and Windows AMIs. You can configure them using jumpstart tool.
 
Launching ColdFusion 11 server
Now you have access to ColdFusion AMI on AWS ec2 (Amazon Elastic Compute Cloud) instance. After you connect to the instance, the jumpstart tool launches and runs automatically. This section guides you through using this tool to configure ColdFusion server.
 
Configuring ColdFusion for a Windows instance
 
When you access the Windows instance for the first time, the jumpstart tool launches and guides you through configuring ColdFusion 11 on Cloud.
  1. Read and accept the End-user License Agreement .
  2. (Optional) Enable/Disable Servlets
  3. Provide a user name and password to set up user credentials for the Remote Instance Administrator Component.
  4. Provide a password for the ColdFusion Administrator.
  5. Review the ColdFusion Server Profile screen. Note that Production Profile + Secure Profile is the only profile allowed. For more information on ColdFusion Server Profile, read this document.
  6. On the Pre-Installation Summary screen, review the pre-installation summary and press Enter.
  7. On the Installation Complete screen, once the installation is complete, click Done.
    The installer starts the ColdFusion server automatically with the configuration details you provided. ColdFusion server installs with the default location of C:\ColdFusion11, with the IIS web server root located at
    C:\inetpub\wwwroot. IIS server runs on default port 80.
    You can use MySQL database server pre-installed on the instance as well. The credentials of the root user for the database server are as follows:
    • Username: root
    • Password: admin
For security reasons, I strongly recommend that you change the credentials for MySQL database server after installing the ColdFusion AMI.
 

Configuring ColdFusion for the Ubuntu instance

 
When you access the Ubuntu instance, enter the user name as "ubuntu" when prompted. This launches the jumpstart tool. Press Enter to continue when prompted. Use the following steps to configure your ColdFusion Ubuntu instance:
  1. Read and accept the End-user License Agreement .
  2. (Optional) Enable/Disable Servlets
  3. Provide a user name and password to set up user credentials for the Remote Instance Administrator Component.
  4. Provide a password for the ColdFusion Administrator.
  5. Review the ColdFusion Server Profile screen. Note that Production Profile + Secure Profile is the only profile allowed. For more information on ColdFusion Server Profile, read this document.
  6. Review the pre-installation summary and press Enter.
  7. Once the installation is complete, the installer starts the ColdFusion server automatically with the configuration details you provided. ColdFusion server is installed at /opt/coldfusion11 with the Apache Web Server Root located at /var/www/html. Apache server runs on default port 80.
  8. Note: At any point in time during configuration, type "back" if you want to traverse back a step.
  9. You can use the MySQL database server pre-installed on the instance. The credentials for the root user are: Username: root and Password: admin
  10. For security reasons, I strongly recommend that you change the credentials for MySQL database server after installing the ColdFusion AMI.
You have now installed ColdFusion Server in Enterprise Edition; it's up and running, ready to be used.
Note: You cannot start ColdFusion server on the instance until you have configured it successfully.

 
Where to go from here

This article summarizes how to set up ColdFusion 11 on the AWS (Amazon Web Services) instance and to access it. ColdFusion 11 on Cloud is offered with Windows and Ubuntu operating systems.  Read more about Adobe ColdFusion on Cloud in the documentation: ColdFusion 11 on Cloud. For more information on ColdFusion 11, see the documentation on Adobe ColdFusion 11.