2016年2月22日 星期一

[AWS] - EC2 + RDS




  • 1. 選擇要用的資料庫
   A. MYSQL 已經可以使用 5.7 的版本,
   B. Amazon 自己的極光 Aurora
      High performance MySQL-compatible, enterprise-class database at 1/10th the cost of
      commercial databases
   C .先選擇使用 MariaDB 來做測試驗證














  • 2. 選定要開發用的 Dev  而不是產品要用的 , 



  •  3. 選定所需要的硬體資源資訊 , Multi-AZ 要選NO , 除非後續公司有必要使用 


  • 4. 從 EC2 instance 測試驗證連接

root@ip-172-31-20-24:/var/www/html/pma# mysql -u root -p -h 172.xx.xx.xx
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 6
Server version: 10.0.17-MariaDB-log MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> quit
Bye

  • 5. 好像可以直接 Replication 不知道有沒有類似 node 的概念來做  MMM
         ex.   mariadb galera cluster


  • 6. 還可以選 Destination Region  , 台灣的話就選 東京 或 新加坡




沒有留言:

張貼留言