Configuring Relational Databases
To store application data permanently, you need to use Relational Database Service (RDS). Based on the cloud computing platform, ServiceStage provides RDS for MySQL which is reliable, scalable, easy to manage, and ready for use. RDS for MySQL enables you to easily set and scale relational databases on the cloud. Using the RDS service, you can perform nearly all necessary tasks without programming. This service simplifies operation procedures and reduces routine O&M workloads, so that you can focus on application and service development.
During component deployment, you can bind relational databases in Database. The procedure is as follows:
Prerequisites
An RDS DB instance has been created. For details, see Create a DB Instance.
Procedure
- Choose Advanced Settings > Cloud Database.
- Click Bind Cloud Database.
- Select a cloud database instance that has been bound in the environment and click OK.
If no cloud database instance is bound to the environment, click Add One. On the Edit Environment page that is displayed, click Add Optional Resource to add created RDS resources to the environment.
- Set the parameters by referring to the following table. Parameters marked with an asterisk (*) are mandatory.
Parameter
Description
*Connection Type
Select a connection type.
- JNDI: standard Java connection mode.
- Spring Cloud Connector: Spring connection mode.
*Database Name
Enter a database name.
*Database Account
Enter a database account.
*Database Password
Enter the database password.
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot