-
Couldn't load subscription status.
- Fork 0
Open
Description
개요
- 프론트엔드에서 EC2, S3, Security group과 같은 AWS 사용자 데이터를 시각화하기 위한 백엔드 기능개발
- 프론트엔드가 요청한 사용자 데이터(EC2, S3 등)를 AWS-CLI를 사용해 요청하고, 그 결과를 json으로 프론트엔드에 반환한다.
API Spec
GET /api/v1/aws/<service>?region=us-east-2
content-type: application/json
access_key = <access_key>
secret_key = <secret_key>
securitygroup 정보를 출력하는 example
GET /api/v1/aws/securitygroups?region=us-east-2
content-type: application/json
access_key = 프론트엔드가 건네준 엑세스키
secrete_key = 프론트엔드가 건네준 비밀엑세스키
Result
200 OK
{
"SecurityGroups": [
{
"Description": "default VPC security group",
"GroupName": "default",
"IpPermissions": [
{
"IpProtocol": "-1",
"IpRanges": [],
"Ipv6Ranges": [],
"PrefixListIds": [],
"UserIdGroupPairs": [
{
"GroupId": "sg-0364cae18ec545ef8",
"UserId": "417699346993"
}
]
}
],
"OwnerId": "417699346993",
"GroupId": "sg-0364cae18ec545ef8",
"IpPermissionsEgress": [
{
"IpProtocol": "-1",
"IpRanges": [
{
"CidrIp": "0.0.0.0/0"
}
],
"Ipv6Ranges": [],
"PrefixListIds": [],
"UserIdGroupPairs": []
...Tasks
- Security groups
- EC2
- S3
- RDS
- 기타 추가 바람
@KimKiHyuk @nnnlog @Danna-github @backtion