I have 1 perfect AWS EC2 instance in working condition which is running NODE js which have its elastic IP.
Now I need to auto-scale if that instance in use over 80%.
I do know few ways to do that but am not able to figure out, when new instance launches how will my node code will be on that instance.
Later when I want to update my node code then on which instance should I connect with?
If anyone can help me with this then it would be awesome.
Thanks :)