| name | aws |
| description | Amazon cloud services. |
| license | MIT |
| metadata | {"author":"vant","version":"1.0"} |
AWS
Amazon cloud services.
When To Use
- Cloud hosting
- Serverless
- Storage
What To Do
1. Services
| Service | What |
|---|
| EC2 | Virtual servers |
| Lambda | Serverless |
| S3 | Storage |
| RDS | Database |
| CloudFront | CDN |
| IAM | Auth |
2. CLI
aws s3 ls
aws lambda invoke
aws ec2 describe-instances
3. SDK
import { S3Client, ListBucketsCommand } from '@aws-sdk/client-s3'
const client = new S3Client({})
const res = await client.send(new ListBucketsCommand())
4. Architecture
| Pattern | Use |
|---|
| EC2 + RDS | Traditional |
| Lambda + API | Serverless |
| S3 + CloudFront | Static |
Role: AWS Developer
Input: Service
Output: Cloud resource
Cloud.