Introduction to Cloud & AWS

Spread the love

This chapter will cover the following topics

  • Basics of Cloud computing
  • Characteristics / Advantages of Cloud computing
  • Cloud computing deployment models
  • Cloud computing service model
  • Basics of AWS
  • Benefits of using AWS over the traditional data center
  • Different ways to access AWS services
  • Global Infrastructure of AWS
  • Important services of AWS – Walkthrough – High Level
  • AWS account creation steps
  • Management console walkthrough
  • Basic account management settings
  • Introduction to billing dashboard
  • Setting up billing alarm and budget

Basics of Cloud computing

According to Wikipedia: “It is internet-based computing in which large groups of remote servers are networked to allow the centralized data storage and online access to computer services or resources.“

In simple terminologies, cloud computing is the host of services that are hosted at a remote location and they are remotely accessible to us.

The host of services contains:
networks
servers
storage
applications
services

Above services are available with minimal management efforts and less/no service provider interaction.

Characteristics / Advantages of Cloud computing

High availability – Very high availability – 99.9%
Fault Tolerance – Easy fault finding and resolution
Scalability – Scale up and scale down on the go
Elasticity – Easily grow and shrink
Lower latency – Easy deployment and available in no time
Pay as you go model – Only pay what you use

Cloud computing deployment models

Deployment models of Cloud Computing

Private Cloud

Managed and used by single specific business or organization More flexibility Improved security High scalability.

Public Cloud

Open and accessible to the public for subscription

  • Lower cost
  • No maintenance
  • Near unlimited scalability – on demand resources are available
  • High reliability

Community Cloud

Accessible by a group of organization
Almost like a public cloud except access is limited to the specific community

Hybrid cloud

Combination of private and public cloud

  • Total control
  • Flexibility
  • Cost effectiveness
  • Ease

Cloud computing service model

Cloud Computing Service Model

Reference models on which cloud computing is based on.

Cloud services are defined in 3 categories:

  • Infrastructure as a service(IaaS)
  • Platform as a service(PaaS)
  • Software as a service(SaaS)

Infrastructure as a service(IaaS)

Includes infra such as servers, private networks, disk drives, long term storage solutions, email servers, domain name servers etc.

The customers deploy and run their own applications on these resources.

For eg : Amazon Ec2, Microsoft Azure, Rackspace, GoDaddy etc.

Platform as a service(PaaS)

The service provider makes certain core components such as databases, queues, workflow engines, email, and so on, available as services to the customer.

The customer then leverages these components for building their own applications.

For ex: AWS Elastic beanstalk, Google app engine, etc.

Software as a service(SaaS)

Third-party providers using a subscription model provide end user applications to their customers.

Also called on-demand software.

For eg: Google Drive, Office 365 etc.

Basics of AWS

Amazon Web Service(AWS) is a public cloud
AWS is a leader in cloud IaaS
In 2006, AWS started offering IT services to the market In the form of web services
Today, AWS provides a highly reliable, scalable and low cost infrastructure platform
AWS services are being used in 190 countries around the world

Companies who are using AWS in their respective business

Benefits of using AWS over traditional DC

No huge upfront cost :
CapEx -> OpEx
Cost benefit from massive economies of scale :
Bulk discounts available
No need to guess the required infrastructure capacity :

Grow and shrink as per your requirement
Increased speed and agility :
Independent from third party vendors and their availability
Global access :
AWS global infrastructure

Different ways to access AWS services

AWS management console:
Web-based / browser-based AWS console
AWS command-line interface(CLI):
Mostly used by system administrators
Different commands to access AWS services
AWS software development kits(SDKs):
Used while developing APIs using programming languages
Query API:
By using GET and PUT HTTP requests

AWS overview and its infrastructure

AWS (Amazon Web Service) infrastructure is connected and isolated in the form of Regions, Availability Zones and Edge location based on geography.

Regions:
Independent geography area that contains multiple AZs
Each region has at least 2 AZs
Name pattern : country-region-1
For example: us-east-1

AWS Regions

Availability zones:
One or more data center(DC) within a region
All AZs are internally connected through dedicated low latency network
For example: us-east-1A, us-east-1B…

Edge location:
It is smaller Point of Presence(PoP) service used to cache content through Cloudfront CDN
Generally, nos. of Edge locations are always more than nos. of AZs
Delhi, Chennai, Mumbai and Hyderabad are the edge locations in India

AWS Regions and AZs

Important services of AWS

  • IAM(Identity and Access Management)
  • S3(Simple Storage Service)
  • EC2(Elastic Compute Cloud)
  • VPC(Virtual Private Network)
  • Load balancer
  • Amazon EBS(Elastic Block Storage)
  • Amazon DynamoDB
  • Amazon RDS(Relational Database Systems)
  • Amazon RedShift
  • Amazon Lambda
  • Amazon Elasticache
  • Amazon SQS(Simple Queue Service)
  • Amazon SNS(Simple Notification Service)
  • Amazon SES(Simple Email Service)
  • Amazon API Gateway
  • Amazon Route53
  • Amazon CloudFront
  • Amazon CloudWatch

AWS Account creation steps

URL: https://aws.amazon.com/free/

Step – 1
Step – 2: Point your browser to http://aws.amazon.com/free and click on Create a Free Account
Step : 3 – Enter the above details, as shown:
Step: 4 – Enter the captcha code to proceed
Step: 5 – Enter contact details to proceed
Step: 6 – Enter payment details
Step: 7 – Next, Amazon executes an identity verification step. It includes a call back via an automated system to verify your telephone number. You will also need to enter a four digit PIN (displayed on your screen) when prompted.
Step: 8 – Select your Support Plan: You can subscribe to one of Basic, Developer, Business, or Enterprise plans. It is recommended subscribing to the Basic plan at this stage.
Step: 9 – Select your Support Plan: You can subscribe to one of Basic, Developer, Business, or Enterprise plans. It is recommended subscribing to the Basic plan at this stage.
Step: 10 – At the Confirmation stage, you have completed all the steps requiring your input for setting up an AWS account (see all the steps checked at the top of your screen as shown). Click on Launch Management Console

Congratulations!!! You have created your AWS Free tier account successfully.

AWS management console walk through

The AWS management console is the central location from where you can access all Amazon services. The management console has links to the following:

The home screen of the console as shown above
Click on All services to expand the display. This view lists all the AWS services available in a specific Amazon region.
This allows you to access your account-related data. It includes security credentials needed to access the AWS resources, and the My Billing Dashboard option gives you real-time information on your current month’s billing
This option allows you to access the Amazon Web Services in a specific region. For example, the list of Amazon Web Services, shown earlier, was for the US East(N. Virginia) region
Click on the Support menu (located on the title bar) to access help-related items. You can navigate to help, forums and support pages

Basic account management settings

For account management settings, click on My Security Credential as shown in the above screenshots

Introduction to billing dashboard

Click on My billing dashboard as shown in the above screenshot

Setting up billing alarm and budget

To get billing, you need to enable Receive PDF invoice by email option
To set a budget and its alarm, we will use the Cloudwatch service. It is region specific service, so select region first and Goes to Cloudwatch service and select metric as above
In the next step, define alarm threshold and relative actions

Summary

In this chapter, we have gone through an introduction of AWS and account creation steps. We also go through account creation steps. Now, we are all set to explore all the services of AWS now.

Stay tuned for the next chapter that is a very important service of AWS that is: IAM (Identity and Access Management)