The license is lost after every cold/full reboot. It shows an BYOL express licenses and that the Gateway feature isn't available. If I do a warm reboot following the cold one the license is properly detected again with no changes made to the config. This concerns me that the device might lose licensing once in production.
AWS ADC instance unable to connect to Meta-Data Server :: 169.254.169.254
The instance is not able to connect metadata which is causing the issue in getting hostname and the product ID and hence licensing.
Syslog messages from AWS ADC instance
==================================
Mar 5 12:46:36 <local0.info> NSVAconf[1790]: started
Mar 5 12:46:36 <local0.info> NSVAconf[1790]: NSVAConf:first_boot_config=0
Mar 5 12:46:36 <local0.alert> NSVAconf[1790]: NSVAconf: Unable to connect to meta-data server(169.254.169.254) 1792
Mar 5 12:46:36 <local0.info> NSVAconf[1790]: AWS NSVAconf instance-id
Mar 5 12:46:36 <local0.info> NSVAconf[1790]: AWS NSVAconf failed 1