Skip to main content

AWS EC2 사용기


AWS에 접한 후 현재까지의 의견은 다음과 같습니다.

ㅇ 장점
1. 다양한 서비스의 활용
2. 간단한 설치와 확장 지원

ㅇ 단점
1. 자체 서버 구성에 비쌈.
2. 생각보다 느린 네트워크

비싼 비용은 아래에서 확인할 수 있는데 여러 서비스 중에 가장 싼 스펙의 경우에도 한달에 7만원?
계산이 잘못된 것인지 하여간 이건 아닌 듯.


         시간당$ cpu 1일 1달 1달$        1달\
스몰(기본)   0.088 1 24 31 65.472 72,019

그럼 free tier를 사용한다면 스펙은 비슷한 듯.

<t1.micro>
615 MiB
ECU 2개
32비트 또는 64비트 플랫폼

<M1 스몰 인스턴스(기본)>
1.7GiB 메모리
ECU(EC2 컴퓨팅 유닛) 1개(ECU 1개를 장착한 가상 코어 1개)
160GB의 로컬 인스턴스 스토리지
32비트 또는 64비트 플랫폼

free tier이 1년간 무상이라는 것은 정말 매혹적이다.

- 1년간 사용 무료
- Linux/UNIX 또는 RHEL / Microsoft Windows Server 무료
- 30GB Amazon Elastic Block Storage
- database :오라클이 아닌 MySQL, Oracle BYOL 또는 SQL Server Express Edition 실행
   20GB의 데이터베이스 스토리지
- Amazon ElastiCache
- Amazon Simple Notification Service에 대한 요청 100,000건, HTTP 알림 100,000개 및 이메일 알림 1,000개**
- Amazon Simple Queue Service 요청 100,000건**

http://aws.amazon.com/ko/free/faqs/
http://aws.amazon.com/ko/ec2/

다만 경험 상 비용 발생하는 서비스를 피해 사용해야 하는데 며칠 안되서 이런 리포트를 받았다. ㅜ.ㅜ

하지 말라는 것은 말아야 하는데 Elastic IP, provisioned storage 를 피해 사용해야 할 듯.

Elastic IP이건 사용 중지하면 되는데 provisioned storage 이건 어떻게 추가된 건지 잘 모르겠습니다. 서비스는 바로 내릴 수 있었던 것 같습니다.

테스트 해보 불필요하면 서비스를 내리면 비용이 발생하지 않습니다.


미국 동부(버지니아 북부) 지역
 Amazon EC2 running Linux/UNIX
  $0.00 per Micro Instance (t1.micro) instance-hour (or partial hour) under monthly free tier15 Hrs0.00
 Amazon EC2 running Windows
  $0.00 per Windows Micro (t1.micro) instance-hour (or partial hour) under monthly free tier80 Hrs0.00
 Amazon EC2 EBS
  $0.00 per 1 million I/O requests under monthly free tier822,244 IOs0.00
  $0.10 per GB-month of provisioned storage126.659 GB-Mo12.67
 Elastic IP Addresses
  $0.00 per Elastic IP address not attached to a running instance for the first hour1 Hr0.00
  $0.005 per Elastic IP address not attached to a running instance per hour (prorated)651 Hrs3.26
  $0.00 per Elastic IP address remap - first 100 remaps / month8 Count0.00
    15.93
US West (Oregon) Region
 Amazon EC2 running Linux/UNIX
  $0.00 per Micro Instance (t1.micro) instance-hour (or partial hour) under monthly free tier8 Hrs0.00
 Amazon EC2 running Red Hat Enterprise Linux
  $0.300 per M1 Standard Large (m1.large) RHEL instance-hour (or partial hour)2 Hrs0.60
 Amazon EC2 EBS
  $0.00 per 1 million I/O requests under monthly free tier11,797 IOs0.00
  $0.10 per GB-month of provisioned storage0.105 GB-Mo0.01
 Elastic IP Addresses
  $0.00 per Elastic IP address not attached to a running instance for the first hour1 Hr0.00
  $0.005 per Elastic IP address not attached to a running instance per hour (prorated)238 Hrs1.19
    1.80
