Settings for DB instances
In the following table, you can find details about settings that you choose when you create a DB instance. The table also shows the DB engines for which each setting is supported.
You can create a DB instance using the console, the create-db-instance CLI command, or the CreateDBInstance RDS API operation.
| Console setting | Setting description | CLI option and RDS API parameter | Supported DB engines |
|---|---|---|---|
|
Allocated storage |
The amount of storage to allocate for your DB instance (in gibibytes). In some cases, allocating a higher amount of storage for your DB instance than the size of your database can improve I/O performance. For more information, see Amazon RDS DB instance storage. |
CLI option:
API parameter:
|
All |
| Architecture settings |
If you choose Oracle multitenant architecture, RDS for Oracle creates a container database (CDB). If you don't choose this option, RDS for Oracle creates a non-CDB. A non-CDB uses the traditional Oracle database architecture. A CDB can contain pluggable databases (PDBs) whereas a non-CDB cannot. Oracle Database 21c uses the CDB architecture only. Oracle Database 19c can use either the CDB or non-CDB architecture. Releases lower than Oracle Database 19c use the non-CDB architecture only. For more information, see Overview of RDS for Oracle CDBs. |
CLI option:
API parameter:
|
Oracle |
| Architecture configuration |
These settings are only valid when you choose Oracle multitenant architecture for Architecture settings. Choose either of the following additional settings:
Regardless of which configuration you choose, your CDB contains a single initial PDB. In the multi-tenant configuration, you can create more PDBs later using RDS APIs. For more information, see Overview of RDS for Oracle CDBs. |
CLI option:
API parameter:
|
Oracle |
| Auto minor version upgrade |
Choose Enable auto minor version upgrade to enable your DB instance to receive preferred minor DB engine version upgrades automatically when they become available. This is the default behavior. Amazon RDS performs automatic minor version upgrades in the maintenance window. If you don't choose Enable auto minor version upgrade, your DB instance isn't upgraded automatically when new minor versions become available. For more information, see Automatically upgrading the minor engine version. |
CLI option:
API parameter:
|
All |
| Availability zone |
The Availability Zone for your DB instance. Use the default value of No Preference unless you want to specify an Availability Zone. For more information, see Regions, Availability Zones, and Local Zones. |
CLI option:
API parameter:
|
All |
|
AWS KMS key |
Only available if Encryption is set to Enable encryption. Choose the AWS KMS key to use for encrypting this DB instance. For more information, see Encrypting Amazon RDS resources. |
CLI option:
API parameter:
|
All |
| AWS License Manager configuration |
Enter a name for an AWS License Manager license configuration. The name must be 100 characters or less, and only include a-z, A-Z, and 0-9. For more information, see Integrating with AWS License Manager. |
CLI option: For more information, see AWS License Manager CLI. API parameter: For more information, see AWS License Manager API. |
Db2 |
| Backup replication |
Choose Enable replication in another AWS Region to create backups in an additional Region for disaster recovery. Then choose the Destination Region for the additional backups. |
Not available when creating a DB instance. For information on enabling cross-Region backups using the AWS CLI or RDS API, see Enabling cross-Region automated backups for Amazon RDS. |
Db2 Oracle PostgreSQL SQL Server |
| Backup retention period |
The number of days that you want automatic backups of your DB
instance to be retained. For any nontrivial DB instance, set this value to
For more information, see Introduction to backups. |
CLI option:
API parameter:
|
All |
| Backup target |
Choose AWS Cloud to store automated backups and manual snapshots in the parent AWS Region. Choose Outposts (on-premises) to store them locally on your Outpost. This option setting applies only to RDS on Outposts. For more information, see Creating DB instances for Amazon RDS on AWS Outposts. |
CLI option:
API parameter:
|
MySQL, PostgreSQL, SQL Server |
| Backup window |
The time period during which Amazon RDS automatically takes a backup of your DB instance. Unless you have a specific time that you want to have your database backed up, use the default of No Preference. For more information, see Introduction to backups. |
CLI option:
API parameter:
|
All |
|
Certificate authority |
The certificate authority (CA) for the server certificate used by the DB instance. For more information, see Using SSL/TLS to encrypt a connection to a DB instance or cluster . |
CLI option:
RDS API parameter:
|
All |
| Character set |
The character set for your DB instance. The default value of AL32UTF8 for the DB character set is for the Unicode 5.0 UTF-8 Universal character set. You can't change the DB character set after you create the DB instance. In a single-tenant configuration, a non-default DB character set affects only the PDB, not the CDB. For more information, see Single-tenant configuration of the CDB architecture. The DB character set is different from the national character set, which is called the NCHAR character set. Unlike the DB character set, the NCHAR character set specifies the encoding for NCHAR data types (NCHAR, NVARCHAR2, and NCLOB) columns without affecting database metadata. For more information, see RDS for Oracle character sets. |
CLI option:
API parameter:
|
Oracle |
| Collation |
A server-level collation for your DB instance. For more information, see Server-level collation for Microsoft SQL Server. |
CLI option:
API parameter:
|
SQL Server |
| Copy tags to snapshots |
This option copies any DB instance tags to a DB snapshot when you create a snapshot. For more information, see Tagging Amazon RDS resources. |
CLI option:
RDS API parameter:
|
All |
| Database authentication |
The database authentication option that you want to use. Choose Password authentication to authenticate database users with database passwords only. Choose Password and IAM DB authentication to authenticate database users with database passwords and user credentials through users and roles. For more information, see IAM database authentication for MariaDB, MySQL, and PostgreSQL. This option is only supported for MySQL and PostgreSQL. Choose Password and Kerberos authentication to authenticate database users with database passwords and Kerberos authentication through an AWS Managed Microsoft AD created with Directory Service. Next, choose the directory or choose Create a new Directory. For more information, see one of the following: |
IAM: CLI option:
RDS API parameter:
Kerberos: CLI option:
RDS API parameter:
|
Varies by authentication type |
| Database management type |
Choose Amazon RDS if you don't need to customize your environment. Choose Amazon RDS Custom if you want to customize the database, OS, and infrastructure. For more information, see Amazon RDS Custom. |
For the CLI and API, you specify the database engine type. |
Oracle SQL Server |
| Database port |
The port that you want to access the DB instance through. The default port is shown. NoteThe firewalls at some companies block connections to the default MariaDB, MySQL, and PostgreSQL ports. If your company firewall blocks the default port, enter another port for your DB instance. |
CLI option:
RDS API parameter:
|
All |
| DB engine version |
The version of database engine that you want to use. |
CLI option:
RDS API parameter:
|
All |
| DB instance class |
The configuration for your DB instance. For example, a db.t3.small DB instance class has 2 GiB memory, 2 vCPUs, 1 virtual core, a variable ECU, and a moderate I/O capacity. If possible, choose a DB instance class large enough that a typical query working set can be held in memory. When working sets are held in memory, the system can avoid writing to disk, which improves performance. For more information, see DB instance classes. In RDS for Oracle, you can select Include additional memory configurations. These configurations are optimized for a high ratio of memory to vCPU. For example, db.r5.6xlarge.tpc2.mem4x is a db.r5.8x DB instance that has 2 threads per core (tpc2) and 4x the memory of a standard db.r5.6xlarge DB instance. For more information, see RDS for Oracle DB instance classes. |
CLI option:
RDS API parameter:
|
All |
| DB instance identifier |
The name for your DB instance. Name your DB instances in the same way that you name your on-premises servers. Your DB instance identifier can contain up to 63 alphanumeric characters, and must be unique for your account in the AWS Region you chose. |
CLI option:
RDS API parameter:
|
All |
| DB parameter group |
A parameter group for your DB instance. You can choose the default parameter group, or you can create a custom parameter group. If you are using the BYOL model for RDS for Db2, before creating a DB instance, you must first create a custom parameter group that contains your IBM Site ID and IBM Customer ID. For more information, see Bring your own license (BYOL) for Db2. For more information, see Parameter groups for Amazon RDS. |
CLI option:
RDS API parameter:
|
All |
| DB subnet group | The DB subnet group you want to use for the DB cluster. Select Choose existing to use an existing DB subnet group. Then choose the required subnet group from the Existing DB subnet groups dropdown list.Choose Automatic setup to let RDS select a compatible DB subnet group. If none exist, RDS creates a new subnet group for your cluster. For more information, see Working with DB subnet groups. |
CLI option:
RDS API parameter:
|
All |
| Dedicated Log Volume |
Use a dedicated log volume (DLV) to store database transaction logs on a storage volume that's separate from the volume containing the database tables. For more information, see Using a dedicated log volume (DLV). |
CLI option:
RDS API parameter:
|
All |
| Deletion protection |
Enable deletion protection to prevent your DB instance from being deleted. If you create a production DB instance with the AWS Management Console, deletion protection is enabled by default. For more information, see Deleting a DB instance. |
CLI option:
RDS API parameter:
|
All |
| Encryption |
Enable Encryption to enable encryption at rest for this DB instance. For more information, see Encrypting Amazon RDS resources. |
CLI option:
RDS API parameter:
|
All |
| Enhanced Monitoring |
Enable enhanced monitoring to enable gathering metrics in real time for the operating system that your DB instance runs on. For more information, see Monitoring OS metrics with Enhanced Monitoring. |
CLI options:
RDS API parameters:
|
All |
| Engine type |
Choose the database engine to be used for this DB instance. |
CLI option:
RDS API parameter:
|
All |
| Initial database name |
The name for the database on your DB instance. If you don't provide a name, Amazon RDS doesn't create a database on the DB instance (except for Oracle and PostgreSQL). The name can't be a word reserved by the database engine, and has other constraints depending on the DB engine. Db2:
MariaDB and MySQL:
Oracle:
PostgreSQL:
|
CLI option:
RDS API parameter:
|
All except SQL Server |
| License |
Valid values for the license model:
|
CLI option:
RDS API parameter:
|
All |
|
Log exports |
The types of database log files to publish to Amazon CloudWatch Logs. For more information, see Publishing database logs to Amazon CloudWatch Logs. |
CLI option:
RDS API parameter:
|
All |
| Maintenance window |
The 30-minute window in which pending modifications to your DB instance are applied. If the time period doesn't matter, choose No Preference. For more information, see Amazon RDS maintenance window. |
CLI option:
RDS API parameter:
|
All |
| Manage master credentials in AWS Secrets Manager |
Select Manage master credentials in AWS Secrets Manager to manage the master user password in a secret in Secrets Manager. Optionally, choose a KMS key to use to protect the secret. Choose from the KMS keys in your account, or enter the key from a different account. For more information, see Password management with Amazon RDS and AWS Secrets Manager. |
CLI option:
RDS API parameter:
|
All |
| Master password |
The password for your master user account. The password has the
following number of printable ASCII characters (excluding
|