Day30: Enable Internet Access for Private EC2 using NAT Instance

I have created all the thing mentioned in the question and ran iptable commands on nat instance still unable to fid s3 file in the s3 bucket ? can anyone have solution for it?

Take a look at this solution and see if it helps.