1. Create EC2 instance. Click on "Launch Instance"
2. Select Ubuntu image
3. Select t2.micro instance, which has green colored free-tier tag. Then click "Next: Configure Instance Details"
6. Input your tag name, whatever you want is ok. Click "Next: Configure Security Group"
7. Select radio button "Create a new security group" and input Security group name and description whatever you want. Then click button "Add Role" and select which type of connection do you want to set rule. For security, it must be setted so that only you can connect from your local computer IP, for example.
Keep in mind: On this example all ports are open for connection, in order to make you easy to see what you did. In real deployment consider to set it to be restricted for security. Then proceed "Review and Launch"
9. Right after clicking "Launch" you will be prompted for key pair.
Select "Create a new key pair" and click to "Download Key Pair" and store it in safe place. It will be needed you later.
10. After downloading your key file, do followings:
sudo chmod 400 <your-downloaded-key-file>
2. Select Ubuntu image
3. Select t2.micro instance, which has green colored free-tier tag. Then click "Next: Configure Instance Details"
4. Proceed by default value, click "Next: Add Storage"
5. Choose whatever size for harddisk according to your usage. Then proceed next by clicking "Next: Tag Instance"
7. Select radio button "Create a new security group" and input Security group name and description whatever you want. Then click button "Add Role" and select which type of connection do you want to set rule. For security, it must be setted so that only you can connect from your local computer IP, for example.
Keep in mind: On this example all ports are open for connection, in order to make you easy to see what you did. In real deployment consider to set it to be restricted for security. Then proceed "Review and Launch"
8. Review and launch it.
Select "Create a new key pair" and click to "Download Key Pair" and store it in safe place. It will be needed you later.
10. After downloading your key file, do followings:
sudo chmod 400 <your-downloaded-key-file>
ssh -i <your-downloaded-key-file> ubuntu@your-aws-public ip
Now you can ssh to your AWS and deploy your app YOURSELF.







Comments
Post a Comment