레이블이 Amazon EC2인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Amazon EC2인 게시물을 표시합니다. 모든 게시물 표시

2011년 10월 18일 화요일

Amazon EC2 Automated Deploy Idea



You can add or scale out your virtual machine easily on Amazon EC2.
This characteristic is a  big burden for designing a automated and flexible deploy workflow or deploy module.

Then, revise the Amazon web services.
You can access Amazon web services by some 3rd party library.
And get the instance list (= server list), collect destination IP address for coping your web application.

I suggest, every web application on your system has the security group for its own.

Everytime, whether your machine added or not, whether your system scaled ouy automatically, you can get the exact server list at deploy time.

Amazon EC2 Coherence Member join failure trouble shooting

"Why my coherence member can not join with cluster?"

This is due to the disabled ICMP OS service at Amazon virtual machine.

The member detection mechanism of Coherence is wrapped ICMP;TCMP. So, if the OS can't communicate with each other through ICMP, Coherence member join would be failed.

Follow these steps.

1. Enabling, ICMP Echo request Protocol
2. Check the iptables, open 7th port TCP/UDP inbound/outbound.
3. OS Service start
  $> chconfig echo-dram on
  $> chconfig echo-stream on

This solution will be heplful on other PaaS Services, which allow only UNICAST in their virtual LAN.