3. Test connectivity

Test dual stack Application Load Balancer.

Steps:

  • Copy the DNS Name address of the launched ALB from previous step.
  • Run following command (or use your favourite web browser)
curl -4 http://REPLACE-WITH-YOUR-DNS-NAME/
  • ALB should return with a successful JSON payload as follows:
{
	"instance-id": "i-XXXXXXXX",
	"local-ipv4": "X.X.X.x",
	"client-ip": "::ffff:XX.XX.XX.XX",
	"host-ip": "XX.us-east-1.elb.amazonaws.com"
}
  • Now switch to IPv6 Wifi (see presentor for details)
  • Repeat the above process with IPv6 IP Address of the instance.
  • Copy the IPv4 IP address of the launched instance from previous step.
  • Run following command (or use your favourite web browser)
curl -g -6 'http://[REPLACE-WITH-YOUR-DNS-NAME]/'
  • WebServer should return with a successful JSON payload as follows:
{
	"instance-id": "i-XXXXXXX",
	"local-ipv4": "X.X.X.X",
	"client-ip": "XX:XX:XX:XX:XX:XX:XX:XX",
	"host-ip": "XX:us-east-1.elb.amazonaws.com"
}
  • Switch back to IPv4 Wi-Fi.