Administering your Amazon RDS for Db2 DB instance - Amazon Relational Database Service

Administering your Amazon RDS for Db2 DB instance

This topic covers the common management tasks that you perform with an Amazon RDS for Db2 DB instance. Some tasks are the same for all Amazon RDS DB instances. Other tasks are specific to RDS for Db2.

The following tasks are common to all RDS databases. There are also tasks specific to RDS for Db2, such as connecting to an RDS for Db2 database with a standard SQL client.

Task area Relevant documentation

Instance classes, storage, and PIOPS

If you are creating a production instance, learn how instance classes, storage types, and Provisioned IOPS work in Amazon RDS.

DB instance classes

Amazon RDS storage types

Multi-AZ deployments

A production DB instance should use Multi-AZ deployments. Multi-AZ deployments provide increased availability, data durability, and fault tolerance for DB instances.

Configuring and managing a Multi-AZ deployment for Amazon RDS

Amazon VPC

If your AWS account has a default virtual private cloud (VPC), then your DB instance is automatically created inside the default VPC. If your account doesn't have a default VPC, and you want the DB instance in a VPC, create the VPC and subnet groups before you create the DB instance.

Working with a DB instance in a VPC

Security groups

By default, DB instances use a firewall that prevents access. Make sure that you create a security group with the correct IP addresses and network configuration to access the DB instance.

Controlling access with security groups

Parameter groups

Because your RDS for Db2 DB instance requires that you add the rds.ibm_customer_id and rds.ibm_site_id parameters, create a parameter group before you create the DB instance. If your DB instance requires other specific database parameters, also add them to this parameter group before you create the DB instance.

Adding IBM IDs to a parameter group for RDS for Db2 DB instances

Parameter groups for Amazon RDS

Option groups

If your DB instance requires specific database options, create an option group before you create the DB instance.

Options for Amazon RDS for Db2 DB instances

Connecting to your DB instance

After creating a security group and associating it to a DB instance, you can connect to the DB instance with any standard SQL client application such as IBM Db2 CLP.

Connecting to your Amazon RDS for Db2 DB instance

Backup and restore

You can configure your DB instance to take automated storage backups, or take manual storage snapshots, and then restore instances from the backups or snapshots.

Backing up, restoring, and exporting data

Monitoring

You can monitor an RDS for Db2 DB instance with IBM Db2 Data Management Console.

You can also monitor an RDS for Db2 DB instance by using CloudWatch Amazon RDS metrics, events, and enhanced monitoring.

Connecting to your Amazon RDS for Db2 DB instance with IBM Db2 Data Management Console

Viewing metrics in the Amazon RDS console

Viewing Amazon RDS events

Monitoring OS metrics with Enhanced Monitoring

Log files

You can access the log files for your RDS for Db2 DB instance.

Monitoring Amazon RDS log files