This is a "for dummies" guide for deploying the OpenClaw AI Assistant on an AWS EC2 instance. No prior expertise is required.
- An active AWS Account.
- An OpenAI ChatGPT Pro Subscription.
Step 1: Navigate to EC2
- Log in to the AWS Management Console and select EC2 from the dashboard.
Step 2: Start Launch Process
- Click the orange Launch instance button on the EC2 Dashboard.
Step 3: Define Instance Identity & OS
- Name: Enter
OpenClaw_AI_Assistant. - AMI: Select Ubuntu 24.04 LTS.
Step 4: Select Instance Specifications
- Instance type: Choose m7i-flex.large (2 vCPU, 8 GiB Memory).
Step 5: Configure Security Credentials
- Click Create new key pair to generate your login certificate.
- Download the
.pemfile immediately and keep it safe.
Step 6: Execute Deployment
- Click Launch instance and wait for the success message.
- Click the generated Instance ID to enter the management page.
Step 7: Connect to Terminal
- In Instance details, click Connect, then click the secondary Connect button to open the web-based terminal.
Step 8: Execute Installation Script
- Visit openclaw.ai and copy the installation command into your terminal.
Step 9: Security Validation
- When prompted with the "inherently risky" warning, select Yes to proceed.
Step 10: Onboarding Process
- Follow the on-screen prompts (Quickstart) to initialize your assistant.
Step 11: Model Integration (ChatGPT Pro)
- During model selection, choose the option to link your OpenAI ChatGPT Pro subscription to use your monthly quota instead of API credits.
本指南为您提供最简单的“傻瓜式”操作步骤,助您在 AWS EC2 云服务器上快速部署 OpenClaw AI 助手。
- 一个激活的 AWS 账号。
- OpenAI ChatGPT Pro 订阅。
第 1 步:进入 EC2 服务
- 登录 AWS 管理控制台,在仪表盘中选择 EC2。
第 2 步:开始启动流程
- 在 EC2 仪表板上点击橙色的 Launch instance(启动实例)按钮。
第 3 步:定义实例名称与操作系统
- 名称 (Name):输入
OpenClaw_AI_Assistant。 - 系统镜像 (AMI):直接选择 Ubuntu 24.04 LTS 运行。
第 4 步:选择实例规格
- 实例类型:选择 m7i-flex.large (2 核 vCPU, 8 GiB 内存)。
第 5 步:配置安全凭证
- 点击 Create new key pair(创建新密钥对)来生成登录证书。
- 下载生成的
.pem文件并妥善保存。
第 6 步:执行部署
- 点击 Launch instance 启动服务器。
- 成功后,点击生成的 Instance ID(实例 ID)进入管理详情页。
第 7 步:连接到终端
- 在实例详情页中点击 Connect(连接),再次点击底部的 Connect 按钮打开浏览器终端。
第 8 步:执行安装脚本
- 访问 openclaw.ai 并将快速启动安装指令粘贴到终端运行。
第 9 步:安全验证
- 当终端显示“具有风险”的红色警告时,选中 Yes 并回车。
第 10 步:快速启动引导 (Onboarding)
- 按照屏幕提示(Quickstart)完成工作空间和偏好设置。
第 11 步:模型集成 (ChatGPT Pro)
- 在模型选择过程中,选择关联您的 OpenAI ChatGPT Pro 订阅,以便使用每月订阅额度。