Mapping URLs
Like many cloud providers, Amazon publishes a defined set of URLs that can be used for its services. They have a concise set of URLs different from what other providers may have. It follows the syntax of protocol://service-code.region-code.amazonaws.com. The documentation is clear that the region code will follow the data center region codes like:
• us-east-1: North Virginia Data Center
• us-east-2: Ohio Data Center
• us-west-1: Oregon Data Center
The service code would match well-known AWS services like:
• ec2: Elastic Compute
• elb: Elastic Load Balancer
As a side note, it is also interesting when creating resources such as an elastic load balancer (ELB), you would see the region and service code in reverse order, such as: https://1112223344455-aabbccdd.us-east-1.elb.amazonaws.com.
Last updated