Introduction
Amazon Web Services (AWS) began offering IT infrastructure services to businesses in the form of web services — now commonly known as cloud computing. One of the key benefits of cloud computing is the opportunity to replace up-front capital infrastructure expenses with low variable costs that scale with your business. Amazon Web Services provides a highly reliable, scalable, low-cost infrastructure platform in the cloud environment.
Location
- Main URL: http://aws.amazon.com/
- Console URL: https://console.aws.amazon.com/console/home
- Login to AWS Management Console
- AWS Management Console: Amazon EC2
- AWS Management Console: Amazon RDS
- AWS Management Console: Amazon ElasticCache
AWS Management Console
Access and manage Amazon’s growing suite of infrastructure web services through a simple and intuitive, web-based user interface. The AWS Management Console provides convenient management of your compute, storage, and other cloud resources. Figure 1 show the features fund in the AWS Management Console once a user login.
Figure 1: AWS Management Console: Home Page
Login to AWS Management Console
Please click on the either if the two locations shown in the Figure 2 provide the login details.
Figure 2: AWS Management Console: Login locations
In the Figure 3 please provide the following details
- My e-mail address is: xxxxx
- I am a returning user and my password is: xxxxx
Figure 3: Sign In or Create an AWS Account
AWS Management Console: Amazon EC2
Amazon EC2 section provide the interface to manage EC2 instances (installation and setting up the operating system environment). In the Figure 4 we can identify 2 main sections as follows.
- Navigation
- Amazon EC2 Console Dashboard
Navigation
This section the user will find functionality to manage Amazon EC2 instances. As the first step need to select the Region(datacenter location), the location where the application going to deployed. For example can select Asia Pacific(Singapore) as the region and continue with rest of the activities. Functionality is grouped as follows.
- Dashboard
- Scheduled Events
- INSTANCES
- Instances – Using Instances
- Spot Requests
- Reserved Instances
- IMAGES
- AMIs
- Bundle Tasks
- ELASTIC BLOCK STORE
- Volumes
- Snapshots
- NETWORK & SECURITY
- Security Groups – Using Security Groups
- Elastic IPs
- Placement Groups
- Load Balancers
- Key Pairs
- Network Interfaces
Amazon EC2 Console Dashboard
Based on the selection it will load the respective information falls under each section.
Figure 4: AWS Management Console: Amazon EC2
AWS Management Console: Amazon RDS
Amazon Relational Database Service (RDS) makes it easy to set up, operate, and scale a relational database in the cloud. You can click the button below to launch database instance in minutes with automated backups, turnkey Multi-AZ replication, free monitoring metrics. Amazon RDS gives you access to a familiar MySQL or Oracle database to facilitate compatibility with existing code, applications, and tools.
- Navigation
- Amazon RDS Console Dashboard
Navigation
This section the user will find functionality to manage Amazon RDS instances. As the first step need to select the Region(datacenter location), the location where the application going to deployed. For example can select Asia Pacific(Singapore) as the region and continue with rest of the activities. Functionality is grouped as follows.
- Getting Started Guide – Getting Started Guide
- RDS Dashboard
- Databases
- DB Instances
- Reserved DB Instances
- Orderable DB Options
- DB Snapshots
- DB Security Groups
- DB Parameter Groups
- DB Subnet Groups
DB Events
Amazon RDS Console Dashboard
Based on the selection it will load the respective information falls under each section.
Figure 5: AWS Management Console: Amazon RDS
Setting up the database
Please use the following information to login to Amazon RDS instance from our local machine.
$ mysql -u<username> -p<password> -h<xxxxxx.ap-southeast-1.rds.amazonaws.com>
-- user: xxxx
-- password: xxxxx
-- hostname: xxxxxx.ap-southeast-1.rds.amazonaws.com
Next step would be to create the database (eg: elephanti_master) and exit from the instance.
mysql> CREATE DATABASE ;
mysql>..
mysql>..
mysql>quit;
Next transfer the tables to the newly created database on the Amazon RDS instance.
$ mysql -u<username> -p<password> -h<xxxxxx.ap-southeast-1.rds.amazonaws.com> < </path/to/sql_file.sql>;
Configuring the your application
Navigate to the application’s configuration section, eg: config/database.php and update the respective parameters as follows
$db['default']['hostname'] = 'xxxxxxx.ap-southeast-1.rds.amazonaws.com';
$db['default']['username'] = 'xxxxx';
$db['default']['password'] = 'xxxx';
$db['default']['database'] = 'master_db';
AWS Management Console: Amazon ElasticCache
Amazon ElastiCache is a web service that makes it easy to set up, manage, and scale distributed in-memory cache environments in the cloud. It provides a high performance, resizable, and cost-effective in-memory cache, while removing the complexity associated with deploying and managing a distributed cache environment.
- Navigation
- My Cache Clusters
Navigation
This section the user will find functionality to manage Amazon ElastiCache instances. As the first step need to select the Region(datacenter location), the location where the application going to deployed. For example select Asia Pacific(Singapore) as the region and continue with rest of the activities. Functionality is grouped as follows.
- Getting Started Guide – Getting Started Guide
- Cache Clusters – Cache Clusters
- Cache Security Groups – Cache Security Groups
- Cache Parameter Groups
- Cache Events
My Cache Clusters
Based on the selection it will load the respective information falls under each section.
Figure 6: AWS Management Console: Amazon ElasticCache
Connecting to Elastic Cache Cluster
Navigate to the application’s configuration section, eg: config/config.php and update the respective parameters as follows
$config['MEMCACHE_IP'] = "xxxxxxx.cache.amazonaws.com";
$config['MEMCACHE_PORT'] = "11211";






Alex McConnell (@TweetAlexM) said,
February 28, 2012 at 9:20 am
Great introduction to AWS. For creating instances in EC2, there is a great web application called CloudFlex that simplifies the process and has a pretty neat layout. You should give it a try!
hayesha said,
February 28, 2012 at 9:46 am
Hi Alex,
Thanks, just went through CloudFlex site, yep I should give it a try.
Cheers.
Hayesha