Skip to main content

Installing AWS CLI on Mac

Recently I started exploring Amazon Web Services. Day by day I am becoming a big fan of cloud technologies. To start with, in this article I am posting a few steps which I did to setup Amazon Command Line Interface (AWS CLI). AWS CLI is a unified tool for managing  different AWS Services. With one tool we can control and manage services given by amazon. To explore more on controlling services through CLI, you can refer to you can refer to the documentation.

In this article I'm gonna describe you the steps I've done to configure AWS CLI. To install, we need to have 'pip' a package manager for python.
Installation Requirement
For installing AWS CLI we need to have the following:
  • Python 2 version 2.6.5+ or Python 3 version 3.3+.
  • Windows, Linux, MAC or Unix. In my case I'm only configuring for MAC PC.

Installing pip

Download get-pip.py from this location. Once you download get-pip.py, you need to run the script with following command.

python get-pip.py.

You may need root privilege since it is copying some files outside user's home directory.
Installing CLI
once installed pip, you can directly run the following command


$ pip install --upgrade --user awscli
Here --upgrade tells pip to upgrade any features that are already installed. --user option tells pip to install the program to a subdirectory of user directory to avoid modifying OS based libraries.

Instead of the above, you can use brew installer as well:


brew install awscli

After installation the path for aws will be inside ~/Library/Python/2.7/bin






We may need to configure path for global access

Configuring Environment Variable

Update your shell profile. For me I need to update bash_profile. So I use vi ~/.bash_profile. Append :~/.local/bin  with $PATH.

So thats it... Now if you open a new terminal, you can type aws command.



Comments

Popular posts from this blog

Download YouTube Videos

Youtube converters are now taking attention of Internet users...Earlier it was very difficult to convert or download a youtube file to our disk. But now, you can download a file in formats like AVI, MPG, MP4, WMV,3gp(Mobile). You can convert either by using online application(such as youtubeconverter ) or by downloading an application software. You can use free softwares like YoutubeConverter that supports fast conversion. Some online applications supports mp3 formats as well. Try now....and feel the freedom!!!

IPAD and Other Mobile Device Emulators

At present, Each Mobile device has got its own emulators. Some useful IPAD emulators that help application developers to build device specific applications: A List is given below: AIR IPAD Pre requisite : Adobe AIR Remark:  Working smoothly.. Some minor problems have been discovered like low browsing speed, screen flickering etc. JQuery mobile plugin is not working It is still in its ALFA stage Link : http://bit.ly/dtFX1S To test your web app just copy it on to the Application root folder. iOS SDK Current Version : 4 http://developer.apple.com/ipad/sdk/ iOS SDK comes with builtin emulators, this helps developers to test their application before implementation ONLINE EMULATORS Some useful online emulators IPAD Peek:   http://ipadpeek.com/ http://www.ipad-emulator.com/ IPhone Tester:  http://iphonetester.com/ Opera Mini - Demo:  http://www.opera.com/mobile/demo/ T-Mobile Emulator:  http://tmobile.modeaondemand.com/htc/g1/ dotMobi :  A Useful online emulator f

Aamir Khan as a Director!!

Aamir Khan becomes a Director ...Not in cinema, in real life. He has directed his latest movie Taare Zameen Par successfully and it will be released soon. I think his each film is different, from all others and that makes him special. In this film his wants to say that "EVERY CHILD IS SPECIAL". They are like stars that came to earth. The movie is written by Amol Gupte who was initially supposed to direct the movie. But after shooting for a few scenes of Taare Zameen Par, Aamir Khan realised that Amol Gupte wasn’t as good a director as a writer. So Aamir stepped in to direct Taare Zameen Par which will also be produced by Aamir Khan Productions. Aamir says that Direction was a rough journey for him because of the lack of preparation. He says: "I must confess that it was one rough journey because I had to jump in without any preparation. I'd always wanted to direct a film but this was not an ideal situation. I'd have liked to spend time on the script and visualis