大家好~
接下来要把我们的 Echo bot 部署上 Amazon EC2 啦~
会员注册就不多做说明啦,
就从开一台新的 EC2 开始吧!
登入 AWS(Amazon Web Services)後,
进到 EC2 的操作页面~
找不到的话可以在画面上方的搜寻列找 EC2 喔~
1.
2.
进到 EC2 的操作页面後,
下图是画面右上角区块,
选择想使用的作业系统,
该篇以 Ubuntu 20.04 为例。
选择 Server 的 CPU、memory、storage、networking capacity 配置,
该篇以免费方案配置为例。
Configure the instance to suit your requirements. You can launch multiple instances from the same AMI, request Spot instances to take advantage of the lower pricing, assign an access management role to the instance, and more.
没有特别需求就直接下一步吧。
点击 click to add a Name tag
帮 Server 命名吧。
SSH 用 My IP 的话比较安全些,
IP 有变动记得要回来改设定喔~
确认没问题就 Launch 吧!
按下 Launch 後会跳出一个方块,
让你选择要建立新金钥还是选择既有金钥。
以下以建立新金钥为例。
Create a new key pair
,并在 Key pair name
栏位输入金钥名称。Download Key Pair
下载金钥,就可以 Launch Instances 啦。这样我们的 Instance 就开好啦~
在 Instances 下可以找到我们刚刚开好的 Instance。
接下来帮我们的 Instance 设置固定 IP 吧!
Elastic IPs
。Allocate Elastic IP address
。Allocate
。Associate Elastic IP address
。Associate
。这样就完成啦~
今天就先这样啦,
明天再继续,
大家明天见啦!
若文章有任何问题,
还请大家不吝赐教!
<<: Day 19 - 实测盘中订阅 tick 与 bidask 资料是否有先後顺序 (上)
客户端的属性或属性值无法向IdP认证客户端。例如,提交用户名和员工ID的用户将不会向IdP进行身份验...
Are you encountering Gmail not receiving emails is...
Toolbar Toolbar是对於顶端横幅栏的设计,不同於之前介面设计的元件,对於整个程序来讲可以...
今天要讲的是for回圈,他跟while有异曲同工之妙 直接来看看下面的code吧~ var JsFr...
Python介绍: Python具备两种特性,(1)直译式语言 (2)语法友善 因为Python是一...