> For the complete documentation index, see [llms.txt](https://cookiez.gitbook.io/red-team/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cookiez.gitbook.io/red-team/cloud/aws/discovery/mapping-urls.md).

# 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`&#x20;

`• us-east-2: Ohio Data Center`&#x20;

`• us-west-1: Oregon Data Center`

&#x20;The service code would match well-known AWS services like:&#x20;

`• ec2: Elastic Compute`&#x20;

`• 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>.
