- Hands-On Chatbot Development with Alexa Skills and Amazon Lex
- Sam Williams
- 326字
- 2021-07-16 17:45:13
Setting up AWS CLI
To upload our work directly to AWS, we can use the AWS CLI. This allows us to manage our AWS services from the command line and create scripts to automate common tasks. For us, the most important CLI commands are the ones that allow us to create and update Lambdas. With automated scripts we now have the ability to quickly and easily create and deploy Lambdas, fixing the first of the local editing limitations.
To use the AWS CLI, we first need to set it up. You can install it by typing npm install -g aws-cli into your terminal.
Now we need to set up a user for our CLI to log in as. Log in to your AWS Console and navigate to or search for IAM. Click Add user so we can set up a user for our CLI. You're asked to give the user a name, so choose something like cli-user so that it is easily identifiable. Select Programmatic access, which will allow us to act as the user remotely, and click Next: Permissions.
In the Permissions screen, choose to Attach existing policies directly and select AdministratorAccess. This will let you do whatever you want through your CLI. You can set stricter policies on this user if you want, or if you are giving another person access to your account.
There’s another screen before you end up being shown your access keys. Copy your access keys and open a terminal. Run the command aws configure, which will ask you for four things:
AWS Access Key ID [None]: "Your Access Key ID
"AWS Secret Access Key [None]: "Your Secret Access Key"
Default region name [eu-west-1]:
Default output format [json]:
The first two are found on the last page of the user creation. The third must be the region you chose earlier (eu-west-1 or us-east-1), and the last one can be left as default.
- 物聯網(IoT)基礎:網絡技術+協議+用例
- Twilio Cookbook
- 新一代物聯網架構技術:分層算力網絡
- Yii Application Development Cookbook(Second Edition)
- 中國互聯網發展報告2018
- 網絡利他行為研究:積極心理學的視角
- Practical Web Penetration Testing
- Web用戶查詢日志挖掘與應用
- 物聯網與智慧廣電
- Corona SDK Application Design
- Python Web Scraping Cookbook
- 智慧的物聯網:感知中國和世界的技術
- 網絡基本通信約束下的系統性能極限分析與設計
- 學術虛擬社區用戶社會化交互行為研究
- Next.js Quick Start Guide