FreeSBC:Cloud:AWS Installation A

From TBwiki
(Difference between revisions)
Jump to: navigation, search
Line 4: Line 4:
 
<ol>
 
<ol>
 
     <li>After logging in your Amazon account, click on “EC2” in the main AWS console:</li>
 
     <li>After logging in your Amazon account, click on “EC2” in the main AWS console:</li>
          <gallery>
 
 
               File:ConsoleEC2.png|Show main console on AWS
 
               File:ConsoleEC2.png|Show main console on AWS
          </gallery>
 
  
 
     <li>On the left menu, click on “AMIs”:</li>
 
     <li>On the left menu, click on “AMIs”:</li>
          <gallery>
 
 
               File:AMIs.png|Show available AMIs on AWS
 
               File:AMIs.png|Show available AMIs on AWS
          </gallery>
 
  
 
     <li>Click on the filter drop list and select “Private image” to locate FreeSBC AMI:</li>
 
     <li>Click on the filter drop list and select “Private image” to locate FreeSBC AMI:</li>
          <gallery>
 
 
               File:PrivateImages.png|Filter Available Images
 
               File:PrivateImages.png|Filter Available Images
          </gallery>
 
  
 
     <li>Select the image and click “Launch”: (Check the troubleshooting section if you have a launching issue)</li>
 
     <li>Select the image and click “Launch”: (Check the troubleshooting section if you have a launching issue)</li>
          <gallery>
 
 
               File:SelectAMI.png|Show available AMIs on AWS
 
               File:SelectAMI.png|Show available AMIs on AWS
          </gallery>
 
  
 
     <li>Select the instance type and its resources. For FreeSBC to run, you need to launch at least m4.large (2 vCPU, 8 GiB):</li>
 
     <li>Select the instance type and its resources. For FreeSBC to run, you need to launch at least m4.large (2 vCPU, 8 GiB):</li>
          <gallery>
 
 
               File:SelectResources.png|Select minimum resources for ''FreeSBC''
 
               File:SelectResources.png|Select minimum resources for ''FreeSBC''
          </gallery>
 
  
 
     <li>Click “Review and Launch”:</li>
 
     <li>Click “Review and Launch”:</li>
          <gallery>
 
 
               File:LaunchResources.png|Review and launch ''FreeSBC'' with the selected resources
 
               File:LaunchResources.png|Review and launch ''FreeSBC'' with the selected resources
          </gallery>
 
  
 
     <li>Click “Launch”. Please, note that FreeSBC is free of charges. However, you will still be charged by Amazon for using their resources you allocated:</li>
 
     <li>Click “Launch”. Please, note that FreeSBC is free of charges. However, you will still be charged by Amazon for using their resources you allocated:</li>
          <gallery>
 
 
               File:LaunchInstance.png|Launch an instance of ''FreeSBC'' AMI
 
               File:LaunchInstance.png|Launch an instance of ''FreeSBC'' AMI
          </gallery>
 
  
 
     <li>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:</li>
 
     <li>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:</li>
          <gallery>
 
 
               File:DownloadKey.png|Download generated Key Pair
 
               File:DownloadKey.png|Download generated Key Pair
          </gallery>
 
  
 
     <li>Click on “Launch Instances”:</li>
 
     <li>Click on “Launch Instances”:</li>
          <gallery>
 
 
               File:LaunchWithKey.png|Launch ''FreeSBC'' instance with generated key
 
               File:LaunchWithKey.png|Launch ''FreeSBC'' instance with generated key
          </gallery>
 
  
 
     <li>You can view your instance by clicking on “View Instances”:</li>
 
     <li>You can view your instance by clicking on “View Instances”:</li>
          <gallery>
 
 
               File:ViewInstance.png|View available instances
 
               File:ViewInstance.png|View available instances
          </gallery>
 
  
 
     <li>Select the instance m4.large you just created, and give a name:</li>
 
     <li>Select the instance m4.large you just created, and give a name:</li>
          <gallery>
 
 
               File:RenameInstance.png|Rename ''FreeSBC'' instance
 
               File:RenameInstance.png|Rename ''FreeSBC'' instance
          </gallery>
 
 
</ol>
 
</ol>
  
Line 66: Line 44:
 
If you come across the following issue, please follow the suggested instructions:
 
If you come across the following issue, please follow the suggested instructions:
 
== Launche Failed ==
 
== Launche Failed ==
          <gallery>
 
 
               File:FailedLaunch.png|Launch failed after step 4
 
               File:FailedLaunch.png|Launch failed after step 4
          </gallery>
 
 
<ol>
 
<ol>
 
     <li>Follow the link:</li>
 
     <li>Follow the link:</li>
          <gallery>
 
 
               File:FailedLaunchLink.png|Copy and paste the link in a new tab in your browser
 
               File:FailedLaunchLink.png|Copy and paste the link in a new tab in your browser
          </gallery>
 
  
 
     <li>Click on “Continue to Subscribe”:</li>
 
     <li>Click on “Continue to Subscribe”:</li>
          <gallery>
 
 
               File:Subscribe.png|Subscribe to Amazon Web Service
 
               File:Subscribe.png|Subscribe to Amazon Web Service
          </gallery>
 
  
 
     <li>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:</li>
 
     <li>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:</li>
          <gallery>
 
 
               File:Accept.png|Accept if you agree with Amazon terms
 
               File:Accept.png|Accept if you agree with Amazon terms
          </gallery>
 
 
</ol>
 
</ol>
  

Revision as of 14:46, 26 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

  1. After logging in your Amazon account, click on “EC2” in the main AWS console:
  2.              File:ConsoleEC2.png|Show main console on AWS
    
  3. On the left menu, click on “AMIs”:
  4.              File:AMIs.png|Show available AMIs on AWS
    
  5. Click on the filter drop list and select “Private image” to locate FreeSBC AMI:
  6.              File:PrivateImages.png|Filter Available Images
    
  7. Select the image and click “Launch”: (Check the troubleshooting section if you have a launching issue)
  8.              File:SelectAMI.png|Show available AMIs on AWS
    
  9. Select the instance type and its resources. For FreeSBC to run, you need to launch at least m4.large (2 vCPU, 8 GiB):
  10.              File:SelectResources.png|Select minimum resources for FreeSBC
    
  11. Click “Review and Launch”:
  12.              File:LaunchResources.png|Review and launch FreeSBC with the selected resources
    
  13. Click “Launch”. Please, note that FreeSBC is free of charges. However, you will still be charged by Amazon for using their resources you allocated:
  14.              File:LaunchInstance.png|Launch an instance of FreeSBC AMI
    
  15. 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:
  16.              File:DownloadKey.png|Download generated Key Pair
    
  17. Click on “Launch Instances”:
  18.              File:LaunchWithKey.png|Launch FreeSBC instance with generated key
    
  19. You can view your instance by clicking on “View Instances”:
  20.              File:ViewInstance.png|View available instances
    
  21. Select the instance m4.large you just created, and give a name:
  22.              File:RenameInstance.png|Rename FreeSBC instance
    


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:

Launche Failed

             File:FailedLaunch.png|Launch failed after step 4
  1. Follow the link:
  2.              File:FailedLaunchLink.png|Copy and paste the link in a new tab in your browser
    
  3. Click on “Continue to Subscribe”:
  4.              File:Subscribe.png|Subscribe to Amazon Web Service
    
  5. 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:
  6.              File:Accept.png|Accept if you agree with Amazon terms
    

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
Personal tools