PHP e Windows Azure, SQL Azure

1,913 views

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,913
On SlideShare
0
From Embeds
0
Number of Embeds
7
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

PHP e Windows Azure, SQL Azure

  1. 1. Microsoft Cloud Computing: Windows Azure e lo sviluppo con PHP e MySQL Pietro Brambati, Microsoft blogs.msdn.com/pietrobr Twitter: @pietrobr http://wippy.grusp.org
  2. 2. Agenda Cos’è Windows Azure? Cosa serve per sviluppare con PHP? http://wippy.grusp.org
  3. 3. Il Cloud? http://wippy.grusp.org
  4. 4. Cos’è Windows Azure? Server nel Data Center Microsoft Gli sviluppatori possono installare «servizi» ospitare dati Indipendenza dall’ hardware e software installato  un sistema operativo per il cloud Facilita il modo in cui creiamo applicazioni scalabili e disponibili aumento il numero di «istanze» in esecuzione agendo su parametri di configurazione http://wippy.grusp.org
  5. 5. Windows Azure: la piattaforma Compute: Virtualized compute environment based on Windows Server Storage: Durable, scalable, & available storage Management: Automated, model-driven management of the service Database: Relational processing for structured/unstructured data Service Bus: General purpose application bus Access Control: AppFabric Rules-driven, claims-based access control http://wippy.grusp.org
  6. 6. Windows Azure Your Service D N S L B Web Portal (API) Fabric L B Controller http://wippy.grusp.org
  7. 7. Slide portale WinAzure http://wippy.grusp.org
  8. 8. Deployment Your Service Service Service Model Service D N S L B Web Portal (API) DNS config L Fabric B Controller http://wippy.grusp.org
  9. 9. Scalabilità Your Service Service D Service N S Service Service Service L Service B Service Web Service Portal (API) L Fabric B Controller Model http://wippy.grusp.org
  10. 10. Service Monitoring & Recovery Your Service D Service N S Service L B Service Service Web Portal (API) L Fabric B Controller Model http://wippy.grusp.org
  11. 11. I ruoli o tipi di applicazioni Web Role Worker Role Windows Server 2008 x64 Windows Server 2008 x64 IIS 7 .NET Start ASP.NET 3.5 SP1 Native Code FastCGI – PHP User Mode Native Code Inbound any TCP Port Full Trust MySQL User Mode http://wippy.grusp.org
  12. 12. Come faccio da PHP? http://wippy.grusp.org
  13. 13. PHP e MySQL Tool per Windows Azure Eclipse Galileo with PDT Windows Azure SDK Feb 2010 release Windows Azure Tools for Eclipse PHP 5.2.12 MySQL for Windows v5.1 MySQL ODBC Connector v5.2 SQL Server Driver for PHP v 1.1 SQL Server Migration Assist 2008 for MySQL v1 CTP1 Windows Azure MySQL PHP Solution Accelerator http://wippy.grusp.org
  14. 14. Demo La mia prima applicazione per Windows Azure Demo http://wippy.grusp.org
  15. 15. PHP/MySQL su Windows Azure PHP WebApp + MySQL su Windows Azure MySQL in un worker role • Copiare MySQL in una PHP Web MySQL worker role sub-directory App • Copiare in un read-write local storage • Configurare MySQL per fare rimanere in ascolto su una porta • Monitor MySQL health Usare MySQL • via IP address e porta Scaricate il Solution Accelerator http://code.msdn.microsoft.com/winazuremysqlphp http://code.msdn.microsoft.com/winazuremediawiki http://wippy.grusp.org
  16. 16. Demo Solution Accelertor per MySQL Demo http://wippy.grusp.org
  17. 17. SQL Azure: perchè migrare? Scalabilità Non c’è bisogno di installare patch Alta disponibilità e fault tolerence Facile provisioning e deploy di più database http://wippy.grusp.org
  18. 18. da MySQL DB a SQL Azure Usate il SQL Server Migration Assist per MySQL MySQL SQL Azure Database Database SQL Server Migration Assist for MySQL http://wippy.grusp.org
  19. 19. Demo Da MySQL a SQL Azure Demo http://wippy.grusp.org
  20. 20. Command-line Tools Windows Azure Command-line Tool for PHP March 2010 CTP PHP Core PHP Application PHP Extensions Windows Azure Deployment Package (cspkg + configuration) Windows Azure Command-line Tool for PHP Download http://azurephptools.codeplex.com/ http://wippy.grusp.org
  21. 21. Demo Tool da riga di comando Demo http://wippy.grusp.org
  22. 22. Altri Windows Azure SDKs per PHP Windows Azure SDK Storage e Management APIs Windows Azure AppFabric SDK APIs per il Service Bus e gli Access Control Services WCF Data Services PHP Toolkit APIs per il Service Bus e gli Access Control Services More Information and Download Links http://www.azure.com/interop http://www.interoperabilitybridges.com http://wippy.grusp.org
  23. 23. Risorse • Windows Azure Tools for Eclipse: • http://www.interoperabilitybridges.com/projects/windows-azure-tools-for- eclipse • Windows Azure MySQL PHP accelerator: • http://code.msdn.microsoft.com/winazuremysqlphp • Microsoft SQL Server Migration Assistant 2008 for MySQL v1.0 CTP1 • http://www.microsoft.com/downloads/details.aspx?FamilyID=0e6168b0- 2d0c-4076-96c2-60bd25294a8e&displaylang=en • Command Line Tools for PHP e Azure • http://azurephptools.codeplex.com/ • MYSQL Running • http://www.joshholmes.com/blog/2010/02/09/gettingmysqlrunningonazure http://wippy.grusp.org
  24. 24. http://wippy.grusp.org

×