When starting out with any new technology, the first steps are always the most difficult. When you return later to do the same actions again everyt...
For further actions, you may consider blocking this person and/or reporting abuse
Very instructive, thank your for taking your time to crystallize this for us. We use EC2 at my company and I heard of API Gateway but I never dived into it. Great introduction, I think I will give it a try and play a bit with the notorious Lambda functions soon 😉
Like most things in AWS it's easy to get overwhelmed by the sheer volume of everything. The hard work is in finding out which bits you need and which ones to ignore, so that's what I've tried to help with here, leaving the detail for the regular documentation to explain.
May 21: I tidied up the code and added some information about CORS and some sample HTML/JavaScript for testing.