# AWS상에서 HTTPS API의 비용을 줄이는 방법

> Clean Markdown view of GeekNews topic #1079. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=1079](https://news.hada.io/topic?id=1079)
- GeekNews Markdown: [https://news.hada.io/topic/1079.md](https://news.hada.io/topic/1079.md)
- Type: news
- Author: [xguru](https://news.hada.io/@xguru)
- Published: 2019-12-14T12:45:18+09:00
- Updated: 2019-12-14T12:45:18+09:00
- Original source: [gameanalytics.com](https://gameanalytics.com/blog/reduce-costs-https-api-aws)
- Points: 8
- Comments: 5

## Topic Body

호출이 많은 API서버에서는 응답패킷의 크기도 꽤 큰 비용이 됨.

이를 줄이기 위한 방법들을 하나하나 정리.

- 불필요한 HTTP 헤더 줄이기 : OPTIONS외에서는 CORS헤더 몇개 제거하기 등.

- TLS 핸드쉐이크 줄이기

- 아마존 인증서를 다른것으로 교체.

- 그외 : ALB의 HTTP/2사용, RSA 인증서를 ECC로 교체 등

## Comments



### Comment 14043

- Author: mambo
- Created: 2023-01-08T08:22:17+09:00
- Points: 2

https://gameanalytics.com/blog/reduce-costs-https-api-aws/  
  
URL 주소에서 .html이 사라졌네요.

### Comment 732

- Author: peace1974
- Created: 2019-12-18T13:40:52+09:00
- Points: 1

이렇게 까지 해야하는건가요?

티끌모아 태산이지만 ... ㅎㅎㅎ

### Comment 722

- Author: cbbatte
- Created: 2019-12-15T21:17:06+09:00
- Points: 1

꿀팁이네요, 감사합니다!

### Comment 721

- Author: cbbatte
- Created: 2019-12-15T21:17:06+09:00
- Points: 1

꿀팁이네요, 감사합니다!

### Comment 719

- Author: xguru
- Created: 2019-12-14T12:47:44+09:00
- Points: 1

GameAnalytics 는 일 API 호출수가 50억회 정도인데 이를 통해 월 $8000 정도를 절약 했다고.

상세값은 서비스별로 다르니까, 이런것들도 줄일수 있구나 정도로 생각하면 될듯.
