victoriagre.blogg.se

Install node js amazon linux
Install node js amazon linux









Install Node, git, yarn and PM2 to run your app Ok, so you got your coffee and you can see your new instance status is 'running' and the status checks are green on the AWS EC2 Dashboard? Let's go then and connect to the instance via SSH:įrom the AWS EC2 Instances dashboard, select your instance, press Connectįrom connection options choose EC2 Instance Connect (browser-based SHH connection) - this is the easiest and fastest option with no config required! In inbound rules you want to add the following two rules: Select the security group and from 'Actions' select Edit inbound rules

install node js amazon linux

In the left hand side menu find and go to Security Groups

install node js amazon linux install node js amazon linux

On EC2 Dashboard, find your new instance and scroll the view to the right to see what Security Group your instance is in. It will take a few minutes.Īs your instance is being launched, you need to configure AWS security groups so that you and your website visitors will be able to access your app (and you will be able to connect to it via SSH). Click Launch InstancesĬlick View Instances and go make yourself a cup of coffee while AWS is launching your new instance. You will be asked to select an existing key pair or create a new key pair - it doesn't matter, we will be using a web based SSH client from AWS console to select any option. On the next screen confirm again by clicking Launch Click Review and launch as we are blasting through the complexity here and will take all the default setting and only change the few we need later. Assuming you are running a simple app then go for the cheapest instance: t3a.nano.

install node js amazon linux

Select the first one from the list: Amazon Linux 2 AMI for the 64-bit (x86) - basically the first default option That's it, we are ready to roll! Launch an EC2 instance Node js app in a git repo - make sure your Node app is ready and available to clone from a git repoĪWS account - if you don't have one yet, you can sign up here You need a few things before we start the launch:











Install node js amazon linux