Cov txheej txheem:

Kuv yuav nkag mus rau kuv qhov RDS piv txwv VPC li cas?
Kuv yuav nkag mus rau kuv qhov RDS piv txwv VPC li cas?

Video: Kuv yuav nkag mus rau kuv qhov RDS piv txwv VPC li cas?

Video: Kuv yuav nkag mus rau kuv qhov RDS piv txwv VPC li cas?
Video: Mang Vang - Nkag Siab (Official Music Video) New song 2018 - 2019 2024, Kaum ib hlis
Anonim

Txhawm rau txuas koj qhov piv txwv DB thiab koj qhov EC2 piv txwv hauv Is Taws Nem pej xeem, ua cov hauv qab no:

  1. Xyuas kom meej tias EC2 piv txwv yog nyob rau hauv pej xeem subnet hauv VPC.
  2. Xyuas kom meej tias RDS DB piv txwv tau raug cim tias tuaj yeem siv tau rau pej xeem.
  3. Ib daim ntawv qhia txog network ACLs ntawm no.

Ntawm no, kuv yuav nkag mus rau kuv qhov piv txwv RDS li cas?

Txuas rau Amazon Relational Database Service (RDS)

  1. Tau txais lub hostname rau koj qhov piv txwv RDS los ntawm "Endpoint" teb hauv RDS dashboard, raws li qhia hauv qab no:
  2. Nkag mus rau lub runtime server console ntawm SSH.
  3. Siv cov cuab yeej mysql command-line txuas mus rau Amazon RDS database, raws li qhia hauv qab no.

Ib sab saum toj no, kuv yuav txuas rau VPC piv txwv li cas? Ua raws li cov kauj ruam no los teeb tsa AWS hardware VPN:

  1. Tsim ib lub rooj vag neeg siv khoom. Qhib Amazon VPC console.
  2. Tsim lub rooj vag virtual ntiag tug. Hauv VPC console, nyob rau hauv VPN Kev Sib Txuas, xaiv Virtual Private Gateways.
  3. Tsim kev sib txuas VPN.
  4. Tau txais VPN kev sib txuas teeb tsa thiab teeb tsa koj lub rooj vag neeg siv khoom.

Dhau li ntawd, kuv yuav nkag mus rau RDS los ntawm lwm tus VPC li cas?

Yog koj xav ua tus RDS pawg nyob deb muaj, peb yuav tsum tau txuas ib qho IGW (Internet Gateway) rau hauv VPC . Yog tias koj tsis ua, nws tsis tuaj yeem sib txuas lus nrog lub ntiaj teb sab nraud. Ua li ntawd, mus rau VPC -> Internet gateways thiab ntaus "Tsim Internet Gateway": Thaum nws tau tsim, xaiv "Txuas rau VPC ”thiab xaiv koj VPC.

Kuv yuav nkag mus rau AWS RDS MySQL li cas?

Ib zaug nkag rau hauv Amazon RDS , mus rau Services tswj console thiab xaiv RDS hauv Database ntu. Tsim ib tug database piv txwv , nyem Launch DB Piv txwv ntawm Piv txwv tab. Xaiv qhov xav tau database cav, nyem Xaiv ib sab MySQL.

Pom zoo: