I also don't think that EC2 was borrowed from Alexa at all. There were political reasons why that development happened in Cape Town (it insulated them from Seattle politics and in particular from the VP who was over my head who hated the whole idea).
I think Alexa led to the Amazon search engine -- which i thought was called something like a6 (kind of like i18n is short for "internationalization" but with a6 being short for "amazon" -- but that doesn't quite sound right and I think I'm thinking of an Audi -- it was something like that though). They were in SF and setting up a satellite there to hire engineers away from Apple and Google. I also recall them doing some good work on SEO and fixing our URLs and such to get better search placement on Google which drove significant revenue. I don't think they had anything to do with EC2, but there could be some kernel behind the scenes that I wasn't aware of -- however it all smells wrong to me.