Current location - Training Enrollment Network - Books and materials - Is it necessary to adopt Amazon rds?
Is it necessary to adopt Amazon rds?
Introduction to Amazon

Amazon, called Amazon in Chinese, is actually known by everyone in the world. Amazon mentioned here is a large global e-commerce company. At the beginning of the company, it was mainly engaged in online book sales. With the development, almost everything is sold now, and it is diversified. A few years before Amazon was founded, its sales volume was relatively large and its business developed rapidly. In order to support the development of the company's business, Amazon has purchased a lot of IT infrastructure just in case. However, in fact, they don't need so many IT resources, so in early 2002, they realized the waste of these idle resources and began to lease some of them to third-party users. In 2006, with the rise of cloud computing, they set up a network service department and began to build a cloud platform to provide cloud platform services for various enterprises, such as virtual services, storage, bandwidth and other services, which is now the Amazon cloud service called AWS(Amazon Webservice).

What is Amazon RDS?

RDS is one of the cloud service products provided by Amazon. According to Amazon's official description, RDS is a service based on relational database, which allows users to install, operate, maintain and manage relational database very easily, so that they can focus on the application development and business of the software itself.

In fact, to put it bluntly, RDS is a more powerful relational database. Using this database, many DBA tasks do not need you to do, or are easy to do, such as database installation, physical/logical design, version upgrade, backup/recovery, etc.

Amazon RDS service function

The so-called RDS service feature is to describe what functions the product RDS provided by Amazon has. The following functions are officially given by Amazon. I don't know if they can really be achieved and how stable they are. Amazon has not released some technical inside information about product realization, and I think only he knows it, hehe.

Fast deployment and installation: I can guarantee this, it is absolutely fast. Think about it, if you need to use a relational database in a project, such as mysql, you need to prepare a server first, then download a suitable mysql database installation file according to the project situation, then install it, set relevant parameters, and finally test it. If your server is already ready, it's good to say that if you don't even have a database server, you need to go through the process of applying for a server. Finally, the company will evaluate the project requirements and purchase ... If so, it is estimated that it will take several years to build a database server. However, if you use RDS, you only need to do a few short steps on the Amazon console or through the operation command line or API provided by Amazon to build a service similar to a relational database, and then configure the data source and use it directly.

Hosting: Amazon will help you manage these database servers, such as software upgrades, patching, backup and restore, and replication functions. You can put your best efforts into application development and database optimization.

Compatibility: Up to now, Amazon RDS has three instance engines, namely Mysql, Oracle and sql Server, so you can choose the appropriate instance engine according to the needs of the project, and then you can operate the relational database like a local database, regardless of SQL syntax and stored procedure compatibility.

Extensibility: Amazon RDS can automatically expand the storage size of the database and the types of sample models according to the size of your system business. For example, if the project runs for a period of time and the storage is not enough, Amazon RDS will dynamically increase the storage for you, but the maximum storage is only 1tb, or because the business is complex and the calculation amount of the database is too large for the corresponding machine CPU to calculate, it will automatically upgrade your database instance to a higher version.

Stability: The so-called stability means that Amazon RDS provides various measures, including avoiding data loss in your database. The current schemes include: automatic backup, manual backup, multi-regional deployment, etc. ) and read copy, etc. (See the next chapter for a detailed introduction of these functions, and of course you can also go to official website to check).

Integration with other Amazon cloud products: for example, integration with EC2: If you deploy your application on EC2, you can use RDS as the relational database of your application, that is, on Amazon cloud platform, EC2 and RDS can interact well.

Security: When it comes to the security of Amazon RDS, the security design of RDS mainly includes two aspects, namely access security and data transmission security. Let's talk about the security of data transmission first. When most of your applications get RDS connections and transmit data through the Internet, when you create corresponding RDS instances, you can specify to use SSL protocol to transmit data (you need to apply for a certificate and issue it yourself when using SSL, hehe). The second is access security. RDS provides functions similar to firewall settings. With this function, you can specify which IPS can access your RDS and which EC2 security groups can access your RDS through configuration. Even, you can use Amazonde VPC service to completely isolate your RDS in your private cloud, so that only IT facilities in your private cloud can access the RDS. So I personally think this security is still very good.

Cheap and cheap: I don't comment on this, whoever uses it knows. To put it simply here, Amazon provides two modes of purchase services. One is on-demand DB Instance, that is, on-demand billing, which is based on the number of hours you use; There is also a reserved DB instance, which is equivalent to signing an RDS service life contract with Amazon. For example, it is cheaper to sign a one-year contract, pay more at one time, and then charge by the hour. If you plan to use it for a year or a few years, it is very cost-effective.