简体   繁体   中英

How to include 'mysql_secure_installation' using CloudFormation template in AWS

使用mysql_secure_installation在模板中包括mysql_secure_installation步骤的最佳方法是什么?

Take a look at Deploying Applications on Amazon EC2 with AWS CloudFormation . Specifically the UserData property and Metadata properties.

You can use either one of those to run the mysql_secure_installation command when the instance launches.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM