AWS CloudFormation TYPO3 Introduction Package Template

21 October 2013 Comments Off

Hosting in the cloud becomes more and more a common practice, including for TYPO3 projects, and easy deployment is very important.  Amazon is one of the most popular providers and we had the opportunity to try it out for one of our projects.

AWS CloudFormation offers the possibility to create new instances using custom or existing configuration templates. For details about the AWS CloudFormation and the configuration templates use the following links: http://aws.amazon.com/cloudformation/aws-cloudformation-templates, http://aws.amazon.com/cloudformation.

As we did not find an existing template for TYPO3, we have made one, and as you can see further, it is actually quite simple to do that.

To create a new instance which downloads automaticaly the TYPO3 Introduction Package you have to:

  • - download the configuration file
  • - login to your amazon web service account
  • - go to the CloudFormation page
  • - create a new stack by uploading the TYPO3 Introduction Package template file
  • - specify the TYPO3 database name and the mysql acces to the database you need, the keyname for the ssh acces
  • - go to the last step, save and the new instance is ready

After you have created the instance, use the instance’s link into the browser, follow the steps to install the TYPO3 Introduction Package and the site will be ready to use.

The AWS CloudFormation template for the TYPO3 Introduction package contains the settings for:

  • - install the apache, mysql and php
  • - download the TYPO3 Introduction Package source from http://get.typo3.org/introduction
  • - unzip de code and copy the folders to /var/www/hml/
  • - create the ENABLE_INSTALL_TOOL file into the typo3conf folder
  • - add write access to the following folders:
    • - fileadmin
    • - typo3conf
    • - typo3temp
    • - uploads

You can download the template from here.

Author: Diana Precup