Sunteți pe pagina 1din 33

AWS 申請與使用

輔仁大學資訊工程系
簡報:林明哲
大綱
• Introduction
• Sign Up
• Server Installation
• References
• Q&A

輔仁大學資訊工程系 10/11/2016 2
Introduction
AWS介紹

輔仁大學資訊工程系 10/11/2016 3
Introduction
• Amazon Web Services (AWS)
• 雲端運算服務
• 全球最大的網路零售商
• 起源於網路書店

輔仁大學資訊工程系 10/11/2016 4
Introduction
• 基礎設施
• EC2 (Elastic Compute Cloud) - 虛擬伺服器託管
• RDS (Relational Database Service) – 資料庫服務
• S3 (Simple Storage Service) – 雲端儲存服務
• 平台服務
• QuickSight – 雲端分析
• IoT – 物聯網
輔仁大學資訊工程系 10/11/2016 5
Introduction
• 開發人員
• CloudWatch – 應用程式監控服務
• IAM (Identity and Access Management) – 使用者安全控管
• API Gateway – API管控服務

輔仁大學資訊工程系 10/11/2016 6
Sign Up
會員申請與註冊
一般帳戶
教育帳戶

輔仁大學資訊工程系 10/11/2016 7
Sign Up (一般帳戶)

帳號:學校e-mail

勾選新用戶

登入
輔仁大學資訊工程系 10/11/2016 8
Sign Up (一般帳戶)

登入資料

姓名

密碼
輔仁大學資訊工程系 10/11/2016 9
Sign Up (一般帳戶)

聯絡資訊

地址(英文地址)

建立帳戶
輔仁大學資訊工程系 10/11/2016 10
Sign Up (一般帳戶)

付款資訊

輸入信用卡資訊
輔仁大學資訊工程系 10/11/2016 11
Sign Up (一般帳戶)

身分驗證

電話號碼輸入

輸入驗證碼
輔仁大學資訊工程系 10/11/2016 12
Sign Up (一般帳戶)

支援方案

基本

完成註冊
輔仁大學資訊工程系 10/11/2016 13
Sign Up (一般帳戶)

快速啟動

服務選擇
輔仁大學資訊工程系 10/11/2016 14
Sign Up (教育帳戶)

• AWS Educate
• 選擇自己的角色
• 教育者
• 學生

輔仁大學資訊工程系 10/11/2016 15
Sign Up (教育帳戶)

• 輸入資料
• 學校名稱
• 國籍
• 城市
• 研究領域
• 姓名
• 學校Email
輔仁大學資訊工程系 10/11/2016 16
Sign Up (教育帳戶)

• 輸入資料
• 選擇學習帳戶
• 畢業級別
• 畢業年、月

輔仁大學資訊工程系 10/11/2016 17
Sign Up (教育帳戶)

• 學校信箱收取驗證碼 • 帳戶同意書

輔仁大學資訊工程系 10/11/2016 18
Sign Up (教育帳戶)

• Amazon審核帳戶 • 設定密碼

輔仁大學資訊工程系 10/11/2016 19
Server Installation
伺服器建置

輔仁大學資訊工程系 10/11/2016 20
Server Installation
• Launch Instance
• 建立並設定虛擬機器

輔仁大學資訊工程系 10/11/2016 21
Server Installation
• 作業系統
• Amazon Linux

輔仁大學資訊工程系 10/11/2016 22
Server Installation
• 硬體選擇
• 綠色免費項目
• CPU:1
• Memory:1G

輔仁大學資訊工程系 10/11/2016 23
Server Installation
• 檢視與儲存
• 檢視主機配備
• 啟動
• Launch

輔仁大學資訊工程系 10/11/2016 24
Server Installation
• 金鑰
• Create a new key pair
• 命名為 MyKeyPair
• Download Key Pair
• 路徑:
C:\user\{yourusername}\.ssh\MyKeyPair.pem

輔仁大學資訊工程系 10/11/2016 25
Server Installation
• View Instances
• 查看啟動狀況
• 記下IP位址

輔仁大學資訊工程系 10/11/2016 26
Server Installation
• 安裝終端機Git
• 啟動 Git Bash

輔仁大學資訊工程系 10/11/2016 27
Server Installation
• 虛擬機器連線
• 輸入
• ssh -i
'c:\Users\{yourusername}\.ssh\MyKe
yPair.pem' ec2-user@{IP_Address}
• yes

輔仁大學資訊工程系 10/11/2016 28
Server Installation
• 完成連接
• 更改root密碼
• sudo passwd root
• 新增使用者
• sudo useradd {username}

輔仁大學資訊工程系 10/11/2016 29
Server Installation
• 免金鑰登入
• Root 修改 /etc/ssh/
底下的sshd_config
• vi sshd_config
• PasswordAuthentication no
• no改成yes
• 重新啟動sshd
• service sshd restart
• 密碼設定
輔仁大學資訊工程系 10/11/2016 30
References
參考資料

輔仁大學資訊工程系 10/11/2016 31
參考資料
• Amazon Web Service 10 分鐘教學
• https://aws.amazon.com/tw/getting-started/tutorials
• 阿正老師教你免費玩Amazon EC2雲端主機
• https://pcrookie.com/?p=824
• 鳥哥的 Linux 私房菜
• http://linux.vbird.org/linux_server/

輔仁大學資訊工程系 10/11/2016 32
Thank you for your attention
Q&A

S-ar putea să vă placă și