Unit 2
Unit 2
07/30/2021 2
Essentials of Creating Web-Based Applications
07/30/2021 3
Pros and Cons of Cloud Computing
Advantages
5
Disadvantages of Cloud Development
• Is it secure?
• if the cloud computing host goes offline.
(Amazon’s EC2 service suffered a massive outage on February 15, 2008 )
- Iaas
- Paas
- Saas
What is Software as a Service? (SaaS)
• Reusable application-components.
• There are things applications need very often. So why make these
over and over again?
• Web services can offer application-components like: currency
conversion, weather reports, or even language translation as services.
• Connect existing software.
• Web services can help to solve the interoperability problem by giving
different applications a way to link their data.
• With Web services you can exchange data between different
applications and different platforms.
What is SOAP?
Amazon EC2’s simple web service interface allows you to obtain and
configure capacity with minimal friction. It provides you with complete
control of your computing resources and lets you run on Amazon’s proven
computing environment. Amazon EC2 reduces the time required to obtain
and boot new server instances to minutes, allowing you to quickly scale
capacity, both up and down, as your computing requirements change.
Amazon EC2 changes the economics of computing by allowing you to pay
only for capacity that you actually use. Amazon EC2 provides developers
the tools to build failure resilient applications and isolate themselves from
common failure scenarios.
Amazon EC2 Functionality
• Amazon EC2 presents a true virtual computing environment, allowing you to use
web service interfaces to launch instances with a variety of operating systems,
load them with your custom application environment, manage your network’s
access permissions, and run your image using as many or few systems as you
desire.
To use Amazon EC2, you simply:
• Select a pre-configured, templated image to get up and running immediately. Or
create an Amazon Machine Image (AMI) containing your applications, libraries,
data, and associated configuration settings.
• Configure security and network access on your Amazon EC2 instance.
• Choose which instance type(s) and operating system you want, then start,
terminate, and monitor as many instances of your AMI as needed, using the
web service APIs or the variety of management tools provided.
• Determine whether you want to run in multiple locations, utilize static IP
endpoints, or attach persistent block storage to your instances.
• Pay only for the resources that you actually consume, like instance-hours or data
transfer.
Service Highlights
• Elastic
• Completely Controlled
• Flexible
• Designed for use with other Amazon Web
Services
• Reliable
• Secure
• Inexpensive
36
Google App Engine
• developers to build their own web
applications utilizing the same infrastructure.
• integrated application environment.
• easy to build, easy to maintain, and easy to
scale.
• Google offers a robust cloud development
environment.
– Dynamic web serving
– Full support for all common web technologies
– Persistent storage with queries, sorting, and
transactions
– Automatic scaling and load balancing
– APIs for authenticating users and sending email using
Google Accounts