How to get Python AI & Machine learning suit for production & development on AWS

This section describes how to launch and connect to Python AI & Machine learning suit for production & development in Amazon Web Services (AWS).



  1. In your browser, go to the aws marketplace https://aws.amazon.com/marketplace.
  2. Search for Python AI & Machine learning kit for production & development by techlatest.net in the search box.

/img/aws/aws_marketplace.png

  1. Select the Python AI & Machine learning kit for production & development by techlatest.net offering. The following page will display.

/img/aws/aws_offering.png

  1. Click on Continue to subscribe.
  • Login with your credentials and follow the instruction.click on Continue to configuration
  • Select a Region where you want to launch the VM(such as US East (N.Virginia))
  • /img/aws/aws_vm1.png
  • Choose Action:you can launce it through EC2 or from Website.(Let's choose Launce from website)
  • Optionally change the EC2 instance type. (This defaults to t2.large instance type, 2 vCPUs and 8 GB ram.)
  • /img/aws/aws_choose_action.png
  • Optionally change the network name and subnetwork names. Be sure that whichever network you specify has ports 22 (for ssh), 3389 (for RDP) and 80 (for http) exposed.
  • be sure to download the key-pair which is available by default, or you can create the new key-pair and download it.
  • Click on Launch.. Python AI & Machine learning Suit will begin deploying.

  1. A summary page displays.To see this instance on EC2 Console click on EC2 Console link.
  2. /img/aws/aws_vm_created.png

  1. On the EC2 Console page, instance is up and running. To connect to this instance through putty, copy the IPv4 Public IP Address

  2. /img/aws/aws_vm_EC2Console.png
  3. Open putty, paste the IP address and browse your private key you downloaded while deploying the VM, by going to SSH->Auth , click on Connect
  4. /img/aws/aws_vm_putty.png
    /img/aws/bitcoin_vm_putty_privatekey.png
  5. Once connected, change the password for ubuntu user using sudo passwd ubuntu command
  6. /img/aws/aws_vm_password_reset.png

  1. Now the password for ubuntu user is set, you can connect to the VM's desktop environment from any local windows machine using RDP protocol.

  2. From your local windows machine, goto "start" menu , in the search box type and select "Remote desktop connection"

  3. In the "Remote Desktop connection" wizard, copy the public IP address and click connect

  4. /img/aws/aws_rdp.png
  5. This will connect you to the VM's desktop environment. Provide the username (e.g "ubuntu") and the password set in the above "Reset password" step to authenticate. Click OK

  6. /img/aws/aws_rdp_login.png
  7. Now you are connected to the out of box Python AI & Machine learning Suit environment.

  8. /img/aws/aws_rdp_desktop.png
  9. You can use the remote desktop you connected in above step for using the VM, however, more convenient and better method is to use the Jupyter/Ipython notebook which comes with the VM .
    The Notebook is available on the same public IP you used for remote desktop and accessible via any browser. Just open the browser and type the public IP address (in this case http:// 18.232.84.134 ) and you will get below screen for login . Use “ubuntu” as username and the password you set to login.
    Note : Make sure you use “http” and not “https” in the url

  10. /img/aws/aws_jupyterhub_login.png
  11. To know how to use the developer kit, please refer to the video tutorial series available on Python AI and Machine Learning Support.