Initialize aws module for encoding