AWS RDS 支持多种许可模式,包括带许可证的模式和自由开源软件模式。以下是如何设置这些许可模式的示例。
示例代码:
aws rds create-db-instance
--engine postgres
--engine-version 9.4.9
--license-model postgresql-license
--db-instance-class db.t2.small
--master-username mymasteruser
--master-user-password mymasterpassword
--db-instance-identifier mypostgresqlrds
示例代码:
aws rds create-db-instance
--engine mysql
--engine-version 5.7.17
--license-model general-public-license
--db-instance-class db.t2.micro
--master-username mymasteruser
--master-user-password mymasterpassword
--db-instance-identifier mymysqlrds
注意:请根据您要使用的许可模式和软件类型更改上面的示例代码。