Mining on Amazon EC2

Hello. I have some Free Tier Amazon EC2. Every is 1 core CPU 2.40GHz.
Now mining on Windows, but I have some problems. Mining is stopping sometimes and I need to login by RDP to make them run again.
I find this guide https://github.com/Austin-Williams/zcash-guides/wiki/Guide-to-Mining-Zcash-on-Amazon-EC2 on your forum, but there says "This guide is no longer applicable"
Can you give me a similar guide for mining ?

maybe some cap on CPU usage?
I don’t believe they allow mining so it could be amazon shutting down your processes…

CPU is 100%. I think it goes in sleep or something like that.
In previous thread people said Amazon allow mining