Just for clarification, are you wanting to know how to write an sh script for those commands or do you need help uploading it through the AWS Management Console?