Again Click open on PuTTY configuration Dialog box.Select the ‘.ppk’ key pair that you created using PuTTYgen.Click browse in the ‘Private key file for authentication’ input box.Now on the left side panel expand SSH → Click ‘Auth’.Paste the ‘IPv4 Public IP’ into the ‘Host Name (or IP address)’ input box.At bottom of your browser you can see many tabs, on the first tab with title ‘ description’ → Find & Copy IPv4 Public IP.Click on running instances → Click on the instance you created in the earlier step.Now, open your AWS account, Go to Services → EC2.Provide a name for your ppk file and click save.You will receive a warning message asking if you want to save this key without a passphrase.Note: when browsing for your pem file be sure to select All Files in the dropdown list that is located to the right of the File name field. Select ‘.pem’ key pair file that you downloaded from AWS.Putty comes with PuTTYgen where we can make the conversion. The key pair file is in ‘.pem’ format, but we need it in ‘.ppk’ format. We are going to use the ‘key pair’ file that we earlier downloaded to access the server via Putty. Using Putty we are going to access the terminal of the server and run few commands. Download key pair (Keep it in a safe location on your local drive.)Ģ.Choose ‘Create a new key pair’ → give it a proper name.A pop up asking you to download key pair will appear.You can read more about how to configure the security groups for production release. Please note that this configuration is not intended for production purpose. Note: The below configuration will suffice for this tutorial purpose. You will need to configure your inbound traffic rules.You can keep all the defaults and jump to Configure security groups.Select suitable instance (I am going with Ubuntu Server 16.04 LTS (HVM), SSD Volume Type for this tutorial).MEAN App (GitHub or you can use your own).FileZilla – FTP client on your local computer.Putty – SSH client on your local computer.AWS debits small amount from your account which is credited back to your account after verification. On sign up, they will ask for your debit/credit card information. Once you sign up for AWS account you can start using their free tier services. Services are free to join, pay only for what you use.Īmazon has the largest market share in the cloud business, leading Microsoft, Google, and IBM by a huge margin. N Node.js – JavaScript run-time environment for server-side.Īs per Stack Overflow’s Developer Survey Results 2017, all the technologies of MEAN stack are among TOP 5 in Most Popular Technologies and we are going to host it on AWS which is also very popular among developers.Īmazon Web Services(AWS) provides on-demand cloud computing services. What is MEAN? M MongoDB – NoSQL database program.Į Express – Node.js web application framework.Ī Angular – front-end web application platform. As the title suggests, we are going to see how to host a MEAN stack app on the AWS EC2 instance server for free.īefore we get started with the tutorial, I will briefly introduce the technology stacks that we are going to use.
0 Comments
Leave a Reply. |