EU(아일랜드) 지역
 Amazon EC2 running Linux/UNIX
  $0.00 per Micro Instance (t1.micro) instance-hour (or partial hour) under monthly free tier192 Hrs0.00
 Amazon EC2 EBS
  $0.00 per GB-month of provisioned storage under monthly free tier30.000 GB-Mo0.00
  $0.00 per 1 million I/O requests under monthly free tier837,121 IOs0.00
  $0.11 per GB-month of provisioned storage75.317 GB-Mo8.28
    8.28



https://coupa.ng/bCILHz




Comments

Popular posts from this blog

Install CoreOs on linode without VM

Install CoreOs on linode without VM 1. Add a Linode 2. Create a new Disk   CoreOS 3. Rescue > Reboot into Rescue Mode 4. Remote Access   Launch Lish Console 5. make an install script cat <<'EOF1' > install.sh # add needed package sudo apt-get update sudo apt-get install -y curl wget whois sudo apt-get install -y ca-certificates #sudo apt-get install gawk -y # get discovery url discoveryUrl=`curl https://discovery.etcd.io/new` # write cloud-config.yml cat <<EOF2 > cloud-config.yml #cloud-config users:   - name: core     groups:       - sudo       - docker coreos:   etcd:     name: node01     discovery: $discoveryUrl hostname: node01 EOF2 # get the coreos installation script #wget https://raw.github.com/coreos/init/master/bin/coreos-install wget https://raw.githubusercontent.com/coreos/init/master/bin/coreos-install # run installation chmod 75...

Amazon RDS Blue/Green Deployments

In order to avoid some errors I experienced when proceeding as described in the official documentation, I describe what I did in order. 1) Modify parameters of source_database * error: Blue Green Deployments requires cluster parameter group has binlog enabled. RDS Parameter groups: source-params-group binlog_format => MIXED mysql> show global variables like 'binlog_format'; 2) Insert a row after rebooting the source database, to avoid this error. * error: Correct the replication errors and then switch over. Read Replica Replication Error - IOError: 1236, reason: Got fatal error 1236 from master when reading data from binary log: 'Could not find first log file name in binary log index file' => To Fix: You need to change the data in the source database. INSERT INTO dummy_table ( `favorite_id` , `favorite_order` , `user_id` , `board_id` ) VALUES ('100001', '1', '11111', '11111'); 3) Modify the param...

실리콘밸리 구직 체험기2_201505 - 3. 새로운 위기

실리콘밸리 구직 체험기2_201505 - 3. 새로운 위기 우리는 지난 1년간 lockscreen app과 messenger app을 만들었습니다. 나는 backend restful API를 만들고 cms를 node.js, angular.js로 만들었다. 또한 AWS 인스턴스를 관리했습니다. 마지막 몇달 동안 기존 lockscreen 앱과 CMS 관리 대신에 메신저 앱에 집중했습니다. 한국에서는 매출과 이익을 내지 않으면 투자를 받을 수 없는 환경이지만 매출 없이 유저수 증가에만 집중하는 모습이 참 생소했습니다. 우리는 사용자의 행태를 확인하기 위해서 BI툴을 이용해서 사용자 수와 retention rate 등을 추적하고 새로운 기능에 대해 사용자의 반응을 점검하면서 기획을 수시로 바꿨습니다. 많은 기능을 새로 만들고 ab test를 통해서 또 많이 폐기 했다. 실제 만든 기능 중에 절반 이상은 버려 졌습니다. locket앱은 2014년 google store의 베스트 앱으로 선정되기도 했다. 그러나 사실 이 시점에 이미 우리는 메신저 앱에 올인 하고 있었습니다. https://www.facebook.com/photo.php?fbid=10204452594066393&set=a.2225490048257.118046.1577949323&type=1 우리가 만든 메신저 앱은 초반의 반응이 워낙 좋아서 정체되었던 lockscreen 유저수를 단번에 따라 잡았습니다. 특히 Retention Rate 이 좋아서 사용자들의 제대로 사용하고 있다고 생각했습니다. 잠깐이지만 google play 에 featured 되고, 인도에 가입 지원을 했을 때 사용자 수가 급증하기도 했습니다. https://www.facebook.com/photo.php?fbid=10204901853057587&set=a.2225490048257.118046.1577949323&type=1 그 시...