当前位置:网站首页>Cloud native database Amazon RDS

Cloud native database Amazon RDS

2022-06-23 09:50:00 Worm chain Java library

Amazon RDS———— Just click a few times , You can set... In the cloud 、 Run and extend relational databases .


The pain points of traditional databases

For an enterprise running on a traditional infrastructure , Although the self built computer room can meet the unique database and application requirements . But they increase the direct cost of capital and operating costs . With the rapid development of the company's business , It is not only necessary for the Canadian to ensure the safe and stable operation of the server , The hardware of the computer room needs to be upgraded and expanded .

For many organizations , Its CPU Utilization is only 20%, This requires more hardware , Therefore, higher licensing costs are required , Second, with all this extra equipment , You will get a complex deployment , Manage and pay environments .“ additional ” Power supply required by the equipment , Space and cooling requirements are not free .

 Insert picture description here

If there is some downtime , power failure , Unexpected uncontrollable factors such as human beings , It may cause a series of problems such as data loss . This is often the most concerned issue of enterprises .

At this time, a smart person will jump out and say : Just back up the database in time !

 Insert picture description here

But the truth is , Most organizations do not protect critical business applications enough . Why? ? For enterprises that rely on traditional infrastructure to support their virtualized applications , They often face too much downtime . Not all database applications are created equally , So learn which metrics are most important to your application . This requires a lot of time and personnel to study deeply and monitor in real time . For some small and medium-sized enterprises , Instead of investing so much human and material resources to manage and maintain . Not so good Use it directly with a few clicks , You can set up, run and expand in the cloud Amazon RDS Relational databases are safe, reliable and worry free .


Why choose Amazon RDS

I wonder if you still remember the number of clicks at the beginning of the article , This sentence is by no means groundless . Amazon Relational Database Service (Amazon RDS) It's a Web service ( Hosting relational database services ), Make it easier for users to set up in the cloud 、 Operate and extend relational databases . It can cost effectively provide users with an industry standard relational database with adjustable capacity , And undertake common database management tasks .

Here are the traditional databases and Amazon RDS Comparison of database operations in hosting , You can see us Amazon RDS Hosting can save a lot of personnel operating costs .

 Insert picture description here


​​
It provides you with six common database engine options , Include Amazon Aurora、MySQL、MariaDB、Oracle、Microsoft SQL Server and PostgreSQL. This means that your current code for existing databases 、 Applications and tools can also be used for Amazon RDS.Amazon RDS Can handle daily database tasks , Such as preset 、 patch up 、 Backup 、 recovery 、 Fault detection and maintenance . Take over many difficult or tedious management tasks of relational databases ! We developers only need to pay attention to how to design the database , How to better query the database .​

 Insert picture description here

When you buy a server , You will get CPU、 Memory 、 Storage and IOPS. utilize Amazon RDS, You can split these parts , So that it can be extended separately . If you need more CPU、 less IOPS Or more storage , They can be easily assigned .

In terms of database instances Amazon RDS The basic building block of is the database instance . A database instance is a stand-alone database environment running in the cloud . A database instance can contain multiple databases created by users , And can be accessed using the same tools and applications as independent database instances . You can use AWS Command Line Interface、Amazon RDS、API or AWS The management console creates and modifies database instances .

Each database instance runs a database engine . Each database engine has its own supported functions , And each version of the database engine may include some specific features . Besides , Each database engine has a set of parameters in the database parameter group , Used to control the behavior of the database it manages . The calculation and memory capacity of the database instance are determined by the database instance class . You can select the database instance that best meets your needs . If your needs change over time , You can change the database instance .

About price Amazon RDS There is no advance consumption commitment . Just pay a monthly fee for each database instance you start . When you finish working on the database instance , You can easily delete it .

 Insert picture description here

Besides , Amazon cloud technology provides 100 Free packages for more than products . among , Computing resources Amazon EC2 First year 12 It's free for three months ,750 Hours / month ; Storage resources Amazon S3 First year 12 It's free for three months ,5GB Standard storage capacity ; Database resources Amazon RDS First year 12 It's free for three months ,750 Hours ;Amazon Dynamo DB 25GB storage capacity Free forever .

Access link :https://aws.amazon.com/cn/free/


RDS Core strengths

