CHAPTER THREEDatabases
A cloud database is a database service that is built and deployed on cloud infrastructure. Easily via the internet, cloud databases serve the same functions as any other modern relational or nonrelational databases, but with the added flexibility that comes with cloud computing. With a cloud database, you don't have to buy any dedicated hardware, and you don't have to worry about the infrastructure to run and scale the database. Depending on your needs and your team's abilities, you can choose a fully managed or a self-managed service.
Advantages of databases in the cloud:
- Managed: Cloud databases offer options to automate database provisioning, storage capacity management, and other time-consuming management tasks.
- Scalable: As the amount of data stored in your cloud database grows or shrinks, the storage capacity can be adjusted at runtime to accommodate the changes.
- Easy to access: Cloud databases can be easily accessed over the internet via APIs or a web console.
- Disaster recovery: Managed databases offer automated backups and recovery to restore instances to an earlier state.
- Secure: Cloud databases are secure, offering data encryption at rest and in transit, along with private connectivity to the applications that interact with them.
This chapter covers the two broad categories of cloud databases (relational and nonrelational), their advantages and common use cases, and options available for running them on Google Cloud.
Databases are critical ...