Amazon Web Services
Amazon Web Services
Services
Ezerbase
Amazon Web Services
Amazon Web Services (AWS) is Amazon’s cloud web hosting platform that offers flexible,
reliable, scalable, easy-to-use, and cost-effective solutions. This tutorial covers various
important topics illustrating how AWS works and how it is beneficial to run your website on
Amazon Web Services.
Audience
This tutorial is prepared for beginners who want to learn how Amazon Web Services works to
provide reliable, flexible, and cost-effective cloud computing services.
Prerequisites
To benefit from this tutorial, you should have the desire to understand how Amazon Web
Services can help you scale your cloud computing services.
Table of Contents
Amazon Web Services Basics....................................................................................................6
AWS - Cloud Computing.......................................................................................................6
AWS - Basic Architecture......................................................................................................9
AWS - Management Console...............................................................................................13
AWS - Console Mobile App.................................................................................................18
AWS - Account.....................................................................................................................20
Amazon Computer Services.....................................................................................................28
AWS - Elastic Compute Cloud.............................................................................................28
AWS - Auto Scaling.............................................................................................................32
AWS - WorkSpaces..............................................................................................................35
AWS - Lambda.....................................................................................................................42
Amazon Network Services.......................................................................................................48
AWS - Virtual Private Cloud................................................................................................48
AWS - Route 53...................................................................................................................54
AWS - Direct Connect..........................................................................................................57
Amazon Storage Services........................................................................................................62
AWS - Amazon S3...............................................................................................................62
AWS - Elastic Block Store...................................................................................................68
AWS - Storage Gateway......................................................................................................72
AWS – CloudFront...............................................................................................................75
Amazon Database Services......................................................................................................79
AWS - Relational Database Service.....................................................................................79
AWS - DynamoDB...............................................................................................................84
AWS - Redshift....................................................................................................................87
Amazon Analytics Services......................................................................................................94
AWS – Kinesis.....................................................................................................................94
AWS – Elastic MapReduce..................................................................................................97
AWS – Data Pipeline..........................................................................................................101
AWS – Machine Learning..................................................................................................103
Amazon Application Services................................................................................................108
AWS – Simple WorkFlow Service.....................................................................................108
AWS – WorkMail...............................................................................................................113
Amazon Web
Services Basics
Amazon Web Services Basics
Types of Clouds
There are three types of clouds − Public, Private, and Hybrid cloud.
Public Cloud
In public cloud, the third-party service providers make resources and services available to
their customers via Internet. Customer’s data and related security is with the service
providers’ owned infrastructure.
Private Cloud
A private cloud also provides almost similar features as public cloud, but the data and
services are managed by the organization or by the third party only for the customer’s
organization. In this type of cloud, major control is over the infrastructure so security related
issues are minimized.
Hybrid Cloud
A hybrid cloud is the combination of both private and public cloud. The decision to run on
private or public cloud usually depends on various parameters like sensitivity of data and
applications, industry certifications and required standards, regulations, etc.
IaaS
IaaS stands for Infrastructure as a Service. It provides users with the capability to provision
processing, storage, and network connectivity on demand. Using this service model, the
customers can develop their own applications on these resources .
PaaS
PaaS stands for Platform as a Service. Here, the service provider provides various services
like databases, queues, workflow engines, e-mails, etc. to their customers. The customer can
then use these components for building their own applications. The services, availability of
resources and data backup are handled by the service provider that helps the customers to
focus more on their application's functionality.
SaaS
SaaS stands for Software as a Service. As the name suggests, here the third-party providers
provide end-user applications to their customers with some administrative capability at the
application level, such as the ability to create and manage their users. Also some level of
customizability is possible such as the customers can use their own corporate logos, colors,
etc.
Note − In the above diagram S3 stands for Simple Storage Service. It allows the users to
store and retrieve various types of data using API calls. It doesn’t contain any computing
element. We will discuss this topic in detail in AWS products section.
Load Balancing
Load balancing simply means to hardware or software load over web servers, that
improver's the efficiency of the server as well as the application. Following is the
diagrammatic representation of AWS architecture with load balancing.
Hardware load balancer is a very common network appliance used in traditional web
application architectures.
AWS provides the Elastic Load Balancing service, it distributes the traffic to EC2 instances
across multiple available sources, and dynamic addition and removal of Amazon EC2 hosts
from the load-balancing rotation.
Elastic Load Balancing can dynamically grow and shrink the load-balancing capacity to
adjust to traffic demands and also support sticky sessions to address more advanced routing
needs.
Amazon Cloud-front
It is responsible for content delivery, i.e., used to deliver website. It may contain dynamic,
static, and streaming content using a global network of edge locations. Requests for content at
the user's end are automatically routed to the nearest edge location, which improves the
performance.
Amazon Cloud-front is optimized to work with other Amazon Web Services, like Amazon S3
and Amazon EC2. It also works fine with any non-AWS origin server and stores the original
files in a similar manner.
In Amazon Web Services, there are no contracts or monthly commitments. We pay only for as
much or as little content as we deliver through the service.
Security Management
Amazon’s Elastic Compute Cloud (EC2) provides a feature called security groups, which is
similar to an inbound network firewall, in which we have to specify the protocols, ports, and
source IP ranges that are allowed to reach your EC2 instances.
Each EC2 instance can be assigned one or more security groups, each of which routes the
appropriate traffic to each instance. Security groups can be configured using specific subnets
or IP addresses which limits access to EC2 instances.
Elastic Caches
Amazon Elastic Cache is a web service that manages the memory cache in the cloud. In
memory management, cache has a very important role and helps to reduce the load on the
services, improves the performance and scalability on the database tier by caching frequently
used information.
Amazon RDS
Amazon RDS (Relational Database Service) provides a similar access as that of MySQL,
Oracle, or Microsoft SQL Server database engine. The same queries, applications, and tools
can be used with Amazon RDS.
It automatically patches the database software and manages backups as per the user’s
instruction. It also supports point-in-time recovery. There are no up-front investments
required, and we pay only for the resources we use.
Step 2 − Select the choice from the list of categories and we get their sub-categories such as
Computer and Database category is selected in the following screenshots.
Step 3 − Select the service of your choice and the console of that service will open.
Customizing the Dashboard
Creating Services Shortcuts
Click the Edit menu on the navigation bar and a list of services appears. We can create their
shortcuts by simply dragging them from the menu bar to the navigation bar.
Selecting a Region
Many of the services are region specific and we need to select a region so that resources can
be managed. Some of the services do not require a region to be selected like AWS Identity
and Access Management (IAM).
To select a region, first we need to select a service. Click the Oregon menu (on the left side of
the console) and then select a region
Now a new page will open having all the information related to money section. Using this
service, we can pay AWS bills, monitor our usage and budget estimation.
AWS - Console Mobile App
AWS - Account
Now the account is created and can be used to avail AWS services.
AWS Account Identifiers
AWS assigns two unique IDs to each AWS account.
An AWS account ID
A conical user ID
AWS Account ID
It is a 12-digit number like 123456789000 and is used to construct Amazon Resource Names
(ARN). This ID helps to distinguish our resources from resources in other AWS accounts.
To know the AWS account number, click Support on the upper right side of the navigation bar
in AWS management console as shown in the following screenshot.
Account Alias
Account alias is the URL for your sign-in page and contains the account ID by default. We
can customize this URL with the company name and even overwrite the previous one.
How to Create/Delete Your Own AWS Account Alias?
Step 1 − Sign in to the AWS management console and open the IAM console using the
following link https://console.aws.amazon.com/iam/
Step 5 − We can manage the user’s own security credentials like creating password,
managing MFA devices, managing security certificates, creating/deleting access keys, adding
user to groups, etc.
There are many more features that are optional and are available on the web page.
Amazon Computer
Services
Amazon Computer Services
AWS - Elastic Compute Cloud
EC2 Components
In AWS EC2, the users must be aware about the EC2 components, their operating systems
support, security measures, pricing structures, etc.
Operating System Support
Amazon EC2 supports multiple OS in which we need to pay additional licensing fees like:
Red Hat Enterprise, SUSE Enterprise and Oracle Enterprise Linux, UNIX, Windows Server,
etc. These OS needs to be implemented in conjunction with Amazon Virtual Private Cloud
(VPC).
Security
Users have complete control over the visibility of their AWS account. In AWS EC2, the
security systems allow create groups and place running instances into it as per the
requirement. You can specify the groups with which other groups may communicate, as well
as the groups with which IP subnets on the Internet may talk.
Pricing
AWS offers a variety of pricing options, depending on the type of resources, types of
applications and database. It allows the users to configure their resources and compute the
charges accordingly.
Fault tolerance
Amazon EC2 allows the users to access its resources to design fault-tolerant applications.
EC2 also comprises geographic regions and isolated locations known as availability zones for
fault tolerance and stability. It doesn’t share the exact locations of regional data centers for
security reasons.
When the users launch an instance, they must select an AMI that's in the same region where
the instance will run. Instances are distributed across multiple availability zones to provide
continuous services in failures, and Elastic IP (EIPs) addresses are used to quickly map failed
instance addresses to concurrent running instances in other zones to avoid delay in services.
Migration
This service allows the users to move existing applications into EC2. It costs $80.00 per
storage device and $2.49 per hour for data loading. This service suits those users having large
amount of data to move.
Features of EC2
Here is a list of some of the prominent features of EC2 −
Reliable − Amazon EC2 offers a highly reliable environment where replacement of
instances is rapidly possible. Service Level Agreement commitment is 99.9%
availability for each Amazon EC2 region.
Designed for Amazon Web Services − Amazon EC2 works fine with Amazon
services like Amazon S3, Amazon RDS, Amazon DynamoDB, and Amazon SQS. It
provides a complete solution for computing, query processing, and storage across a
wide range of applications.
Secure − Amazon EC2 works in Amazon Virtual Private Cloud to provide a secure
and robust network to resources.
Flexible Tools − Amazon EC2 provides the tools for developers and system
administrators to build failure applications and isolate themselves from common
failure situations.
Inexpensive − Amazon EC2 wants us to pay only for the resources that we use. It
includes multiple purchase plans such as On-Demand Instances, Reserved Instances,
Spot Instances, etc. which we can choose as per our requirement.
Features of ELB
Following are the most prominent features of ELB −
ELS is designed to handle unlimited requests per second with gradually increasing
load pattern.
We can configure EC2 instances and load balancers to accept traffic.
We can add/remove load balancers as per requirement without affecting the overall
flow of information.
It is not designed to handle sudden increase in requests like online exams, online
trading, etc.
Customers can enable Elastic Load Balancing within a single Availability Zone or
across multiple zones for even more consistent application performance.
Step 7 − Click the Add button and a new pop-up will appear to select subnets from the list of
available subnets as shown in the following screenshot. Select only one subnet per
availability zone. This window will not appear if we do not select Enable advanced VPC
configuration.
Step 8 − Choose Next; a pop-up window will open. After selecting a VPC as your network,
assign security groups to Load Balancers.
Step 9 − Follow the instructions to assign security groups to load balancers and click Next.
Step 10 − A new pop-up will open having health checkup configuration details with default
values. Values can be set on our own, however these are optional. Click on Next: Add EC2
Instances.
Step 11 − A pop-up window will open having information about instances like registered
instances, add instances to load balancers by selecting ADD EC2 Instance option and fill the
information required. Click Add Tags.
Step 12 − Adding tags to your load balancer is optional. To add tags click the Add Tags Page
and fill the details such as key, value to the tag. Then choose Create Tag option. Click Review
and Create button.
A review page opens on which we can verify the setting. We can even change the settings by
choosing the edit link.
Step 13 − Click Create to create your load balancer and then click the Close button.
How It Works?
Each WorkSpace is a persistent Windows Server 2008 R2 instance that looks like Windows 7,
hosted on the AWS cloud. Desktops are streamed to users via PCoIP and the data backed up
will be taken on every 12 hours by default.
User Requirements
An Internet connection with TCP and UDP open ports is required at the user’s end. They have
to download a free Amazon WorkSpaces client application for their device.
In VPC section, fill the VPC details and select Next step.
A review page will open to review the information. Make changes if incorrect, then
click the Create Simple AD button.
Select the cloud directory. Enable/disable WorkDocs for all users in this directory,
then click the Yes, Next button.
A new page will open. Fill the details for the new user and select the Create
Users button. Once the user is added to the WorkSpace list, select Next.
Enter the number of bundles needed in the value field of WorkSpaces Bundles page,
then select Next.
A review page will open. Check the details and make changes if required. Select
Launch WorkSpaces.
There will be a message to confirm the account, after which we can use WorkSpaces.
Step 4 − Test your WorkSpaces using the following steps.
Download and install the Amazon WorkSpaces client application using the following link
− https://clients.amazonworkspaces.com/.
Run the application. For the first time, we need to enter the registration code received
in email and click Register.
Connect to the WorkSpace by entering the user name and password for the user.
Select Sign In.
Now WorkSpace desktop is displayed. Open this
link http://aws.amazon.com/workspaces/ on THE web browser. Navigate and verify
that the page can be viewed.
A message saying “Congratulations! Your Amazon WorkSpaces cloud directory has
been created, and your first WorkSpace is working correctly and has Internet access”
will be received.
Client Reconnect
This AWS WorkSpaces feature allows the users to access to their WorkSpace without entering
their credentials every time when they disconnect. The application installed at the client’s
device saves an access token in a secure store, which is valid for 12 hours and uses to
authenticate the right user. Users click on the Reconnect button on the application to get
access on their WorkSpace. Users can disable this feature any time.
You will see this entry in Event Sources Tab of Lambda Service page.
Step 8 − Add some entries into the table. When the entry gets added and saved, then Lambda
service should trigger the function. It can be verified using the Lambda logs.
Step 9 − To view logs, select the Lambda service and click the Monitoring tab. Then click the
View Logs in CloudWatch.
Service Limit
The following table shows the list of services limits for deploying a Lambda function.
Size of code/dependencies that you can zip into a deployment package 250 MB
(uncompressed zip/jar size)
Total size of all the deployment packages that can be uploaded per 1.5 GB
region
Step 5 − A dialog box will open, showing the work in progress. When it is completed, select
the OK button.
The Your VPCs page opens which shows a list of available VPCs. The setting of VPC can be
changed here.
Step 3 − A form page opens. Provide the required details such as domain name and
comments, then click the Create button.
Step 4 − Hosted zone for the domain will be created. There will be four DNS endpoints
called delegation set and these endpoints must be updated in the domain names Nameserver
settings.
Step 5 − If it is godaddy.com then select domain’s control panel and update the Route 53
DNS endpoints. Delete the rest default values. It will take 2-3 minutes to update.
Step 6 − Go back to Route 53 console and select the go to record sets option. This will show
you the list of record sets. By default, there are two record sets of type NS & SOA.
Step 7 − To create your record set, select the create record set option. Fill the required details
such as: Name, Type, Alias, TTL seconds, Value, Routing policy, etc. Click the Save record
set button.
Step 8 − Create one more record set for some other region so that there are two record sets
with the same domain name pointing to different IP addresses with your selected routing
policy.
Once completed, the user requests will be routed based on the network policy.
Features of Route 53
Easy to register your domain − We can purchase all level of domains
like .com, .net, .org, etc. directly from Route 53.
Highly reliable − Route 53 is built using AWS infrastructure. Its distributed nature
towards DNS servers help to ensure a consistent ability to route applications of end
users.
Scalable − Route 53 is designed in such a way that it automatically handles large
volume queries without the user’s interaction.
Can be used with other AWS Services − Route 53 also works with other AWS
services. It can be used to map domain names to our Amazon EC2 instances, Amazon
S3 buckets, Amazon and other AWS resources.
Easy to use − It is easy to sign-up, easy to configure DNS settings, and provides
quick response to DNS queries.
Health Check: Route 53 monitors the health of the application. If an outage is
detected, then it automatically redirects the users to a healthy resource.
Cost-Effective − Pay only for the domain service and the number of queries that the
service answers for each domain.
Secure − By integrating Route 53 with AWS (IAM), there is complete control over
every user within the AWS account, such as deciding which user can access which
part of Route 53.
AWS - Direct Connect
Amazon Web Services - Direct Connect
AWS Direct Connect permits to create a private network connection from our network
to AWS location. It uses 802.1q VLANs, which can be partitioned into multiple virtual
interfaces to access public resources using the same connection. This results in reduced
network cost and increased bandwidth. Virtual interfaces can be reconfigured at any time as
per the requirement.
AWS will send an confirmation email within 72 hours to the authorized user.
Step 5 − Create a Virtual Interface using the following steps.
Open AWS console page again.
Select Connection in the navigation bar, then select Create Virtual Interface. Fill the
required details and click the Continue button.
Select Download Router Configuration, then click the Download button.
Verify the Virtual Interface (optional). To verify the AWS Direct Connect connections
use the following procedures.
To verify virtual interface connection to the AWS cloud − Run traceroute and verify that
the AWS Direct Connect identifier is in the network trace.
To verify virtual interface connection to Amazon VPC − Use any pingable AMI and
launch Amazon EC2 instance into the VPC that is attached to the virtual private gateway.
When an instance is running, get its private IP address and ping the IP address to get a
response.
Create a Bucket dialog box will open. Fill the required details and click the Create
button.
The bucket is created successfully in Amazon S3. The console displays the list of
buckets and its properties.
Select the Static Website Hosting option. Click the radio button Enable website
hosting and fill the required details.
Step 3 − Add an Object to a bucket using the following steps.
Open the Amazon S3 console using the following link
− https://console.aws.amazon.com/s3/home
Click the Upload button.
Click the Add files option. Select those files which are to be uploaded from the system
and then click the Open button.
Click the start upload button. The files will get uploaded into the bucket.
To open/download an object − In the Amazon S3 console, in the Objects & Folders list,
right-click on the object to be opened/downloaded. Then, select the required object.
How to Move S3 Objects?
Following are the steps to move S3 objects.
step 1 − Open Amazon S3 console.
step 2 − Select the files & folders option in the panel. Right-click on the object that is to be
moved and click the Cut option.
step 3 − Open the location where we want this object. Right-click on the folder/bucket where
the object is to be moved and click the Paste into option.
How to Delete an Object?
Step 1 − Open Amazon S3.
Step 2 − Select the files & folders option in the panel. Right-click on the object that is to be
deleted. Select the delete option.
Step 3 − A pop-up window will open for confirmation. Click Ok.
Amazon S3 Features
Low cost and Easy to Use − Using Amazon S3, the user can store a large amount of
data at very low charges.
Secure − Amazon S3 supports data transfer over SSL and the data gets encrypted
automatically once it is uploaded. The user has complete control over their data by
configuring bucket policies using AWS IAM.
Scalable − Using Amazon S3, there need not be any worry about storage concerns.
We can store as much data as we have and access it anytime.
Higher performance − Amazon S3 is integrated with Amazon CloudFront, that
distributes content to the end users with low latency and provides high data transfer
speeds without any minimum usage commitments.
Integrated with AWS services − Amazon S3 integrated with AWS services include
Amazon CloudFront, Amazon CLoudWatch, Amazon Kinesis, Amazon RDS, Amazon
Route 53, Amazon VPC, AWS Lambda, Amazon EBS, Amazon Dynamo DB, etc.
AWS - Elastic Block Store
Step 2 − Store EBS Volume from a snapshot using the following steps.
Repeat the above 1 to 4 steps to create volume.
Type snapshot ID in the Snapshot ID field from which the volume is to be restored
and select it from the list of suggested options.
If there is requirement for more storage, change the storage size in the Size field.
Select the Yes Create button.
Step 3 − Attach EBS Volume to an Instance using the following steps.
Open the Amazon EC2 console.
Select Volumes in the navigation pane. Choose a volume and click the Attach Volume
option.
An Attach Volume dialog box will open. Enter the name/ID of instance to attach the
volume in the Instance field or select it from the list of suggestion options.
Click the Attach button.
Volume Gateways
This storage type provides cloud-backed storage volumes which can be mount as Internet
Small Computer System Interface (iSCSI) devices from on-premises application servers.
Gateway-cached Volumes
AWS Storage Gateway stores all the on-premises application data in a storage volume in
Amazon S3. Its storage volume ranges from 1GB to 32 TB and up to 20 volumes with a total
storage of 150TB. We can attach these volumes with iSCSI devices from on-premises
application servers. It is of two categories −
Gateway-stored Volumes
When the Virtual Machine (VM) is activated, gateway volumes are created and mapped to the
on-premises direct-attached storage disks. Hence, when the applications write/read the data
from the gateway storage volumes, it reads and writes the data from the mapped on-premises
disk.
A gateway-stored volume allows to store primary data locally and provides on-premises
applications with low-latency access to entire datasets. We can mount them as iSCSI devices
to the on-premises application servers. It ranges from 1 GB to 16 TB in size and supports up
to 12 volumes per gateway with a maximum storage of 192 TB.
Features of CloudFront
Fast − The broad network of edge locations and CloudFront caches copies of content close to
the end users that results in lowering latency, high data transfer rates and low network traffic.
All these make CloudFront fast.
Simple − It is easy to use.
Can be used with other AWS Services − Amazon CloudFront is designed in such a way that
it can be easily integrated with other AWS services, like Amazon S3, Amazon EC2.
Cost-effective − Using Amazon CloudFront, we pay only for the content that you deliver
through the network, without any hidden charges and no up-front fees.
Elastic − Using Amazon CloudFront, we need not worry about maintenance. The service
automatically responds if any action is needed, in case the demand increases or decreases.
Reliable − Amazon CloudFront is built on Amazon’s highly reliable infrastructure, i.e. its
edge locations will automatically re-route the end users to the next nearest location, if
required in some situations.
Global − Amazon CloudFront uses a global network of edge locations located in most of the
regions.
Create Distribution page opens. Choose the Amazon S3 bucket created in the Origin
Domain Name and leave the remaining fields as default.
Default Cache Behavior Settings page opens. Keep the values as default and move to
the next page.
A Distribution settings page opens. Fill the details as per your requirement and click
the Create Distribution button.
The Status column changes from In Progress to Deployed. Enable your distribution by
selecting the Enable option. It will take around 15 minutes for the domain name to be
available in the Distributions list.
Step 6 − On the Additional configuration page, provide the additional information required to
launch the MySQL DB instance and click the Continue button.
Step 7 − On Management options page, make the choices and click the Continue button.
Step 8 − On the Review page, verify the details and click the Launch DB Instance button.
Now DB instance shows in the list of DB instances.
Create Table window opens. Fill the details into their respective fields and click the
Continue button.
Finally, a review page opens where we can view details. Click the Create button.
Now the Table-name is visible in the in-to the list and Dynamo Table is ready to use.
AWS - Redshift
Amazon Web Services – Redshift
Amazon Redshift is a fully managed data warehouse service in the cloud. Its datasets
range from 100s of gigabytes to a petabyte. The initial process to create a data warehouse is
to launch a set of compute resources called nodes, which are organized into groups
called cluster. After that you can process your queries.
The Cluster Details page opens. Provide the required details and click the Continue
button till the review page.
A confirmation page opens. Click the Close button to finish so that cluster is visible in
the Clusters list.
Select the cluster in the list and review the Cluster Status information. The page will
show Cluster status.
Step 2 − Configure security group to authorize client connections to the cluster. The
authorizing access to Redshift depends on whether the client authorizes an EC2 instance or
not.
Follow these steps to security group on EC2-VPC platform.
Open Amazon Redshift Console and click Clusters on the navigation pane.
Select the desired Cluster. Its Configuration tab opens.
Click the Edit button. Set the fields as shown below and click the Save button.
o Type − Custom TCP Rule.
o Protocol − TCP.
o Port Range − Type the same port number used while launching the cluster.
By-default port for Amazon Redshift is 5439.
o Source − Select Custom IP, then type 0.0.0.0/0.
Use the following steps to connect the Cluster with SQL Workbench/J.
o Open SQL Workbench/J.
o Select the File and click the Connect window.
o Select Create a new connection profile and fill the required details like name,
etc.
o Click Manage Drivers and Manage Drivers dialog box opens.
o Click the Create a new entry button and fill the required details.
Click the folder icon and navigate to the driver location. Finally, click the Open
button.
Leave the Classname box and Sample URL box blank. Click OK.
Choose the Driver from the list.
In the URL field, paste the JDBC URL copied.
Enter the username and password to their respective fields.
Select the Autocommit box and click Save profile list.
Features of Amazon Redshift
Following are the features of Amazon Redshift −
Supports VPC − The users can launch Redshift within VPC and control access to the
cluster through the virtual networking environment.
Encryption − Data stored in Redshift can be encrypted and configured while creating
tables in Redshift.
SSL − SSL encryption is used to encrypt connections between clients and Redshift.
Scalable − With a few simple clicks, the number of nodes can be easily scaled in your
Redshift data warehouse as per requirement. It also allows to scale over storage
capacity without any loss in performance.
Cost-effective − Amazon Redshift is a cost-effective alternative to traditional data
warehousing practices. There are no up-front costs, no long-term commitments and
on-demand pricing structure.
Amazon Analytics
Services
Amazon Analytics Services
AWS – Kinesis
Select the Kinesis icon and fill the required details. Click the Next button.
Select the desired Stream on the Stream tab.
On the Fields tab, create unique label names, as required and click the Next button.
On the Charts Tab, enable the charts for data. Customize the settings as required and
then click the Finish button to save the setting.
On the Hardware Configuration section, select m3.xlarge in EC2 instance type field
and leave other settings as default. Click the Next button.
On the Security and Access section, for EC2 key pair, select the pair from the list in
EC2 key pair field and leave the other settings as default.
On Bootstrap Actions section, leave the fields as set by default and click the Add
button. Bootstrap actions are scripts that are executed during the setup before Hadoop
starts on every cluster node.
On the Steps section, leave the settings as default and proceed.
Click the Create Cluster button and the Cluster Details page opens. This is where we
should run the Hive script as a cluster step and use the Hue web interface to query the
data.
Step 4 − Run the Hive script using the following steps.
Open the Amazon EMR console and select the desired cluster.
Move to the Steps section and expand it. Then click the Add step button.
The Add Step dialog box opens. Fill the required fields, then click the Add button.
Step 3 − In the Input data section, fill the required details and select the choice for data
storage, either S3 or Redshift. Click the Verify button.
Step 4 − After S3 location verification is completed, Schema section opens. Fill the fields as
per requirement and proceed to the next step.
Step 5 − In Target section, reselect the variables selected in Schema section and proceed to
the next step.
Step 6 − Leave the values as default in Row ID section and proceed to the Review section.
Verify the details and click the Continue button.
Following are some screenshots of Machine Learning services.
Data Set Created by Machine Learning
Summary Made by Machine Learning
Step 4 − In the Create Domain section, click the Create a new Domain radio button and then
click the Continue button.
Step 5 − In Registration section, read the instructions then click the Continue button.
Step 6 − In the Deployment section, choose the desired option and click the Continue button.
Step 7 − In the Run an Execution section, choose the desired option and click the Run this
Execution button.
Step 3 − Select the desired option and choose the Region from the top right side of the
navigation bar.
Step 4 − Fill the required details and proceed to the next step to configure an account. Follow
the instructions. Finally, the mailbox will look like as shown in the following screenshot.