Cloud Database - Build A Database Website

- 02.04

A cloud database is a database that typically runs on a cloud computing platform. There are two common deployment models: users can run databases on the cloud independently, using a virtual machine image, or they can purchase access to a database service, maintained by a cloud database provider. Of the databases available on the cloud, some are SQL-based and some use a NoSQL data model.

Build an eCommerce Website with PHP - Part 3 - Database Design
valentin.radulescu.me



Deployment model

There are two primary methods to run a database on the cloud:

  • Virtual machine Image - cloud platforms allow users to purchase virtual machine instances for a limited time. It is possible to run a database on these virtual machines. Users can either upload their own machine image with a database installed on it, or use ready-made machine images that already include an optimized installation of a database. For example, Oracle provides a ready-made machine image with an installation of Oracle Database 11g Enterprise Edition on Amazon EC2 and on Microsoft Azure.
  • Database as a service (DBaaS) - some cloud platforms offer options for using a database as a service, without physically launching a virtual machine instance for the database. In this configuration, application owners do not have to install and maintain the database on their own. Instead, the database service provider takes responsibility for installing and maintaining the database, and application owners pay according to their usage. For example, Amazon Web Services provides three database services as part of its cloud offering, SimpleDB, a NoSQL key-value store, Amazon Relational Database Service, a SQL-based database service with a MySQL interface, and DynamoDB. Similarly, Microsoft offers the Azure SQL Database service as part of its cloud offering.

A third option is managed database hosting on the cloud, where the database is not offered as a service, but the cloud database vendor hosts the database and manages it on the application owner's behalf. For example, cloud provider Rackspace offers managed hosting for MySQL on dedicated and cloud architectures and NoSQL databases via Object Rocket's managed MongoDB service. Similarly, on Azure, and Amazon Web Services, MongoLab provides MongoDB-as-a-Service.

Architecture and common characteristics

  • Most database services offer web-based consoles, which the end user can use to provision and configure database instances. For example, the Amazon Web Services web console enables users to launch database instances, create snapshots (similar to backups) of databases, and monitor database statistics.
  • Database services consist of a database manager component, which controls the underlying database instances using a service API. The service API is exposed to the end user, and permits users to perform maintenance and scaling operations on their database instances. For example, the Amazon Relational Database Service's service API enables creating a database instance, modifying the resources available to a database instance, deleting a database instance, creating a snapshot (similar to a backup) of a database, and restoring a database from a snapshot.
  • Database services make the underlying software stack transparent to the user - the stack typically includes the operating system, the database and third-party software used to manage the database. The service provider (e.g. MongoLab or ObjectRocket) is responsible for installing, patching and updating the underlying software stack and ensuring the overall health and performance of the database.
  • Database services take care of scalability and high availability of the database. Scalability features differ between vendors - some offer auto-scaling, others enable the user to scale up using an API, but do not scale automatically. There is typically a commitment for a certain level of high availability (e.g. 99.9% or 99.99%).

Build A Database Website Video




Data model

It is also important to differentiate between cloud databases which are relational as opposed to non-relational or NoSQL:

  • SQL databases, such as PostgreSQL, NuoDB, Oracle Database, Microsoft SQL Server, and MySQL, are one type of database which can run in the cloud (either in a Virtual Machine Image or as a service, depending on the vendor). SQL databases are difficult to scale, meaning they are not natively suited to a cloud environment, although cloud database services based on SQL have started to address this challenge.
  • NoSQL databases, such as Apache Cassandra, CouchDB and MongoDB, are another type of database which can run on the cloud. NoSQL databases are built to service heavy read/write loads and can scale up and down easily, and therefore they are more natively suited to running on the cloud. However, most contemporary applications are built around an SQL data model, so working with NoSQL databases often requires a complete rewrite of application code.
Build Your Own Database-Driven Website Using PHP & MySQL, 4th ...
www.slideshare.net


Vendors

The following table lists notable database vendors with a cloud database offering, classified by their deployment model - machine image vs. database as a service - and data model, SQL vs. NoSQL.



Are You Looking for Products

Here some products related to "Cloud Database".

Amazon.com: My CookBook: Appstore for Android
My CookBook: Appstore for..
Amazon.com: WebSite X5 Evolution 10 [Download]: Software
WebSite X5 Evolution 10 [..
Amazon.com: NeatReceipts Neat Business Cards Mobile Full Color ...
NeatReceipts Neat Busines..
Amazon.com: Access Database Manager: Appstore for Android
Access Database Manager: ..

Get these at Amazon.com

* amzn.to is official short URL for Amazon.com, provided by Bitly

Source of the article : here





EmoticonEmoticon

 

Start typing and press Enter to search