Rewrite AWS