iT邦幫忙

2021 iThome 鐵人賽

DAY 26
0
Software Development

SQL / NoSQL的實作與比較系列 第 26

EC2上的資料庫

除了AWS提供預設的RDS, 若覺得使用起來不順手, 也可以建立虛擬機, 使用安裝版的MSSQL資料庫.

  1. 從EC2的選單上點選[Instances] -> [Launch Instances].
    https://ithelp.ithome.com.tw/upload/images/20211010/200919429znWVC5ZlM.png

  2. 選擇虛擬機映像檔, 搜尋sql server 2016. 選擇預設Windows 2016 + SQL 2016 Standard.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942nUJmoUQgOz.png

  3. Instance Type可選擇最小單位實作.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942cBqShtXwk0.png

  4. 檢視確認無誤後, 就可啟動虛擬機.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942z0fO3UgvQF.png

  5. 啟動之前要先下載Key Pair, 以獲得登錄密碼.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942uv2cwTA93i.png

  6. 回到Instance面板上, 可看到虛擬機正在啟動.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942rFfB6xereM.png

  7. 點選該主機進到Summary, 點選 [Connect].
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942AJfOCCjkxD.png

  8. 在 [RDP client] 頁籤內, 點選 [Get Password].
    https://ithelp.ithome.com.tw/upload/images/20211010/200919428H5UAh6H87.png

  9. 上傳剛剛下載的key pair, 再點選 [Decrypt Password] 以得到登錄密碼.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942SV1XIPOupM.png

  10. 點選複製密碼, 貼到筆記本上. 再下載遠端連線捷徑.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942lI2H6pcQkR.png

  11. 開啟連線捷徑後, 再按 [連線].
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942uvoNOUunbT.png

  12. 輸入剛才貼到筆記本內的密碼, 即可進入該虛擬機.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942beMcfJ8Cby.png

  13. 內建SQL 2016 Standard, 使用上就跟一般的安裝無異.
    https://ithelp.ithome.com.tw/upload/images/20211010/20091942pg7AXJ0Kip.png


上一篇
實作Aurora
下一篇
SQL與NoSQL的連結(一)
系列文
SQL / NoSQL的實作與比較30
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言