1 / 25

Platform as a Service

Platform as a Service. Introduction. In IaaS , we can obtain server, storage, and network settings from the Cloud, based on which we can build our application platform by installing middleware and application frameworks.

Download Presentation

Platform as a Service

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Platform as a Service

  2. Introduction In IaaS, we can obtain server, storage, and network settings from the Cloud, based on which we can build our application platform by installing middleware and application frameworks. However, the platform built in this way was good for desktop or traditional client-server type of applications, but not optimized for the cloud

  3. To better take advantage of Cloud, some vendors have crafted cloud platform that enables faster time-to-market, a common user experience, and an easier development environment. IaaS can be viewed as machine-centric approach for cloud computing PaaS can viewed as application-centric approach for cloud computing

  4. Cloud Platform Cloud platform acts as run-time enviroments that supports a set of programming languages, compiled or interpreted. Cloud platform may offer additional services such as reusable components and libraries. Typically, cloud platform will offer plug-ins into common development environments, such as Eclipse, to facilitate development, testing, and deployment

  5. Cloud Platform • Some of programming languages supported by the platforms: • Visual Basic, C# • Ruby • Java • Perl • PHP • Python

  6. PaaS in action Open Data Catalogue DoD U.S. Office of Naval Research India

  7. PaaS: get started Implement a secure development life cycle methodology for your applications Plan to scale your service Don’t get overwhelmed by the proliferation of protocols and web services available to PaaSdevelopers Look for providers that help you develop more custom web apps faster Follow the example of other agencies that are integrating web services and open datasets within PaaSenvironments Remember that you can lease capacity as needed Compare how well vendor tools enable portability across clouds

  8. PaaS examples: - Google App Engine - Microsoft Windows Azure - Force.com

  9. Google App Engine - Functions Google App Engine enables developers to build web applications on the same scalable systems that power google’s own applications It means that, by using Google App Engine, you can easily design scalable applications that grow from one user to millions of users without infrastructure headaches

  10. Building an environment to support the whole life cycle of a web application is actually pretty complex: - runtime environment to run the code - environment to serve static content - database access - request and application logs - methods to push new release of the code - security of the application - backup - load balancing - scalability • Google App Engine provides an environment that supports the whole life cycle of web application

  11. With Google App Engine, you can serve your web applications from your own domain name, or use a free name on the appspot.com domain You can share your application with the world, or limit access to certain users.

  12. Google App Engine - Components Google App Engine provides the following run time environments: - Java runtime environment (Java or langauge using JVM-based interpreter or compiler, such as JavaScript or Ruby) - Python runtime envrionment (including Python interpreter and Python standard library) - Go runtime environment (running natively compiled go code).

  13. Google App Engine also provides APIs for your application to access a series of Services: - URL Fetch Service: Your application can use the same high-speed Google infrastructure to retrieve web resources. - Mail Service: Your application can send and receive email message

  14. - Memcache Service: Your application can access a high performance in-memory key-value cache. - Image Manipulation Service: Your application can process images (resize, crop, rotate, and flip) - Google Account: Your application can allow user to sign in with a Google account.

  15. Sandbox: Application run in a secure and isolated environment with limited access to the underlying operating system. - An application can only access other computers via URL fetch service and email services - Other applications can only access your application via http (https) request - Application can not write to the file system of the runtime environment. - Application can only read files uploaded with the application code. - Application can only runs in response to a web request, a queued task, or a scheduled task.

  16. Data Storing - App Engine DataStore: provides a schemaless object datastore - Google Cloud SQL: provides a relational SQL database service for your application - Google Cloud Storage: provides a storage service for objects and files.

  17. Windows Azure Windows Azure is a cloud platform running on Microsoft’s data centers. It supports the life cycle of a hosted service. Developers can build and deploy applications as a hosted service for Windows Azure by using the .NET framework

  18. A windows Azure hosted service can contain the following roles - web role - worker role - vm role

  19. A web role instance can accept incoming http(https) requests and support web application hosted in IIS A worker role instance supports applications that are not hosted in IIS A VM role allows you to run a preconfigured OS image in Azure.

  20. An application can contains an individual role or combination of them. You can request more instances of any role to scale your application up. For example, your application needs more computing power to handle increasing requests, you can spin up a new VM role instance.

  21. Developer can use Visual Studio with the following toolkit installed: - The Windows Azure Software Development Kit - Windows Azure Tools for Microsoft Studio. You can test your code locally and publish to Azure.

  22. Force.com Force.com is a cloud platform for creating and deploying applications for the social enterpise. On this platform, you can build apps that include build-in social and mobile functionality, business process, reporting, and search. Your apps run on a secure platform that can be easily scale up/down with automatically backup.

  23. Google Apps Engine and Windows Azure can be viewed as code-centric PaaS • Force.com can be viewed as data-centric PaaS • It exposes all customer specific configurations (forms, reports, workflows, user privileges, customizations, business logics) as metadata which is programmatically accessible.

  24. The force.com Integrated Development Environment (IDE) is simply a plug-in to the Eclipse platform. The plug-in directely connects to the Force.com services in the cloud and acts on the test environment. The tested application can be deployed into production by one click.

  25. Force.com also provides two tools for building GUI of your service. - UI builder - Visualforce

More Related