thereforewe will be calling the ssh command and passing it the key files that we downloaded earlier as the identity (using the - optionwe are logging in as user ec -user at the machine with the address ec- - us-west- conompute amazonaws com this address willof coursebe different in your case if you choose another distribution for your instancethe username may also change in any casethe web panel will give you the correct information finallyif you are running an unix-style operating system (including mac os)you may have to tweak its permissions by calling the following codechmod awskeys pem this sets the read/write permission for the current user only ssh will otherwise give you an ugly warning nowyou should be able to log in to your machine if everything is okyou should see the banner as shown in the following screenshotthis is regular linux box where you have the sudo permissionyou can run any command as the super user by prefixing it with sudo you can run the update command it recommends to get your machine up to speed installing python packages on amazon linux if you preferred another distributionyou can use your knowledge of that distribution to install pythonnumpyand others herewe will do it on the standard amazon distribution we start by installing several basic python packages as followssudo yum - install python-devel python-dev python-pip numpy scipy python-matplotlib for compiling mahotaswe will also need +compilersudo yum - install gcc- +