Tutorial : How to Sign up with Amazon Web Services




Amazon Web Services or AWS is one of the world’s most popular and reliable cloud computing platforms. It includes a wide range of compute, storage and content delivery, database, mobile and other services, and it’s a great way to host simple websites as well as complex web or mobile applications in the cloud.

In this tutorial, I’ll walk you, step by step, through the process of using the AWS Cloud to create and provision a new AWS Cloud server. And since AWS offers a Free Tier valid for 12 months, you’ll have plenty of time to experiment with your server without worrying about being billed for usage.

How to setup the AWS Cloud account for your training

Since you’re interested in learning about Cloud Computing, our journey starts with obtaining a free account with AWS.

In this tutorial, We’ll sign up for the AWS account so that you can start using the account for using the products and services for free with certain usage limits . Here are the steps you’ll follow in this tutorial:


  • Register with Amazon Web Services (AWS)
  • Generate an AWS Access Key and Secret
  • Login into your AWS Account using SSH Keys
  • Review the AWS Console
  • Identify the Regions in AWS Console

The next sections will walk you through these steps in detail.

Step 1: Register With Amazon Web Services (AWS)

At the end of this step, you will have signed up for the Amazon Web Services free tier. If you have already have an Amazon Web Services account, you may skip this step.

Begin by creating an AWS account, by browsing to http://aws.amazon.com and clicking the “Sign Up” button at the top of the page. You will need an existing Amazon account to log in and sign up; if you don’t have one, create one to proceed.

Once you’ve signed in to Amazon, sign up for AWS by providing some basic contact information and your mobile phone number.


Once that’s done, proceed to the next stage by entering your credit card information.


If you’re worried about how much you’ll be billed for services, relax. When you first sign up for AWS, you get automatic access to the AWS Free Tier, which entitles you to 12 months of free usage up to certain limits. This includes 750 hours per month of free usage of Amazon EC2 micro servers, which are just right for development or low-traffic website hosting. So long as your usage falls within the limits of the free tier, your credit card will never be billed. However, Amazon still needs your credit card information for security purposes, to avoid service misuse and to confirm your identity.
tip You should fully understand the limits of the AWS free tier to avoid being unduly charged for service usage.

Amazon will now verify your identity, by making an automated call to your mobile phone number and prompting you to enter the PIN number displayed on the screen.


pinverify verify

Once your identity is verified, choose the “Basic” support plan (also free) and confirm your account.


The AWS account registration machine will churn away for a minute or so, and you will then be redirected to a welcome page, which includes a link to the AWS management console. You should also receive an account confirmation email, which tells you that your account is good to go.

Step 2: Sign into the AWS Console

Now is the time to login into the AWS console using the Email and password of your AWS account.
Once you are logged into the AWS console, you will view the common services for e.g. : EC2 or IAM.

Step 3: Verify the AWS Region

With Amazon EC2 you can place instances in different regions or locations. Amazon EC2 locations are composed of regions that contain Availability Zones. Regions are dispersed and are located in different parts of the world (United States, European Union, AsiaPac etc). Availability Zones are distinct locations within the regions which are designed to be isolated from failures from other availability zones and to provide low-latency network connectivity to other Availability zones in the same region.
The AWS region name is always listed in the upper-right corner of the AWS Management Console in the navigation bar.
Use the chart below to determine the region code for different regions which are currently having AWS data centers.
Region Name Region Code
US East (Northern Virginia) Region us-east-1
US West (Northern California) Region us-west-1
US West (Oregon) Region us-west-2
Asia Pacific (Tokyo) Region ap-northeast-1
Asia Pacific (Singapore) Region ap-southeast-1
Asia Pacific (Sydney) Region ap-southeast-2
EU (Ireland) Region eu-west-1
South America (Sao Paulo) Region sa-east-1
Please note the default region for your lab will be US East (N. Virginia).

 Summary :


  • AWS Regions are dispersed and located in different parts of the world.
  • Availability Zones are distinct locations within the same regions
  • Availability Zones provide low latency network connectivity to other Availability zones in same region.
  • Availability Zones are mini data centers separated from each other to isolate failures from other Availability Zones and provide High Availability.

