FreeSBC:Cloud:AWS Installation A
From TBwiki
(Difference between revisions)
Line 105: | Line 105: | ||
<li>Right-click on the selected Network Interface, then click "Associate Address":</li> | <li>Right-click on the selected Network Interface, then click "Associate Address":</li> | ||
− | [[File:AssociateAddress.png| | + | [[File:AssociateAddress.png| 800px]] |
<li>In the Address list, select the public IP to associate with the main Network Interface. Then, click on "Associate Address":</li> | <li>In the Address list, select the public IP to associate with the main Network Interface. Then, click on "Associate Address":</li> | ||
− | [[File:SelectAddress.png| | + | [[File:SelectAddress.png| 800px]] |
+ | |||
+ | <li>Click on "Instances" on the left pane and select "FreeSBC" instance. Check if your instance is associated with a public IP:</li> | ||
+ | [[File:Ready.png| 1000px]] | ||
</ol> | </ol> | ||
Revision as of 17:24, 27 February 2018
This page is intended to give assistance to people launching an instance of FreeSBC using Amazon Machine Image (AMI) on Amazon Web Service (AWS). In the Troubleshot section, instructions are suggested for a potential issue that a user may encounter.
Contents |
Procedure to instanciate an AMI
- After logging in your Amazon account, click on “EC2” in the main AWS console:
- On the left menu, click on “AMIs”:
- Click on the filter drop list and select “Private image” to locate FreeSBC AMI:
- Select the image and click “Launch”: (Check the troubleshooting section if you have a launching issue)
- Select the instance type and its resources. For FreeSBC to run, you need to launch at least m4.large (2 vCPU, 8 GiB):
- Click “Configure instance Details”:
- Choose an existing subnet for the default list (or create a new one if you want to change the default parameters):
- Click "Add Device" under Network Interface section (since FreeSBC needs two Network Interfaces). Leave the default parameters as they are:
- Click “Add Storage”:
- You can leave the default parameters as they are. Then, click “Add Tags”:
- You can leave the default parameters as they are. Then, click “Configure Security Group”:
- Select "Create a new security group" ( you can change its name and description). Then, click "Add Rule" to add a new rule as follow:
- Type: Custom TCP Rule
- Protocol: TCP
- Port Range: 12358
- Source: My IP (will make this instance only accessible from your current computer IP)
- Click “Review and Launch”:
- Click “Launch”. Please, note that FreeSBC is free of charges. However, you will still be charged by Amazon for using their resources you allocated:
- You will be prompted to create a key pair, allowing you to securely connect to your instance. Select “Create a new key pair” if you do not own one, and give it a name. Then, click on “Download Key Pair” to download a .pem file since it is needed for a secured SSH connection:
- Click on “Launch Instances”:
- You can view your instance by clicking on “View Instances”:
- Select the instance you just created, and give a name:
- For your instance to become accessible, you need to associate a public IP generated by Amazon. Click on "Elastic IP" on the left, then click on "Allocate new address":
- Click on "Allocate IP". A new public IP will be generated by Amazon:
- Click on "Close":
- Go to the left pane and click on "Instance". Then select the instance "FreeSBC" to display its description:
- Notice the main Private IP circled in green. You need to identify which of the network interfaces is associated with it. Usually, it is the first in the list:
- Click on the identified Network Interface associated with the main Private IP, then click on "Interface ID" link:
- Right-click on the selected Network Interface, then click "Associate Address":
- In the Address list, select the public IP to associate with the main Network Interface. Then, click on "Associate Address":
- Click on "Instances" on the left pane and select "FreeSBC" instance. Check if your instance is associated with a public IP:
You are ready to connect to FreeSBC instance on AWS through the Web Portal.
Troubleshooting
If you come across the following issue, please follow the suggested instructions:
Launch Failed after step 4
- Follow the link:
- Click on “Continue to Subscribe”:
- If you agree with Amazon conditions, click on “Accept Software Terms & Launch with 1-click”. Now, you are ready to launch the instance you need:
Test if FreeSBC is up and running in real-time
You can open a session of the image running CentOS7 and check the status of FreeSBC in real-time. Depending on your operating system, you can follow the links on Amazon guide to do so:
Your Computer | Topic |
---|---|
Linux | Connecting to Your Linux Instance Using SSH |
Windows | Connecting to Your Linux Instance from Windows Using PuTTY |
All (using Firefox, Edge or Internet Explorer) | Connecting to Your Linux Instance Using MindTerm |