0% found this document useful (0 votes)
24 views39 pages

Unit 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views39 pages

Unit 4

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 39

UNIT IV

CLOUD
DEPLOYMENT
ENVIRONMENT
Topic 1: GOOGLE APP ENGINE
1.Introduction to Google App Engine
(GAE)
Google App Engine (GAE) is a Platform as a
Service cloud computing platform for
developing and hosting web applications in
Google-managed data centers.
Google App Engine (GAE) is a fully managed
platform-as-a-service (PaaS) offering from
Google Cloud.
It allows developers to build and deploy web
applications and APIs without worrying about
infrastructure management.
Contd.,
An app is a piece of software which can run on
the computer, internet, phone or any other
electronic device. Google refers to their online
services as Apps. They also sell a specific suite
of services known as Google Apps.
Google's providing both SaaS and PaaS
solutions in cloud computing. Some of the
examples for SaaS solutions including Google
Apps which including Gmail, Doc, etc. and
PaaS includes Google App engine.
2.Services provided by App engine
includes:
a) Platform as a Service (PaaS) to build and
deploy scalable applications.
b) Hosting facility in fully-managed data
centers.
c) A fully-managed, flexible environment
platform for managing application server
and infrastructure.
d) Support in the form of popular
development languages and developer tools.
3.Major Features of GAE:

Major feature of Google App Engine:


1. Automatic scaling and load balancing.
2. Authentication using Google Accounts API.
3. Provides dynamic web services based on
common standards.
4. Integration with other Google Cloud Services
and API.
5. Support persistent storage, with query access
sorting and transaction management features.
Google App engine offers users the ability to build
and host web applications on Google's
infrastructure

Google App Engine

Datastore Caching Authentication Mail

Big table/
Memcache Google apps Gmail
Mapreduce
The App Engine offers a number of services that
enable you to perform several common
operations when managing your application.
The following APIs are available to access these
services :
 Mail
 Memcache
 Image manipulation:
1. Mail: Using the mail API, the developers can
send email messages.
2. Memcache: The Memcache service gives the
users the benefit of working efficiently by
providing high retrieval speed, even when
multiple users access the same application at the
same instance of time.
3. Image manipulation: The Image service
allows you to manipulate images of your
application. With the use of this API, you can
resize, crop, rotate and flip images in JPEG and
PNG formats. In the PaaS space Google is a key
player. App Engine is a platform to create, store
and run applications on Google's servers using
development languages as java and python.
App Engine includes tools for managing
the data store, monitoring the site and its
resource consumption and debugging and
logging.
A user can serve the app from his own
domain name using Google Apps.
4.Architecture
Google App Engine offers two environments:
1.Standard
GAE provides a runtime environment that is
optimized for applications with predictable
traffic patterns andThe Standard Environment
specific language runtimes.
2.Flexible
The Flexible Environment is designed for
applications that require more customization and
flexibility in terms of runtime and environment.
1.Standard Environment
Key characteristics of the Standard Environment
include:
 Limited Customization

 Automatic Scaling

 Sandboxed EnvLironment

 Managed Services

 Support for Popular Languages


2.Flexible Environment
Key characteristics of the Flexible Environment
include:
 Multiple Languages

 Customizable Runtime

 Automatic Scaling

 Full Control

 Managed Services
In both environments, GAE provides
several core features, including:
Load Balancing

Data Storage Options

Global Distribution

Security

Monitoring and Logging


In summary:
Google App Engine's architecture offers a
choice between the Standard Environment and
the Flexible Environment, depending on your
application's needs for customization and
scalability.
Both environments provide managed
infrastructure, automatic scaling, and support for
various programming languages, making GAE a
versatile platform for web application
development.
5.Key features of GAE programming
mode using java and python
The Google App engine Software Development
Kit (SDK) provides Java and
Python programming languages. The languages
have their own web server application that
contains all Google App Engine services on a
local computer. The web server also simulates a
secure sandbox environment.
The Google App engine SDK has APIs and
libraries including the tools to upload
applications. The architecture defines the
structure of applications that run on the Google
App engine.
1.Python :
The Google App engine allows implementation
of applications using python programming
language and running them on its interpreter.
The Google App engine provides rich APIs and
tools for designing web applications, data
modeling, managing, accessing apps data,
support for mature libraries and frameworks like
Django,
The main characteristics of Google App engine
are its DataStore, configuration file app.yaml
and how it serves an application.
2. Java:
 Google App engine provides tools and APIs
required for the development of web
applications that run on the Google App engine
Java run time.
The application interacts with the environment
using servlets and web technologies like Java
Server Pages (JSPS) which can be developed
using Java6.
The GAE environment uses Java SE Runtime
JRE platform 6 and libraries which the
applications can access using APIs.
App engine includes the below features:

a) Dynamic web serving, with full support for


common web technologies.
b) Persistent storage with queries, sorting and
transactions.
c) Automatic scaling and load balancing.
d) APIs for authenticating users and sending email
using Google accounts.
e) Scheduled tasks for triggering events at
specified times and regular intervals.
Topic 2: Amazon Web Services (AWS)
Amazon Web Services (AWS)
Amazon Web Services (AWS) is a cloud
computing platform from Amazon that provides
customers with a wide array of cloud services.
Amazon first debuted its Amazon Web Services
in 2006 as a way to enable the use of online
services by client-side applications or other web
sites via HTTP, REST or SOAP protocols.
Amazon bills customers for Amazon AWS based
on their usage of the various Amazon Web
Services
Contd.,
Amazon Web Services is a secure cloud
platform, offering compute power,
database storage, content delivery and
other functionality to help businesses
scale and grow.
What is Amazon Web Services ?

