Intensive development of cloud services does not leave indifferent. Our focus is on Amazon - Elasctic Cloud Compute. There was a task to deploy the node.js project using Derby . Amazon Elastic Beanstalk also supports node.js, but we will limit ourselves to the Amazon EC2 service. In addition, out-of-the-box, Amazon Elastic Beanstalk offers Amazon Linux with a pre-installed node.js + nginx. In our case, Amazon Linux is not suitable, the node.js version and the node.js + nginx bundle as well. ,
Creating an instance and connecting to an EC2 server
It is assumed that you are registered with AWS, and have access to the AWS Managment Console . Run EC2 Instance:
Go to the AWS Managment Console
Choose a region (in our case, US East (N.Virginia))
Go Services -> Compute & Nerworking -> EC2
Launch Instance: Select Ubuntu Server 13.04 x64 , configure keys, and other necessary parameters, incl. Instance Type (in our case t1.micro)
After creating instances in the list, we observe how our server will receive state running
Connecting to the server via ssh: to do this, in the list of instances, right-click on the one you need, select Connect -> Connect with a standalone SSH Client There will be something like: