AWS 입문 – Reserved instance로 비용 아끼기 mahler83, 2014-02-102023-07-19 Availability zone을 정확하게 확인해줘야 한다. Reserved instance는 기본 과금 방식인 On demand 방식과 달리 1년 또는 3년 이용권을 미리 구입하는 방식이라고 보면 된다. (절반 이하의 가격으로 떨어진다!) “과금 방식” 의 개념이기 때문에 서버를 따로 옮기거나 할 필요 없이 availability zone, instance type만 맞춰서 결제를 해주면 된다. 이를 위해서는 현재 운영중인 instance의 availability zone과 instance type만 맞춰서 “Reserved Instances >> Purchase reserved instances”로 들어가 구입하면 된다. 필자의 경우, 또 대부분의 경우 웹서버 용도이기 때문에 24시간 365일 돌아가는 것을 가정한 “Heavy Utilization”을 옵션으로 선택하면 된다. Purchase를 확인하면 5분쯤 뒤에 결제 문자가 오고 약 30분 뒤에는 Reserved instance 상태가 노란색 pending payment에서 초록activated으로 바뀌게 된다. 더이상의 추가 작업은 필요 없다. ^^ Share this:TwitterFacebook AWS Web development
How to check MySQL slow queries in real-time 2014-02-162023-07-19 Open up your console and type in the following watch -n 1 ‘mysqladmin -uroot -pyourbeautifulpassword “processlist”‘ This will display the queries that are currently under execution and will be refreshed every 1 second. Get a screenshot when you find queries that you suspect to slow down your server performance. Optimize… Share this:TwitterFacebook Read More
AWS EC2 입문 – Editplus로 ftp접속하기 2013-12-282023-07-19 지금까지는 아이디-비번 방식의 인증방식만 사용해오다 이번에 처음으로 아마존 EC2를 이용하면서 private key file을 이용한 인증을 접하게 되어 구글링을 좀 해서 방법을 찾아봤다. 일단은 기본적으로 PUTTY로 접속을 성공한 뒤의 이야기다. http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/putty.html 이 링크에 있는대로 정말 step-by-step으로 하면 접속이 가능할 것이다. 아마존 녀석들 documentation 정말 잘 해둔 듯…^^ 우선 Editplus에서… Share this:TwitterFacebook Read More
pip install에서 SSLCertVerificationError 발생시 대처 2019-07-042023-07-19 병원망에서 막아놓은듯. 웨때문이죠?아래처럼 인증서 검증 단계를 bypass시켜줘야함. Share this:TwitterFacebook Read More