Online health communities generally provide a platform for patients and their families to learn about an illness, seek and suggest support, and connect with other peers in analogous situations. In this paper, an architecture and implementation of an automatic medicine dispenser is proposed to support and extend the online health communities. Through this solution, doctor in the online health community may suggest pills based on the health conditions of their patients as communicated by them through online platform. Each user is secured with a unique barcode while starting the communication between the doctor and the patient. The barcode may then be scanned in the nearby automatic pill dispenser that can dispatch the medicine. Cloud is used as a medium to support Storage as a Service. The proposed model eliminates the need to spend time to visit the doctor and the time to spend in pharmacy. Also, the patients are relieved from the errors that might be caused due to handwriting misinterpretation and change of medicine that exists in manual medicine dispensing system. © BEIESP.