Getting Started with Angular JS

The pyramids of Egypt are the most eloquent hold-outs on the age-old bromide that simple tools and techniques do not essentially have to produce bland, unglamorous results. They can also trigger off monumental creations that speak to everyone who visits them. Java Script, the latest offering from the IT industry’s bigwig Google, is very much in the same domains. Quite simple in its basic mechanisms, yet holding the promise of sprucing up (revolutionizing) the vast skeins of the World Wide Web. In this issue, you will learn some of the rudimentary stuff about AngularJS and what underlies the so-called dynamic future.

Some interesting facts about AngularJS :

  • AngularJS is a structural framework for dynamic web apps
  • It lets you use HTML as your template language and lets you extend HTML’s syntax to express your application’s components

Angular is what HTML would have been had it been designed for applications. HTML is a great declarative language for static documents

The impedance mismatch between dynamic applications and static documents :

  • a library – a collection of functions which are useful when writing web apps. Your code is in charge and it calls into the library when it sees fit. E.g., jQuery.
  • frameworks – a particular implementation of a web application, where your code fills in the details. The framework is in charge and it calls into your code when it needs something app specific

AngularJS has taken a different approach.

It attempts to minimize the impedance mismatch between document centric HTML and what an application needs by creating new HTML constructs. Angular teaches the browser new syntax through a construct we call directives

  • Data binding, as in {{}}.
  • DOM control structures for repeating/hiding DOM fragments.
  • Support for forms and form validation.
  • Attaching code-behind to DOM elements.
  • Grouping of HTML into reusable components.

A complete client-side solution

Angular comes with the following out-of-the-box:

  • Everything you need to build a CRUD app in a cohesive set: data-binding, basic templating directives, form validation, routing, deep-linking, reusable components, dependency injection.
  • Testability story: unit-testing, end-to-end testing, mocks, test harnesses.
  • Seed application with directory layout and test scripts as a starting point.

In other words not every app is a good fit for Angular. Angular was built with the CRUD application in mind. Games and GUI editors are examples of applications with intensive and tricky DOM manipulation. These apps are not fit for using AngularJS.

Benefits of AngularJS :

  • It is a very good idea to decouple DOM manipulation from app logic. This dramatically improves the testability of the code.
  • It is a really, really good idea to regard app testing as equal in importance to app writing. Testing difficulty is dramatically affected by the way the code is structured.
  • It is an excellent idea to decouple the client side of an app from the server side. This allows development work to progress in parallel, and allows for reuse of both sides.
  • It is very helpful indeed if the framework guides developers through the entire journey of building an app: from designing the UI, through writing the business logic, to testing.
  • It is always good to make common tasks trivial and difficult tasks possible.
  • Registering callbacks: Registering callbacks clutters your code, making it hard to see the forest for the trees. Removing common boilerplate code such as callbacks is a good thing. It vastly reduces the amount of JavaScript coding you have to do, and it makes it easier to see what your application does.
  • Manipulating HTML DOM programmatically: Manipulating HTML DOM is a cornerstone of AJAX applications, but it’s cumbersome and error-prone. By declaratively describing how the UI should change as your application state changes, you are freed from low-level DOM manipulation tasks. Most applications written with Angular never have to programmatically manipulate the DOM, although you can if you want to.
  • Marshaling data to and from the UI: CRUD operations make up the majority of AJAX applications’ tasks. The flow of marshaling data from the server to an internal object to an HTML form, allowing users to modify the form, validating the form, displaying validation errors, returning to an internal model, and then back to the server, creates a lot of boilerplate code. Angular eliminates almost all of this boilerplate, leaving code that describes the overall flow of the application rather than all of the implementation details.
  • Writing tons of initialization code just to get started: Typically you need to write a lot of plumbing just to get a basic “Hello World” AJAX app working. With Angular you can bootstrap your app easily using services, which are auto-injected into your application in aGuice-like dependency-injection style. This allows you to get started developing features quickly. As a bonus, you get full control over the initialization process in automated tests.

A first example: Data binding

In the following example we will build a form to calculate the costs of an invoice in different currencies.

Let’s start with input fields for quantity and cost whose values are multiplied to produce the total of the invoice: