Posts Cloud References
Post
Cancel

Cloud References

Small collection of documentation/links/metadata information for cloud services.

Documentation

Regions and Availability Domains

DNS and Web

ServiceURL/DNS format
AWS s3http://name.s3.amazonaws.com
Alibaba OOShttp://name.region.aliyuncs.com
Azure Blobhttp://name.blob.core.windows.net
Azure DBdomain.database.windows.net
Azure Webhttp://name.azurewebsites.net
Azure VMdomain.region.cloudapp.azure.com
GCPhttp://storage.googleapis.com/name


Metadata

Massive thanks to jhaddix for organising the following information.

AWS

1
2
3
4
5
6
7
8
9
// http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html#instancedata-data-categories
http://169.254.169.254/latest/user-data
http://169.254.169.254/latest/user-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/iam/security-credentials/[ROLE NAME]
http://169.254.169.254/latest/meta-data/ami-id
http://169.254.169.254/latest/meta-data/reservation-id
http://169.254.169.254/latest/meta-data/hostname
http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key
http://169.254.169.254/latest/meta-data/public-keys/[ID]/openssh-key

AWS - Dirs

1
2
3
http://169.254.169.254/
http://169.254.169.254/latest/meta-data/
http://169.254.169.254/latest/meta-data/public-keys/

Google Cloud

1
2
3
4
5
6
7
8
9
// https://cloud.google.com/compute/docs/metadata
// Requires the header "Metadata-Flavor: Google" or "X-Google-Metadata-Request: True"

http://169.254.169.254/computeMetadata/v1/
http://metadata.google.internal/computeMetadata/v1/
http://metadata/computeMetadata/v1/
http://metadata.google.internal/computeMetadata/v1/instance/hostname
http://metadata.google.internal/computeMetadata/v1/instance/id
http://metadata.google.internal/computeMetadata/v1/project/project-id

Google allows recursive pulls

1
http://metadata.google.internal/computeMetadata/v1/instance/disks/?recursive=true

Google

1
http://metadata.google.internal/computeMetadata/v1beta1/

Digital Ocean

1
2
3
4
5
6
7
http://169.254.169.254/metadata/v1.json
http://169.254.169.254/metadata/v1/ 
http://169.254.169.254/metadata/v1/id
http://169.254.169.254/metadata/v1/user-data
http://169.254.169.254/metadata/v1/hostname
http://169.254.169.254/metadata/v1/region
http://169.254.169.254/metadata/v1/interfaces/public/0/ipv6/address

Packetcloud

1
https://metadata.packet.net/userdata

Azure

1
2
3
http://169.254.169.254/metadata/v1/maintenance
http://169.254.169.254/metadata/instance?api-version=2017-04-02
http://169.254.169.254/metadata/instance/network/interface/0/ipv4/ipAddress/0/publicIpAddress?api-version=2017-04-02&format=text 

OpenStack/RackSpace

1
http://169.254.169.254/openstack

HP Helion

1
http://169.254.169.254/2009-04-04/meta-data/ 

Oracle Cloud

1
2
3
4
http://192.0.0.192/latest/
http://192.0.0.192/latest/user-data/
http://192.0.0.192/latest/meta-data/
http://192.0.0.192/latest/attributes/

Alibaba

1
2
3
http://100.100.100.200/latest/meta-data/
http://100.100.100.200/latest/meta-data/instance-id
http://100.100.100.200/latest/meta-data/image-id
This post is licensed under CC BY 4.0 by the author.