Reduce the management burden , Extensibility , Availability and persistence , Security , manageability , cost ,RDS There are multiple core advantages. Each advantage can be broken down into multiple modules for explanation .

Experience links and tutorials :https://aws.amazon.com/cn/getting-started/databases/get-started/?nc=sn&loc=4&trk=fab55528-7c2e-4517-b90e-65b760ecfc1c&sc_channel=el

Cloud native database online conference :https://www.awsevents.cn/CloudNative/listDetails.html?trk=1227489f-bfd0-430a-85df-750d92bb9d11&sc_channel=el


Easy to use managed deployment

Just in AWS Click a few times in the administrative console , It can be started and connected to a... That can be put into production immediately in a few minutes MySQL database .Amazon RDS for MySQL The database instance is pre configured with various parameters and settings for the server type you select . Database parameter groups can provide access to MySQL Fine control and fine tuning functions of the database .

Multi zone deployment

RDS Provides the deployment of multiple availability zones , This is to bring about a better data availability , Suppose you have a strong need for database availability . So you are creating RDS The database can be configured with multiple availability zones Multi-AZ, In this case , When data is written to a master database , It will also be synchronized to the database of another zone . When the primary database has some failures that need to be recovered , Because there is a complete data from the library , So this can ensure that the data is not lost .

Fast 、 Predictable storage

Amazon RDS For you MySQL The database provides two types of SSD Supported storage options . General purpose storage can provide affordable storage for small or medium-sized workloads . For high performance OLTP Applications , Preconfigured IOPS Can achieve up to... Per second 40000 Time IO The stability of . As storage demand grows , You can pre configure additional storage in real time , No downtime .

Backup and recovery

With the help of Amazon RDS Automatic backup function of , You can use MySQL The database instance is restored to a state of 35 Any point in time within the specified retention period of days . besides , You can also perform user initiated database instance backups .Amazon RDS Will store a full database backup , Until you explicitly delete it .
stay Amazon RDS After selecting automatic backup in the console , You can restore the database instance to the specified time according to your needs . Or restore to the specified snapshot .

 Insert picture description here

High availability and read-only replicas

Amazon RDS Multi availability zone deployment enables MySQL Databases enable greater availability and persistence , Make it ideal for production database workloads .Amazon RDS Read only replicas can be easily elastically extended , Exceed the capacity limit of a single database instance , Meet the needs of read intensive database workloads .

Monitoring and indicators

Amazon RDS Free for database instances Amazon CloudWatch indicators , and Amazon RDS The enhanced monitoring function of allows users to view 50 Multinomial CPU、 Memory 、 File systems and disks I/O indicators . You can go to AWS View various key operation indicators in the management console , Including calculation / Memory / Storage capacity utilization 、I/O Activity and instance connections .

 Insert picture description here

You can also use CloudWatch To monitor RDS. By default, every 1 Minutes will automatically start from Amazon RDS To collect raw data , And process the data into readable, near real-time indicators . And send the index data to CloudWatch. The time period is 60 second (1 minute ) And can be kept for up to 15 God !

 Insert picture description here

Isolation and safety

As a hosted service ,Amazon RDS It can be for MySQL Databases provide a high level of security , This includes the use of Amazon Virtual Private Cloud (VPC) Network isolation , Use you through AWS Key Management Service (KMS) Create and control keys to encrypt static data , And the use of SSL To encrypt the data in transmission .

VPC Database instances are used for network isolation in

As long as it's not too old , The database instance you created will be located in Virtual Private Cloud (VPC) in .Amazon VPC It's a virtual network , Logically with Amazon Other virtual networks in the cloud are isolated from each other . Use Amazon VPC, You can start Amazon resources ( for example Amazon RDS Database instance or Amazon EC2 example ), And enter VPC.

VPC It can be the default that comes with your account VPC, You can also create VPC. all VPC With your Amazon Account Association . Default VPC Have the ability to isolate VPC Of resources within 3 Subnet . Default VPC It also has an Internet Gateway , Can be used from VPC External access VPC Internal resources . VPC Database instances in are usually used in the same way as in VPC Medium EC2 The application servers running in the instance share data . If you use Amazon Elastic Beanstalk In the same VPC Created in EC2 Instance and database instance , Then this instance is the created user scenario .

 Insert picture description here

When your database instance is the same as the one you use to access it EC2 Instances in different VPC In the middle of the day , You can use VPC Peer to peer connection to access database instances .

 Insert picture description here

