AWS¶
DNS Names¶
DNS Records MUST adhere to the following pattern
(instance).aws_service.(az).(region).service.environment.namespace
instance
SHALL be used in the case that there are multiple instances of an aws_service, e.g. seperate databases.aws_service
MUST refer to the specific AWS service that is being used, the correct name of a AWS service MUST be as specified as in the Boto3 Library.az
OPTIONALLY can refer to a specific Availability Zone. This may indicate a design problem in the service.region
OPTIONALLY can refer to a specific region.service
MUST refer to the specific service.environment
MUST refer to the environment the service is deployed into (dev
,stage
,test
,live
).namespace
MUST be a valid TLD.
Example DNS Records:
exampledb.rds.eu-west-1.example-service.environment.example.com elasticache.us-west-1.second-service.environment.example.com
Object Names in AWS¶
- The name of an Object in AWS must convey the same information at the DNS record, however availability zone and region SHOULD NOT be included as this information is conveyed by interaction with the object.
- The Object name is ordered naturally so that it is read from left to right (inverse of the DNS name).
- By convention the namespace is assumed to be the standard TLD. Exceptions MAY be made for third party services.
- Objects MUST be UpperCamelCase and acronyms MUST be Capitalised.
Example Object Names:
EnvironmentExampleServiceRDSExampleDB EnvironmentSecondServiceElastiCache ThirdPartyLiveMonitoringEC2