14. Los benefices de PaaS
PaaS es rápido PaaS es barato PaaS menos riesgo
Razón: menos trabajo Razón: Tiene menos Razón: la plataforma
para el desarrollador trabajo que hacer de hace más, dejando
administración y gestión menos oportunidades
Beneficio: las
para errores
aplicaciones pueden ir Beneficio : la
de una idea a una organización gasta Beneficio: Crear y
realidad en mucho menos tiempo en soporte ejecutar aplicaciones es
menos tiempo de aplicaciones más confiable
Slide Objectives:Explain the differences and relationship between IaaS, PaaS, and SaaS in more detail.Speaking Points:Here’s another way to look at the cloud services taxonomy and how this taxonomy maps to the components in an IT infrastructure. Packaged SoftwareWith packaged software a customer would be responsible for managing the entire stack – ranging from the network connectivity to the applications. IaaSWith Infrastructure as a Service, the lower levels of the stack are managed by a vendor. Some of these components can be provided by traditional hosters – in fact most of them have moved to having a virtualized offering. Very few actually provide an OSThe customer is still responsible for managing the OS through the Applications. For the developer, an obvious benefit with IaaS is that it frees the developer from many concerns when provisioning physical or virtual machines. This was one of the earliest and primary use cases for Amazon Web Services Elastic Cloud Compute (EC2). Developers were able to readily provision virtual machines (AMIs) on EC2, develop and test solutions and, often, run the results ‘in production’. The only requirement was a credit card to pay for the services.PaaSWith Platform as a Service, everything from the network connectivity through the runtime is provided and managed by the platform vendor. The Windows Azure best fits in this category today. In fact because we don’t provide access to the underlying virtualization or operating system today, we’re often referred to as not providing IaaS.PaaS offerings further reduce the developer burden by additionally supporting the platform runtime and related application services. With PaaS, the developer can, almost immediately, begin creating the business logic for an application. Potentially, the increases in productivity are considerable and, because the hardware and operational aspects of the cloud platform are also managed by the cloud platform provider, applications can quickly be taken from an idea to reality very quickly.SaaSFinally, with SaaS, a vendor provides the application and abstracts you from all of the underlying components.
Windows Azure has datacenters in 8 locations (4 in the USA, 2 in Europe and 2 in the Asia pacific region) which allows us to provide services in 83 countries around the world.
Windows Azure offers highly-available Compute capacity that enables you to run application code in the cloud and allows you to quickly scale your applications up or down to meet your customer needs. Goal for Slides 6 thru 9 is to explain how easy is it to scale up and down based on your capacity needs.
Windows Azure is designed for high availability providing 99.95% monthly SLA with automatic hardware failover .
Windows Azure lets developers choose the framework and tools they want, with first-class support of .NET, Java, PHP and Node.js. Windows Azure consists of a set of foundational services - let’s take a quick tour, starting with 3 core services: Compute, Data Management and Networking.Compute:Windows Azure offers highly-available Compute capacity that enables you to run application code in the cloud and allows you to quickly scale your applications up or down to meet your customer needs. Each Compute instance is a virtual machine that isolates your application from other customers. Once Compute resources are assigned to your application, Windows Azure automatically handles network load balancing and failover to provide continuous availability.Cloud Services(PaaS): Capture the full benefits of the cloud that quickly scale up or down. Infrastructure management is all done by Microsoft, so you can focus your resources on building the best app.Virtual Machines (IaaS): Instantly run your existing applications and infrastructure in a VHD image. You retain full control to configure and maintain the image. Web Sites: Quickly and easily deploy sites to the cloud with support for multiple frameworks and popular open source applications including WordPress, Drupal, Joomla! and Umbraco.Data management:StorageThe design point is for the cloud is availability of storage, there are 3 replicas of data, and we implement guaranteed consistency. In the future there will be some transaction support and this is why we use guaranteed consistency.There are 4 types of storageTables = Key value storeQueues = a simple queuing mechanismBlobs = Binary file storage in the cloudDrives = A mechanism that allows a VHD in a blob to be mounted as an NTFS drive into a Compute roleAuthenticated access and triple replication to help keep your data safe Easy access to data with simple REST interfaces, available remotely and from the data centerDatabase:Simple to provision- create a logical server in the Portal, execute a create DB Command to create a new databaseCan add and remove DBs easily from application to scale up and downNo need to install or patch software or other physical administrationAutomatic high availability and fault toleranceSupport for T-SQL based familiar relational database modelNetworkingWindows Azure offers multiple levels of connectivity through Windows Azure Connect and Virtual Networks Connect Windows Azure connect is a Windows Azure feature that enables Azure services to connect to on-premise resources in a manner that is secure, quick to setup, and easy to manage. Target audience: developers Best for simple, scoped connectivity Easy agent-based installation, set up within minutes Works through firewall Granular control over connectivity – “machine to machine”Virtual NetworksVirtual Network allows enterprises to securely extend their on-premise networks into Windows Azure with complete control over network topology: Target audience: IT & network adminsProvides control, set up and configuration similar to traditional VPNAllows to bring your IP addresses, DNS etc. to the CloudCurrently, the IPSec tunnel is through internetScalable “Site to site” connectivityTraffic ManagerImproves app performance and resiliency by automatically routing traffic to the nearest deployed datacenter and provides seem less failover in the event of a failoverBeyond these 3 core services, Windows Azure offers a growing set of additional services to help you bring your application, and your business, to the next level.CDN:The Windows Azure CDN provides edge nodes around the world, providing better performance and user experience for users who are farther from the source of the content stored in the Windows Azure Blob service. Windows Azure Customers have control over how long data is cached.Windows Azure CDN has 20 locations globally (United States, Europe, Asia, Australia and South America) and continues to expandCaching: Windows Azure In Memory Caching serviceprovides high speed access to data that is kept in-memory, instead of relying on slower disk based storage or database.Allows applications to be architected for easy scale-out scenariosProvides easy scale up or scale down by allowing you to dynamically increase or decrease the cache size Integration:complete message based infrastructure supporting multiple messaging patterns to connect applications and systems in real-time both on Windows Azure as well as between Windows Azure and on-premise systems.Business AnalyticsSQL Server Reporting provided as a service Reports authored using existing tools (BIDS) Reports can include rich Data Visualizations (Maps, Charts, Tablix) and exported to variety of formats Microsoft ‘Big data’ solution comprises of large scale analytics on less structured data like log files, images, video, sensor or device output, and public data via Hadoop services on Windows Azure.IdentityWindows Azure Active Directory is a modern cloud service providing identity management and access control capabilities to cloud applications, whether those are Windows Azure applications, Microsoft Office 365, Dynamics CRM Online, Windows Intune or other 3rd party cloud services. Easily integrate Live ID, Facebook, Yahoo, Google, & Active Directory for application single sign-on.MediaMedia Services enables content companies and solution providers to build end to end media workflows on Windows Azure. Enhancing existing solutions or creating new workflows, you can easily combine and manage Media Services to create custom workflows that fit every need be itEncoding, Format Conversion, Content Protection, Live Streaming or on demand Streaming.HPC You can easily build, deploy and manage scalable, fault-tolerant and high-performing applications seamlessly across on-premise clusters and the Windows Azure. CommerceReach millions of buyers by selling your products and services in Microsoft storesMake your products and services available within Microsoft in-product experiencesBenefit from Microsoft marketing and merchandisingDeveloper Languages and SDKEasy to quickly develop cloud applications with a unified SDK experience, with services and APIs that follow consistent design guidelines across features and capabilities.Support for client libraries for .Net, Java, php, node .JS and Python
a place for your application code to run…Web role is simply a Virtual Machine with IIS pre-configuredWorker role is for non-web based processing code, back-end business processesYou can actually connect to your web/worker roles – they are just VM’sYou package your code/artifacts and Windows Azure bootstraps a VM, installs the code and starts up the VM for you. Load balances multiple instancesVM Role is a blank template – you install any software you needAll these roles are stateless (VM Role will become state full in next release)
WAMSNo hassles, no deployments, no fear Windows 8 client SDK Support for iPhone, Windows Phone and Android coming soonData Structured Storage with SQL Database Automatic service api generated for storage Rich querying capabilityNotifications Integrates with WNS to provide Toast, Tile, Badge and Raw notifications Clean object model to compose notificationsServer Logic Automatic CRUD service api generated Ability to author server logic that intercepts CRUD operation pipelineAuth Authenticate against Windows Live Table level authorization with no code More granular control with server side scriptsScale out and Scale up
Mobile Sevice básicaValidación de data con SCRIPTSAutorización de usuarios con scriptsPushnotification básica
WNS is FreeVERDE: es provisto por MicrosoftAZUL: es provisto por los desarrolladoresPasosPedir una URI para el canalTomar la URI y regístrala en el servicio mobil para que la use para enviar notificaciones. Puede ser en una tabla, etc..Pushnotificaciton al WPN que a su vez se lo envía a NotificationClientPlatformIntegrates with WNS to provide Toast, Tile, Badge Raw notificationsPortal captures your WNS client secret and package SIDpush.wns.* provides: clean easy object model to compose notifications Performs auth against WNS for you
Pushnotification básica
Building a VM in the cloud Instantly run your existing applications in the cloud using Windows Azure Virtual Machines. Virtual Machines allow you to easily move your applications and infrastructure to the cloud without requiring any changes to the existing code. You can bring your own Windows Server or Linux images or select from a gallery. Regardless of your choice, you retain full control to configure and maintain the image. Windows Azure Virtual Machines are great for:Application mobilityVirtual Machines give you application mobility, allowing you to move your virtual hard drives (VHDs) back and forth between on-premises and the cloud.Running popular Microsoft server applicationsVirtual Machines help you run the same on-premises enterprise applications and infrastructure in the cloud, with support for many popular Microsoft server applications such as Microsoft SQL Server, Active Directory and Microsoft SharePoint Server. Future gallery images will support applications such as SQL Server pre-installed on Windows Server for your usage.Integrate with Other Windows Azure ServicesVirtual machines can be used in coordination with all of the services provided by Windows Azure. Common scenarios would be to use Windows Azure Virtual Network to connect Virtual Machines to your on-premises data center or include a Virtual Machine in the design of your application that includes web and worker roles.You have three methods of starting this process: Build a VM from the portal, from the command line OR programmatically calling the REST API. Once your choice of provisioning is made you will need to select the image and instance size to start from. The newly created disk will be stored in blob storage and your machine will boot.
Git is a popular, open source, distributed version control system. Windows Azure Web Sites allow you to enable a Git repository for your site, which allows you to quickly and easily push code changes to your site. Windows Azure Web Sites also support continuous deployment from your public GitHub, CodePlex or Bitbucket repositories.
Web sitefromgalleryWeb matrix PHP Web site
Developer Languages and SDKEasy to quickly develop cloud applications with a unified SDK experience, with services and APIs that follow consistent design guidelines across features and capabilities.Support for client libraries for .Net, Java, php, node .JS and Python
Node.js client libraries that includes support for blobs, tables and queuesJava client libraries that include support for blobs, tables, and queues, service runtime, and service busPHP client libraries that include support for blobs, tables, and queues, service runtime, and service busSource code for the Node.js and Java client libraries on GitHub