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


<<:  [Day26]程序菜鸟自学C++资料结构演算法 – 合并排序法(Merge Sort)

>>:  Day 25 - 实战演练 — Input

Day 25 -资料库应用小程序 创建资料库

从我们上一篇设计出的实体关系模型 ( Entity - Relationship Model, E-...

Leetcode: 112. Path Sum

问你这棵树有没有哪条从root到leaf的路径,是满足路径上的节点加总起来等於targetsum的?...

19 - Remote - Containers - 在容器中开发

在正式开发前,开发者都需要安装许多软件,来建立开发的环境。但是安装的方式会因开发所在的机器环境而有所...

DAY28: 光速了解与操作NVM

NVM与NPM虽然差一个字,但两者兼具着不同的工作。 NVM全名Node Version Manag...

Strings

mystring = 'hello' print(mystring) mystring = &quo...