Not a developer? Go to MovableType.com

Documentation

Work with EC2 Instance User Data

Movable Type AMI Edition with Amazon Linux 2023 supports Instance User Data to switch web server and set some Movable Type Configuration Directives at initial launch.

Example

Web=httpd
DefaultLanguage=en
DefaultTimezone=9
DBHost=localhost
DBPort=3306
Database=movabletype
DBUser=username
DBPassword=password

Configurations

Web

Specify web server working on the Instance Values: httpd or nginx Default value: httpd

Movable Type Configuration Directives

DefaultLanguage, DefaultTimezone,DBHost, DBPort, Database, DBUser, DBPassword

Note:

  • The settings of DBPort, Database, DBUser and DBPassword are reflected when DBHost is not localhost. If DBHost is localhost or empty, the database server will load on the instance with default settings and the settings of DBPort, Database, DBUser, DBPassword are ignored.
  • If DBHost is set to anything other than localhost, the database server will not load on the instance.
  • The settings of DBHost, DBPort, Database, DBUser and DBPassword just reflects to mt-config.cgi. In issues to connect, check not only settings of user data but also the settings of Security Group or Network configuration.
Back