মূল লেখায় যান

AWS Cloud Development Kit (CDK)

#142 · Level 4 · পরিচালনা ও বিশেষ ক্ষেত্র · DevOps ও Infrastructure as Code

AWS Cloud Development Kit (CDK) দিয়ে পরিচিত programming ভাষায় (TypeScript, Python, C#, Java) code লিখে infrastructure বানানো যায়। CDK-র মূল অংশ হলো construct — একটা বা কয়েকটা resource মিলে বানানো, বারবার ব্যবহারযোগ্য টুকরো। কয়েকটা construct মিলে stack হয়, আর কয়েকটা stack মিলে একটা CDK app। Deploy করার সময় CDK এই code-কে CloudFormation template-এ রূপান্তর করে। তারপর CloudFormation-ই আসলে resource বানায়।

নকশা হাতে না এঁকে computer software-এ আঁকা — বারবার ব্যবহারযোগ্য অংশ বানিয়ে রাখা যায়।

Template file বড় হলে পড়া কঠিন। Programming ভাষায় লিখলে loop, function, reuse — সব সুবিধা পাওয়া যায়।

কোথায় ব্যবহার হয়

“কোথায় ব্যবহার হয়” অংশ

Developer team-এর infrastructure লেখা, বারবার ব্যবহারযোগ্য infrastructure অংশ বানানো।

Bicep / Pulumi / Terraform CDK

বিস্তারিত আর সর্বশেষ তথ্যের জন্য official documentation দেখুন: