Review SimpleDB domain use

Check storage requirements and existing dependencies before choosing SimpleDB.

Description

AWS::SDB::Domain creates a valid SimpleDB domain. For a new system, check that its data model and operational capabilities fit the application.

Potential impact

An unsuitable storage choice can constrain operations and require a later data migration.

Remediation

Omit unused domains from new stacks. To retire an existing domain, preserve its data, migrate and verify the applications that depend on it, then review the effect of removing it from the stack.

Examples

The second template keeps HostedZone and drops SBDDomain. Applying that same change to an existing stack can delete its domain.

Before

yaml
Resources:
  HostedZone:
    Type: AWS::Route53::HostedZone
    Properties:
      Name: "HostedZone"

  SBDDomain:
    Type: AWS::SDB::Domain
    Properties:
      Description: "Example domain description"

After

yaml
Resources:
  HostedZone:
    Type: AWS::Route53::HostedZone
    Properties:
      Name: "HostedZone"

References