For Amazon EC2 Linux server instructions, I would look into their official tutorial.
Getting Started with Amazon EC2 Linux Instances
Did you create your own multiplayer server application for Construct 2 games?
If not, you'll need a third party server application and be fluent with servers (and related server/programming codes) to be able to run and maintain server side multiplayer games.
There are professional companies who provide such services and one of them is Firebase.
Please refer to Rexrainbow's Firebase plugin for Construct 2.
I've learned how to make multiplayer games with Construct 2 by reading this tutorial by Ashley.