AWS Couchbase Server Configuration

Hi Team,

I have to increase the size limit of document from 2.5 kb to 3 mb. But over AWS EC2 instance, I won’t be able to increase the size

/opt/couchbase/lib/ns_server/erlang/lib/ns_server/priv/public/js/documents.js

as this file has only read permission.
How can I change the permission to write ? So being able to modify the size as per our requirement.
It would be very helpful for me.

Thanks