Amazon Web Services (AWS) is a collection of


remote computing services (web services) that
together make up a cloud computing platform,
offered over the Internet by Amazon.com.
The AWS Cloud infrastructure is built around
Regions and Availability Zones (AZS).
How it works?
 The user requests to the server by the method
such as e-mail either to register or to transfer the
domain.
 Your request which includes all information will
be sent to Amazon API Gateway restful service.
 Amazon Simple email service helps us to send
e-mail with minimal setup and maximum
deliverability. It is integrated with AWS
management console so that you can monitor
your sending activity. Amazon Simple Email
Service helps us by monitoring insecurity
⚫ API Gateway will transfer the collected user
information to an AWS Lambda function.
⚫ AWS Lambda function will generate an e-mail
and forward it to the 3rd party mail server using
Amazon SES.
⚫ Components of Amazon Web Service
architecture are Amazon API Gateway, AWS
Lambda, Amazon Simple Email Service. • API
Gateway is a front-door to access data, business
logic and functionality. API
⚫ Gateway will provide a restful API endpoint for
our AWS Lambda function.
⚫ API works at small as well as large-scale and helps
developers to manage spectator, create and provide
security to the API's.
⚫ AWS Lambda is a compute service that runs your
back-end code and responds to events such as
object uploads to Amazon S3 bucket, Dynamo DB
or in-app activity. The Lambda function will get all
the information from a user through API Gateway.
Advantages of AWS

Advantages:
1. Easy to use.
2. No capacity limits: Organizations launch
different projects and the guess what capacity
they will need.
3. Provides speed and agility.
4. Secure and reliable: AWS provides security and
also helps to protect the privacy as it is stored in
AWS data centers.
Disadvantages of AWS

1.Limitations of Amazon EC2: AWS sets


default limits on resources which vary from
region to region. These resources consist of
images, volumes and snapshots.
2.Technical support fee: AWS charges you
for immediate support.
3.Security limitations.
2.1Compute Service

Compute services contains the fundamental


element of cloud computing systems. Example
of compute service is Amazon EC2.
Amazon Elastic Compute Cloud (Amazon EC2)
is a web service that provides resizable compute
capacity in the cloud. It is designed to make
web-scale computing easier for developers and
system administrators.
2.2 Amazon Machine Image
Amazon Machine Image (AMI) is a template for
software configuration (Operating System,
Application Server and Applications).
An AMI typically contains three things:
Template, permission to launch, block device
mapping.
1. Template: For the root volume for the instances
(An application server, an OS, and applications)
2. Permissions to launch: Which account can use
this AMI to launch instances.
3. Block device mapping: That specifies the
volumes to attach to the instance
2.3 EC2 Instances

Amazon Elastic Compute Cloud (Amazon EC2)


instances represent virtual machines. EC2
instances are launched by created by an Amazon
Machine Image (AMI). An AWS template that
describes and defines the OS and operating
environment for one or more EC2 instances of
one or more EC2 instance types.
EC2 functions:

1.Load variety of operating system.

2. Install custom applications.

3. Manage network access permission.

4. Run image using as many/few systems as


customer desire.
EC2 advantages:
1. Amazon EC2 enables you to increase or
decrease capacity within minutes.
2. User have complete control of your Amazon
EC2 instances.
3. Support flexible cloud hosting services.
4. Secure: Amazon EC2 works in conjunction with
Amazon VPC to provide security and robust
networking functionality.
5. Reliable: Amazon EC2 offers a highly reliable
environment where replacement instances can
be rapidly and predictably commissioned.
Configuring Amazon EC2 Linux Instances

Step4:
Step1: Step2: Step3:
Create a
Signup for Create an Create a key
virtual
AWS IAM user pair
private cloud

Step5:
Step 8: Step 7: Step 6: Create a
Cleanup Connect to Launch on security
instance instance instance group
Storage Service
AWS provides a collection of services for data
storage and information management. It is
represented by Amazon Simple Storage Service
(S3)
Amazon S3 has a simple web services interface
that you can use to store and retrieve any
amount of data, at any time, from anywhere on
the web. 53 can serve as a raw data store for IoT
systems for storing raw data, such as sensor
data, log data, audio and video data.
4.3 Microsoft Azure
Windows Azure is a cloud computing platform and
infrastructure, created by Microsoft, for building,
deploying and managing applications and services
through a global network of Microsoft - managed data
centers.
Azure is a virtualized infrastructure to which a set of
additional enterprise services has been layered on top,
including, a virtualization service called Azure
AppFabric that creates an application hosting
environment. AppFabric is a cloud-enabled version of
the .NET framework.
Windows Azure is Microsoft's application platform for
the public Clot can be deployed on to Azure in various
models.
Windows Azure is used to:

1.Build a web application that runs and stores its


data in Microsoft data centers
2. Store data while the applications that consume
this data run on premise(outside the public Cloud).
3. Create virtual machines to develop and test, or
run SharePoint and other out-of-the-box
applications.
4. Develop massively scalable applications with
many users.
5. Offer a wide range of services..
Components Of Azure

Azure has three components:


1. compute
2. Storage
3. Fabric
1. Compute: Windows Azure provides a hosting
environment for managed code It provides a
computation service through roles.

You might also like