VPC Peer to peer connections are two VPC Network connection between , Through this connection , You can use private IP The address is in these two VPC Routing traffic between . these two items. VPC Instances in can communicate with each other , Just as they are in the same network . You can have your own VPC Between 、 Their own VPC And another Amazon In the account VPC Or with others Amazon In the area VPC Create between VPC Peer to peer connection .

From the client application Internet visit VPC Database instance in , You can configure to include a public subnet VPC As well as an internet gateway to achieve through Internet signal communication .

 Insert picture description here

If your database instance is not publicly accessible , It can be accessed from the private network in the following ways :

 Insert picture description here


summary

2022 Cloud native database has been a mature technology for years , And has already been widely used by everyone , It is better for relatively developing enterprises to directly use safe and reliable computer rooms than to invest huge sums of money in building computer rooms Amazon RDS. The cloud database has been fully introduced above and the gap between traditional database and cloud database has been explained , If you are still struggling to use Amazon RDS What practical problems can be solved after ? Here is also sorted out for you . You may wish to refer to the table below !

 Insert picture description here

Amazon RDS Not only the performance is strong, but also there are many advantages . More importantly, it has won the favor of many large enterprises , Like Samsung , Cathay Pacific and so on … They are all Amazon RDS Loyal users of !

 Insert picture description here

The 10th anniversary of Amazon's cloud native database ! It has specially created a variety of learning platforms and exclusive fan benefits for the vast number of developers and fans . Click the link below to experience it !

Getting started Resource Center : from 0 To 1 Easy to get started with cloud services , Content covered : Cost management , Start training , Development resources .https://aws.amazon.com/cn/getting-started/?nc1=h_ls&trk=32540c74-46f0-46dc-940d-621a1efeedd0&sc_channel=el

Architecture Center : Amazon cloud Technology Architecture Center provides cloud platform reference architecture chart 、 Reviewed architectural solutions 、Well-Architected Best practices 、 Pattern 、 Icon, etc .https://aws.amazon.com/cn/architecture/?intClick=dev-center-2021_main&trk=3fa608de-d954-4355-a20a-324daa58bbeb&sc_channel=el

Builder Library : Learn how Amazon cloud builds and operates software .https://aws.amazon.com/cn/builders-library/?cards-body.sort-by=item.additionalFields.sortDate&cards-body.sort-order=desc&awsf.filter-content-category=*all&awsf.filter-content-type=*all&awsf.filter-content-level=*all&trk=835e6894-d909-4691-aee1-3831428c04bd&sc_channel=el

Toolkit for developing and managing applications on Amazon cloud technology platform :https://aws.amazon.com/cn/tools/?intClick=dev-center-2021_main&trk=972c69e1-55ec-43af-a503-d458708bb645&sc_channel=el


Exclusive benefits

Fukuichi :100 Free packages for more than products . among , Computing resources Amazon EC2 First year 12 It's free for three months ,750 Hours / month ; Storage resources Amazon S3 First year 12 It's free for three months ,5GB Standard storage capacity .https://aws.amazon.com/cn/free/?nc2=h_ql_pr_ft&all-free-tier.sort-by=item.additionalFields.SortRank&all-free-tier.sort-order=asc&awsf.Free%20Tier%20Types=*all&awsf.Free%20Tier%20Categories=*all&trk=e0213267-9c8c-4534-bf9b-ecb1c06e4ac6&sc_channel=el

Welfare II : The latest discount gift bag ,200 Count According to the And branch Analysis Offset buckle Coupon , 200 Data and analysis deduction voucher ,200 Count According to the And branch Analysis Offset buckle Coupon ,200 Machine learning voucher ,200$ Micro service and application development deduction voucher .https://www.amazonaws.cn/campaign/?sc_channel=el&sc_campaign=credit-acts-ldr&sc_country=cn&sc_geo=chna&sc_category=mult&sc_outcome=field&trkCampaign=request-credit-glb-ldr&trk=f45email&trk=02faebcb-3f61-4bcb-b68e-c63f3ae33c99&sc_channel=el

Welfare three : Solution CloudFormation One click deployment template library https://aws.amazon.com/cn/quickstart/

原网站

版权声明
本文为[Worm chain Java library]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/174/202206230936543033.html