Public Cloud, Private Cloud සහ Hybrid Cloud – වෙනස මොකක්ද?
Cloud Computing ගැන ඉගෙනගන්නකොට අපිට නිතරම හම්බවෙන terms තුනක් තියෙනවා.
Public Cloud Private Cloud Hybrid Cloud
මුලින් අහනකොට මේවා ටිකක් confusing.
“Public කියන්නේ හැමෝටම open එකක්ද?”
“Private කියන්නේ company එකේ server room එකක්ද?”
“Hybrid කියන්නේ cloud දෙකක් combine කරන එකද?”
මේ questions ගොඩක් beginners ලාට තියෙනවා.
හැබැයි concept එක තේරුම් ගත්තම මේ තුන ඉතාම simple.
මුලින්ම අපි එක question එකක් අහමු.
“අපේ Infrastructure එක තියෙන්නේ කොහෙද?”
Cloud type එක තීරණය වෙන්නේ ගොඩක් වෙලාවට මේ දේවල් අනුව:
Infrastructure එක කවුද own කරන්නේ?
කවුද manage කරන්නේ?
කවුද use කරන්නේ?
Data එක තියෙන්නේ කොහෙද?
Company එකට කොච්චර control එකක් තියෙනවද?
මේ questions ටිකට answer වෙන විදිහ අනුව Public, Private සහ Hybrid Cloud වෙනස් වෙනවා.
1. Public Cloud කියන්නේ මොකක්ද?
Public Cloud කියන්නේ third-party Cloud Provider කෙනෙක් infrastructure එක build කරලා, manage කරලා, customers ලාට services ලෙස ලබාදෙන model එක.
අපි හැමෝම දන්න examples:
Amazon Web Services – AWS
Microsoft Azure
Google Cloud Platform – GCP
මේ providers ලා huge Data Centers build කරනවා.
Servers maintain කරනවා.
Networking manage කරනවා.
Cooling systems maintain කරනවා.
Power systems manage කරනවා.
Physical Security handle කරනවා.
අපිට ඒ hardware buy කරන්න අවශ්ය නැහැ.
අපිට අවශ්ය service එක select කරලා use කරන්න පුළුවන්.
Simple example එකක්
හිතන්න ඔයා startup එකක් start කරනවා කියලා.
Website එකක් launch කරන්න ඕන.
ඔයාට තමන්ගේම Data Center එකක් build කරන්න money නැහැ.
Servers buy කරන්නත් අවශ්ය නැහැ.
AWS එකට login වෙලා Virtual Machine එකක් create කරනවා.
Database එකක් create කරනවා.
Storage එකක් ගන්නවා.
Application එක deploy කරනවා.
එච්චරයි.
Infrastructure එක physically AWS manage කරනවා.
ඔයා use කරන resources වලට pay කරනවා.
මේ තමයි Public Cloud.
Public Cloud කියන්නේ “Public” නිසා insecure ද?
නැහැ.
මේක beginners ලාට ගොඩක් වෙලාවට ඇති වෙන misunderstanding එකක්.
“Public Cloud” කියන්නේ ඔයාගේ data එක public කියන එක නෙවෙයි.
එයින් අදහස් වෙන්නේ infrastructure එක Cloud Provider කෙනෙක් multiple customers ලාට service එකක් විදිහට ලබාදෙනවා කියන එක.
Customers ලාගේ environments logical සහ security controls හරහා isolate කරනවා.
ඒ නිසා:
Public Cloud ≠ Public Data
මේ දෙක confuse කරන්න එපා.
Public Cloud වල වාසි
1. Huge Upfront Investment එකක් අවශ්ය නැහැ
Servers, Data Centers, Cooling Systems වගේ infrastructure මුලින්ම buy කරන්න ඕන නැහැ.
2. Fast Deployment
අවශ්ය resources විනාඩි කිහිපයකින් provision කරන්න පුළුවන්.
3. Scalability
Users වැඩි වුණොත් resources scale කරන්න පුළුවන්.
4. Global Reach
Different regions වල applications deploy කරන්න පුළුවන්.
5. Managed Services
Databases, Kubernetes, AI, Analytics, Monitoring වගේ services ගොඩක් ready-made විදිහට ලබාගන්න පුළුවන්.
Public Cloud වල challenges
Public Cloud එක perfect නෙවෙයි.
Cost එක control නොකළොත් bill එක වැඩි වෙන්න පුළුවන්.
Provider-specific services වලට depend වුණොත් vendor lock-in issue එකක් ඇති වෙන්න පුළුවන්.
Specific compliance හෝ data residency requirements තියෙන organizations වලට additional planning ඕන වෙන්න පුළුවන්.
ඒ නිසා Cloud කියන්නේ “just move everything” කියන story එකක් නෙවෙයි.
Architecture decisions කරන්න වෙනවා.
2. Private Cloud කියන්නේ මොකක්ද?
Private Cloud කියන්නේ එක් organization එකකට dedicated cloud environment එකක්.
Infrastructure එක company එකටම අයිති වෙන්න පුළුවන්.
නැත්නම් dedicated environment එකක් third-party provider කෙනෙක් හරහා run වෙන්නත් පුළුවන්.
Main idea එක:
Infrastructure එක specific organization එකකට dedicated.
Example එකක්
හිතන්න large bank එකක් තියෙනවා කියලා.
Sensitive financial systems තියෙනවා.
Strict compliance requirements තියෙනවා.
Data එක specific environment එකක් ඇතුළේම තියාගන්න ඕන.
Company එක තමන්ගේ Data Center එකේ servers run කරනවා.
Virtualization use කරනවා.
Internal teams වලට self-service infrastructure ලබාදෙනවා.
Automation use කරනවා.
Cloud-like experience එකක් build කරනවා.
මේක Private Cloud model එකකට example එකක්.
Private Cloud එක Data Center එකක් විතරද?
Not exactly.
Data Center එකක් තිබ්බා කියලා automatically Private Cloud එකක් වෙන්නේ නැහැ.
Private Cloud එකක් කියනකොට usually cloud characteristics තියෙන්න ඕන:
Virtualization
Resource pooling
Automation
Self-service provisioning
Scalability
Centralized management
ඒ කියන්නේ traditional server room එකකට වඩා advanced infrastructure model එකක්.
Private Cloud වල වාසි
1. More Control
Infrastructure එක ගැන organization එකට වැඩි control එකක් තියෙනවා.
2. Customization
Specific hardware, networking සහ security requirements වලට environment එක customize කරන්න පුළුවන්.
3. Compliance
Certain industries වල regulatory requirements satisfy කරන්න පහසු වෙන්න පුළුවන්.
4. Data Control
Data location සහ access policies ගැන organization එකට වැඩි control එකක් තියෙනවා.
හැබැයි Private Cloud free නෙවෙයි
Private Cloud එකේ control වැඩියි.
හැබැයි responsibility එකත් වැඩියි.
Servers maintain කරන්න ඕන.
Hardware replace කරන්න ඕන.
Networking maintain කරන්න ඕන.
Cooling තියෙන්න ඕන.
Power තියෙන්න ඕන.
Security teams ඕන.
Infrastructure engineers ඕන.
Monitoring ඕන.
Backup systems ඕන.
ඒ නිසා Private Cloud එකක් run කරන එක technically සහ financially ලොකු responsibility එකක්.
More Control = More Responsibility
මේ line එක මතක තියාගන්න.
3. Hybrid Cloud කියන්නේ මොකක්ද?
Hybrid Cloud කියන්නේ Private Infrastructure සහ Public Cloud දෙකම එකට භාවිතා කරන model එක.
සරලව:
Some workloads private. Some workloads public cloud.
හැබැයි මේ දෙක completely separate විදිහටම තියෙන්නේ නැහැ.
සාමාන්යයෙන් systems දෙක අතර networking, data flows, identity හෝ management integration තියෙනවා.
Real-world example එකක්
හිතන්න insurance company එකක් තියෙනවා.
Customer personal data සහ legacy systems ඔවුන්ගේ Private Data Center එකේ තියෙනවා.
හැබැයි public website එක, analytics workloads සහ backup systems Public Cloud එකේ run කරනවා.
Internal systems සහ Public Cloud environment අතර secure connection එකක් තියෙනවා.
මේ තමයි Hybrid Cloud.
Private environment එකේ sensitive workloads.
Public Cloud එකේ scalable workloads.
Company එකට දෙකේම advantages use කරන්න පුළුවන්.
Companies Hybrid Cloud use කරන්නේ ඇයි?
සමහර company එකකට එක දවසකින් සියලුම systems Public Cloud එකට move කරන්න බැහැ.
Imagine කරන්න අවුරුදු 15ක් තිස්සේ run වෙන Banking System එකක්.
Legacy Applications තියෙනවා.
Old Databases තියෙනවා.
Specific hardware dependencies තියෙනවා.
Compliance requirements තියෙනවා.
එක click එකකින් ඒ හැම දෙයක්ම AWS හෝ Azure වලට move කරන්න බෑ.
එතකොට practical solution එක?
Hybrid Cloud.
Old systems Private Infrastructure එකේ තියෙන්න පුළුවන්.
New Applications Cloud එකේ build කරන්න පුළුවන්.
Gradually modernize කරන්න පුළුවන්.
මේ නිසා Hybrid Cloud enterprise world එකේ ගොඩක් වැදගත්.
සරල analogy එකක්
හිතන්න ඔයාට ගෙයක් තියෙනවා.
Private Cloud
ඔයාගේම ගෙයක්.
Everything ඔයාගේ control එකේ.
Security.
Maintenance.
Repairs.
Electricity.
Responsibility එකත් ඔයාගේ.
Public Cloud
Hotel එකක්.
Building එක ඔයාගේ නෙවෙයි.
Maintenance hotel එක කරනවා.
ඔයා room එක use කරනවා.
Need එකට අනුව pay කරනවා.
Hybrid Cloud
ඔයාට තමන්ගේම ගෙයක් තියෙනවා.
හැබැයි travel කරනකොට hotels use කරනවා.
Need එක අනුව දෙකම use කරනවා.
Simple.
Public vs Private vs Hybrid
Public Cloud
Infrastructure Provider එක manage කරනවා.
Fast.
Flexible.
Scalable.
Pay-as-you-go model.
Examples:
AWS, Azure, GCP.
Private Cloud
Infrastructure specific organization එකකට dedicated.
More control.
More customization.
More responsibility.
Sensitive හෝ specialized workloads වලට useful වෙන්න පුළුවන්.
Hybrid Cloud
Private + Public Cloud
Sensitive systems private environment එකේ.
Scalable හෝ modern workloads public cloud එකේ.
දෙක අතර integration තියෙනවා.
“හොඳම Cloud Type එක මොකක්ද?”
මේකට එක answer එකක් නැහැ.
Startup එකකට Public Cloud practical වෙන්න පුළුවන්.
Bank එකකට Hybrid Cloud හොඳ fit එකක් වෙන්න පුළුවන්.
Specific security සහ regulatory requirements තියෙන organization එකකට Private Cloud අවශ්ය වෙන්න පුළුවන්.
Architecture කියන්නේ trend එක follow කරන එක නෙවෙයි.
Requirement එක තේරුම්ගෙන correct solution එක තෝරන එක.
හොඳ Engineer කෙනෙක්:
“හැම දෙයක්ම Cloud එකට දාමු.”
කියන්නේ නැහැ.
ඔහු අහන්නේ:
“මේ workload එකට හරි environment එක මොකක්ද?”
කියලා.
එතන තමයි real engineering thinking එක.
Cloud Engineer කෙනෙක්ට මේ concepts වැදගත් ඇයි?
Cloud Engineer කෙනෙක් AWS console එකේ resources create කරන කෙනෙක් විතරක් නෙවෙයි.
ඔහු හෝ ඇය Architecture ගැන හිතන්න ඕන.
Data කොහෙද තියෙන්නේ?
Latency කොච්චරද?
Security requirements මොනවද?
Compliance තියෙනවද?
Existing systems මොනවද?
Cost එක කොහොමද?
Disaster Recovery plan එක මොකක්ද?
මේ questions වල answer අනුව Public, Private හෝ Hybrid architecture එක තෝරන්න වෙනවා.
අවසානයේ...
Cloud Computing ලෝකය black-and-white නෙවෙයි.
“Cloud හොඳයි, Data Center නරකයි.”
කියලා simple answer එකක් නැහැ.
Technology world එක ඊට වඩා complicated.
සමහර workloads Public Cloud වලට perfect.
සමහර workloads Private Infrastructure එකේ තියාගන්න එක sensible.
සමහර organizations දෙකම එකට use කරනවා.
ඒ තමයි Hybrid Cloud.
අන්තිමට වැදගත්ම දේ Cloud type එකේ නම නෙවෙයි.
Right workload එක right place එකේ run කරන එක.
ඒක secure වෙන්න ඕන.
Reliable වෙන්න ඕන.
Cost-effective වෙන්න ඕන.
Scalable වෙන්න ඕන.
Business එකට value එකක් දෙන්න ඕන.
Cloud Engineer කෙනෙක්ගේ job එකත් ඒකයි.
Technology එකක් use කරන එක විතරක් නෙවෙයි.
හරි technology එක, හරි තැනට, හරි reason එකකට තෝරන එක.
