AWS IoT
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Protocols

The message broker supports the use of the MQTT protocol to publish and subscribe and the HTTPS protocol to publish. Both protocols are supported through IP version 4 and IP version 6. The message broker also supports MQTT over the WebSocket protocol.

Protocol/Port Mappings

The following table shows each protocol supported by AWS IoT, the authentication method, and port used for each protocol.

Protocol, Authentication, and Port Mappings

Protocol Authentication Port ALPN ProtocolName

MQTT

X.509 client certificate

8883, 443

x-amzn-mqtt-ca

HTTPS

X.509 client certificate

8443, 443

x-amzn-http-ca

HTTPS

SigV4

443

N/A

MQTT over WebSocket

SigV4

443

N/A

Clients that connect on port 443 with X.509 client certificate authentication must implement the Application Layer Protocol Negotiation (ALPN) TLS extension and use the ALPN ProtocolName listed above in the ALPN ProtocolNameList sent by the client as part of the ClientHello message.

On this page: