Help Center > > Getting Started> Getting Started with RDS for MySQL> Connecting to a DB Instance Through a Public Network> Overview

Overview

Updated at: May 26, 2020 GMT+08:00

Scenarios

This section describes how to buy a MySQL DB instance on the management console and bind an EIP to the DB instance to make the instance publicly accessible.

If you are using RDS for the first time, see the constraints described in section MySQL Constraints.

Process

Figure 1 illustrates the process of connecting to a MySQL DB instance through a public network.

Figure 1 Connecting to a DB instance through a public network
  • Step 1: Buy a DB instance. Confirm the specifications, storage, network, and database account configurations of the MySQL DB instances based on service requirements.
  • Step 2: Bind an EIP. The EIP service provides independent public IP addresses and bandwidth for Internet access. You can apply for an EIP on the VPC console and bind the EIP to the RDS DB instance.
  • Step 2: Configure security group rules. To access an RDS DB instance from resources outside the security group, you need to configure an inbound rule for the security group associated with the RDS DB instance.
  • Step 4: Connect to a DB instance through a public network. You can connect to a DB instance through a common connection or an SSL connection. The SSL connection encrypts data and is more secure.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel