Setup AWS Credentails using AWS Command Line Interface
Method 1: Install the AWS CLI Using Pip
Method 2: Install the AWS CLI Using the Bundled Installer (Linux, OS X, or Unix)
Step 1: Verify python installation
> python --version
Step 2: Download AWS CLI bundle using wget or curl
> wget https://s3.amazonaws.com/aws-cli/awscli-bundle.zip
> curl -o awscli-bundle.zip https://s3.amazonaws.com/aws-cli/awscli-bundle.zip
Step 3: Unzip the package
> unzip awscli-bundle.zip
Step 4: Run the install executable.
> sudo ./awscli-bundle/install -i /usr/local/aws -b /usr/local/bin/aws
Note: To see an explanation of the -i and -b options, use the -h option:
> ./awscli-bundle/install -h
Test the AWS CLI Installation
> aws help
The AWS credentials file -
Located at ~/.aws/credentials on Linux, OS X, or Unix, or at C:\Users\USERNAME \.aws\credentials on Windows. This file can contain multiple named profiles in addition to a default profile.
The CLI configuration file -
Typically located at ~/.aws/config on Linux, OS X, or Unix, or at C:\Users\USERNAME \.aws\config on Windows. This file can contain a default profile, named profiles, and CLI specific configuration parameters for each.
Environment Variables -
AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, etc.
Step 5: Get a key aws_access_key_id, aws_secret_access_key, region from AWS website, under your
> aws configure
Step 6: Setup AWS with key
> aws configure
Step 7: Verify details in ~/.aws/credentials and ~/.aws/config
> more ~/.aws/credentials
> more ~/.aws/config
Step 8: Verify AWS CLI setup
> /usr/local/bin/aws ec2 describe-instances --output table --region us-west-2
Most think cloud computing is about the ability to save operational costs. That may or may not be the case, depending upon your enterprise or ecommerce problem domain. Indeed, there are many dimensions to consider here, including:
Let’s explore each:
Operational Cost Reduction
We all know that cloud computing is cheap…okay, cheaper…okay, it can be cheap. Thus it’s a good idea to figure out the actual cost reductions that cloud computing can bring to your enterprise IT. The trick here is not only to figure out how much money can be saved, but how much it will cost to save that money.
It’s money in the bank which allows the business to run. The more money we have in the bank, the more we can purchase things for the core business such as inventory that can be sold, or new plant equipment that will save the company money during production. In any event, it’s good to keep as much capital as possible on hand to invest in the business, and not into infrastructure such as data centers, hardware, and software.
Core to the ability to preserve capital is the ability to upsize your IT infrastructure on demand, or simply pay more operational dollars for additional computing capacity which would traditionally require a capital expenditure. Many cloud computing providers call this being elastic, or the ability to grow or contract to accommodate the business. For example, you can call upon the cloud computing provider to support an additional user and processing load through the holiday, when considering ecommerce solutions.
Like upsizing on-demand, you need to consider what it will take to reduce computing capacity and dollars paid. What does it take to scale down in case you no longer need the computing resource and want to reduce costs as well? Such is the case within many ecommerce systems with capacity requirements that are seasonal.
Shifting the Risk
Another core value of cloud computing is the ability to shift the risk from your enterprise to the cloud computing provider. This concept refers to the fact that, since it’s up to the cloud provider to handle the computing processing load and you’ll pay by use, then it’s possible to reduce the risk that you’ll run out of capacity to support your customers and core business processes. The risk functionally shifts to the cloud provider who is better suited to accept that risk.
Agility means the ability to change the IT infrastructure faster to adapt to the changing needs of the business, such as market downturns, or the introduction of a key product to capture a changing market. This, of course, provides a strategic advantage and allows the business to have a better chance of long-term survival. These days many enterprises are plagued by IT infrastructures that are so poorly planned and fragile that they hurt the business by not providing the required degree of agility.
Article Source: http://www.getelastic.com/cloud-computing-and-roi/