This document discusses multi-tenancy options on Azure and recommends approaches. It describes the benefits of a multi-tenant approach including reduced costs and increased support for clients with fewer resources. However, it also notes challenges like the "noisy neighbor problem" and needing to upgrade all layers at once. The document recommends a single-tenant approach for existing development due to easier scaling and versioning/upgrades. It also recommends using SQL Server on-premises with SQL Azure in the cloud, starting with Basic plans and scaling up as needed.
2. Page
Agenda
General Architecture
Concerns when developing for cloud
Single vs Multi-tenancy
Recommended approach
/ Copyright 息2014 by Readify Pty Ltd2
6. Page
Why multi tenancy
Subscriptionmodeliseasytodevelop
ReduceOperatingcost
Supportmoreclientswithlessresources
Createnewmodelsforrevenuegeneration
/ Copyright 息2014 by Readify Pty Ltd6
7. PagePage / Copyright 息2014 by Readify Pty Ltd7
Database
Each Tenant
gets their own
portion of the
database based
on the primary
key
Traditional Multi-tenancy approach
Tenant 1Tenant 2Tenant 3
8. Page
Traditional Single Multi-tenant DB
/ Copyright 息2014 by Readify Pty Ltd8
TenantID PatientName DoctorName Field1 Field2
1 John Dr Cooper Consulte
d
3 Mark Dr Antonio N/A Yes
5 Paul Dr Smith Consulte
d
???
3 Tom Dr Bennett N/A Thanks
#16: For Elastic
You can get about 100 database per pool
Storage range per pool : 100-1200GB
Pricing
http://azure.microsoft.com/en-us/pricing/details/sql-database/
#19: Standard Geo-Replication
http://azure.microsoft.com/blog/2014/09/03/azure-sql-database-standard-geo-replication/
Point in Time restore
http://azure.microsoft.com/blog/2014/10/01/azure-sql-database-point-in-time-restore/
Point-in-time restore
Point-in-time restore is the most basic restore option, which you get automatically with basic, standard, and premium databases. You can use point-in-time restore to return your database to an earlier point in time. Go back 7 days with basic, 14 days with standard, and 35 days with premium. SeeAzure SQL Database Backup and RestoreandAzure SQL Database Point in Time Restore (blog)for more information. Watch the videoRestore a SQL Database Using Point in Time Restoreto see how easy it is to use point-in-time restore.
Geo-restore
Geo-restore is similar to point-in-time restore. You also get it automatically with basic, standard, and premium databases. Geo-restore, however, is designed to be a basic recovery option when a database is unavailable because of a large scale incident or outage in the region where your database is hosted. The feature usesAzure read-access geo-redundant storageto store the most recent daily backup of your databases in a different geographical location. Consider geo-restore as a basic disaster recovery solution if your application can tolerate up to 24 hours downtime and data loss. For more information, readAzure SQL Database Geo-Restore (blog), and watch the videoRestore a SQL Database Using Geo-Restoreto see how to recover a database using geo-restore.
Standard geo-replication
Standard geo-replication is available for standard and premium databases. Its designed for less write-intensive applications that nevertheless process high volumes of data and have more aggressive recovery requirements than geo-restore can offer. When the primary database fails, it shows as degraded, and you can initiate failover to a non-readable secondary database stored in a different region. For more information, seeStandard Geo-Replication for Azure SQL DatabaseandAzure SQL Database Standard Geo-Replication (blog), which has a thorough comparison of active geo-replication and standard geo-replication.
Active geo-replication
Active Geo-Replicationis available for premium databases. Its designed for write-intensive applications with the most aggressive recovery requirements. Using active geo-replication, you can create up to four readable secondaries on servers in different regions. These secondaries are maintained as continuous copies of the primary, and you can initiate failover to a secondary in the same way as standard geo-replication. Active geo-replication provides the highest degree of resiliency to temporary connection problems and high latency, so can support online application upgrade or relocation scenarios, as well as load balancing for read-only workloads. For more information, seeActive Geo-Replication for Azure SQL DatabaseandSpotlight on SQL Database Active Geo-Replication (blog).
Additional business continuity features
Database copyallows you to create a copy of a database either on the same or different servers in the same or different regions. The copy is transactionally consistent with the source when the database copy operation is complete. It is however a one-time copy, and not continuously replicated from the source. The feature can be used for data migration or ad hoc copy needs. For more information, seeCopying Databases in Azure SQL Database.
The import and export servicelets you manually or automatically export a BACPAC file, which contains a logical copy of data and schema of a database, and then import the file to restore the database. Use import and export for Web and Business databases, which do not support other business continuity features. Or use it in addition to other business continuity features for long-term storage of daily backups or to retain backups beyond the retention period for point-in-time restore. For more information, seeHow to: Use the Import and Export Service in Azure SQL Database
#21: For Elastic
You can get about 100 database per pool
Storage range per pool : 100-1200GB
Pricing
http://azure.microsoft.com/en-us/pricing/details/sql-database/
#22: Standard Geo-Replication
http://azure.microsoft.com/blog/2014/09/03/azure-sql-database-standard-geo-replication/
Point in Time restore
http://azure.microsoft.com/blog/2014/10/01/azure-sql-database-point-in-time-restore/
Point-in-time restore
Point-in-time restore is the most basic restore option, which you get automatically with basic, standard, and premium databases. You can use point-in-time restore to return your database to an earlier point in time. Go back 7 days with basic, 14 days with standard, and 35 days with premium. SeeAzure SQL Database Backup and RestoreandAzure SQL Database Point in Time Restore (blog)for more information. Watch the videoRestore a SQL Database Using Point in Time Restoreto see how easy it is to use point-in-time restore.
Geo-restore
Geo-restore is similar to point-in-time restore. You also get it automatically with basic, standard, and premium databases. Geo-restore, however, is designed to be a basic recovery option when a database is unavailable because of a large scale incident or outage in the region where your database is hosted. The feature usesAzure read-access geo-redundant storageto store the most recent daily backup of your databases in a different geographical location. Consider geo-restore as a basic disaster recovery solution if your application can tolerate up to 24 hours downtime and data loss. For more information, readAzure SQL Database Geo-Restore (blog), and watch the videoRestore a SQL Database Using Geo-Restoreto see how to recover a database using geo-restore.
Standard geo-replication
Standard geo-replication is available for standard and premium databases. Its designed for less write-intensive applications that nevertheless process high volumes of data and have more aggressive recovery requirements than geo-restore can offer. When the primary database fails, it shows as degraded, and you can initiate failover to a non-readable secondary database stored in a different region. For more information, seeStandard Geo-Replication for Azure SQL DatabaseandAzure SQL Database Standard Geo-Replication (blog), which has a thorough comparison of active geo-replication and standard geo-replication.
Active geo-replication
Active Geo-Replicationis available for premium databases. Its designed for write-intensive applications with the most aggressive recovery requirements. Using active geo-replication, you can create up to four readable secondaries on servers in different regions. These secondaries are maintained as continuous copies of the primary, and you can initiate failover to a secondary in the same way as standard geo-replication. Active geo-replication provides the highest degree of resiliency to temporary connection problems and high latency, so can support online application upgrade or relocation scenarios, as well as load balancing for read-only workloads. For more information, seeActive Geo-Replication for Azure SQL DatabaseandSpotlight on SQL Database Active Geo-Replication (blog).
Additional business continuity features
Database copyallows you to create a copy of a database either on the same or different servers in the same or different regions. The copy is transactionally consistent with the source when the database copy operation is complete. It is however a one-time copy, and not continuously replicated from the source. The feature can be used for data migration or ad hoc copy needs. For more information, seeCopying Databases in Azure SQL Database.
The import and export servicelets you manually or automatically export a BACPAC file, which contains a logical copy of data and schema of a database, and then import the file to restore the database. Use import and export for Web and Business databases, which do not support other business continuity features. Or use it in addition to other business continuity features for long-term storage of daily backups or to retain backups beyond the retention period for point-in-time restore. For more information, seeHow to: Use the Import and Export Service in Azure SQL Database