Amazon Web Services (AWS) – PoC

Amazon Web Services (AWS) – PoC

  • Created an account – http://aws.amazon.com/
  • Setup a Windows 10 client
  • Installed using the download 3.4.3 x86 msi and ticked install paths.
    Tried x64 installed and had a few errors trying 3.5 version
  • The EB  Command Line Interface (CLI), used the following the guide
  • Followed the Amazon Install procedure below:

The Python Software Foundation provides installers for Windows that include pip.

To install Python 3.4, pip, and the EB CLI on Windows

  1. Install Python 3.4 from the downloads page of Python.org.
  2. Add the Python home and scripts directories to the Windows Path system variable:
    C:\WINDOWS\system32;C:\WINDOWS;C:\Python34;C:\Python34\Scripts
  3. Open the Windows Command Processor from the Start menu.
  4. Verify that Python and pip are both installed correctly with the following commands:
    C:\Windows\System32> python --version
    Python 3.4.3
    C:\Windows\System32> pip --version
    pip 6.0.8 from C:\Python34\lib\site-packages (python 3.4)
  5. Install the EB CLI using pip:
    C:\Windows\System32> pip install awsebcli
    Collecting awsebcli
      Downloading awsebcli-3.2.2.tar.gz (828kB)
    Collecting pyyaml>=3.11 (from awsebcli)
      Downloading PyYAML-3.11.tar.gz (248kB)
    Collecting cement==2.4 (from awsebcli)
      Downloading cement-2.4.0.tar.gz (129kB)
    Collecting python-dateutil<3.0.0,>=2.1 (from awsebcli)
      Downloading python_dateutil-2.4.2-py2.py3-none-any.whl (188kB)
    Collecting jmespath>=0.6.1 (from awsebcli)
      Downloading jmespath-0.6.2.tar.gz
    Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->awsebcli)
      Downloading six-1.9.0-py2.py3-none-any.whl
    Installing collected packages: six, jmespath, python-dateutil, cement, pyyaml, awsebcli
      Running setup.py install for jmespath
      Running setup.py install for cement
      Running setup.py install for pyyaml
        checking if libyaml is compilable
        Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).
        skipping build_ext
      Running setup.py install for awsebcli
        Installing eb-script.py script to C:\Python34\Scripts
        Installing eb.exe script to C:\Python34\Scripts
        Installing eb.exe.manifest script to C:\Python34\Scripts
    Successfully installed awsebcli-3.2.2 cement-2.4.0 jmespath-0.6.2 python-dateutil-2.4.2 pyyaml-3.11 six-1.9.0
  6. Verify that the EB CLI is installed correctly:
    C:\Windows\System32> eb --version
    EB CLI 3.2.2 (Python 3.4.3)

Install Python, pip, and the EB CLI on Windows

Steve

Comments are closed.