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

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...

Fluentd for mysql in AWS

(0) preparation ulimit -n If your console shows 1024, it is insufficient. Please add following lines to your /etc/security/limits.conf file and reboot your machine. root soft nofile 65536 root hard nofile 65536 (1) install Fluentd // “Ubuntu 12.04 LTS / Precise” curl -L http://toolbelt.treasuredata.com/sh/install-ubuntu-precise.sh | sh /etc/init.d/td-agent start/stop/restart/status // test curl -X POST -d 'json={"json":"message"}' http://localhost:8888/debug.test /etc/init.d/td-agent stop chown: changing ownership of `/var/run/td-agent/td-agent.pid': Operation not permitted chown: changing ownership of `/var/run/td-agent': Operation not permitted  * Stopping td-agent td-agent                                                                                   ...

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...