CDK
I would recommend using Typescript, because there are more resources and it was originally made for it.
Videos you can watch
Setup
AWS Hands-On: Getting started with the AWS CDK
In this video, we'll use the AWS Cloud Development Kit (CDK) to deploy AWS Infrastructure as code for a demo App.
Commands:
npm install -g aws-cdk
cdk init sample-app --language=python
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
cdk synth
cdk bootstrap
cdk deploy
cdk diff
cdk deploy
cdk destroy
https://www.youtube.com/watch?v=qrZ_BOqOZks
CI/CD pipeline
important part 21:00
AWS CodePipeline with AWS CDK | Deploy resources with Code Pipeline and Code Build Project | Python
Hello Dear All, my name is Amit. I am here to give some tips and tricks about cloud learning and some day to day problem solving methods. I'm an professional cloud engineer, working in this fields for 12+ years.
If you have any queries regarding AWS issues... feel free to reach out to me.
In this video, I have discussed AWS Code Pipeline and deploy AWS resources with Code Pipeline and Code build project.
AWS CodePipeline is a fully managed continuous delivery service that enables you to automate the release pipelines for fast and reliable application and infrastructure updates. CodePipeline automates the building, testing, and deployment of your applications, allowing you to rapidly and reliably deliver features and updates.
CodePipeline integrates with other AWS services such as AWS CodeCommit, AWS CodeBuild, AWS CodeDeploy, and AWS CodeStar, as well as with third-party tools, enabling you to create custom release pipelines that meet your specific requirements.
With CodePipeline, you can easily create, model, and visualize your release process through a graphical user interface. You can also customize the release pipeline stages and actions, and configure notifications and approvals to control the release process. CodePipeline also provides real-time monitoring and analytics, enabling you to quickly identify and troubleshoot issues in your release process!
CodeBase: https://github.com/nspacer/aws-codepipeline
My email Id : beyondthecloud2022@gmail.com
facebook: https://www.facebook.com/beyondthecloud2022
Linkedin: https://www.linkedin.com/company/beyondthecloud2023/
#aws #amazonwebservices #software #softwareengineer #developers #clouds #cloudengineer #cloudcomputing #systemdesign #database #programming #fullstack #cloudsecurity #security #fullstacksoftwareengineering #itindustry #engineering #engineer #beyondthecloud #AWSSystemsmanager #AWSdocuments #AWSautomation #s3 #S3sucurity #yamlfile #jsontemplate #python #pythonprogramming #awsec2 #awsec2security #ec2security #instancemetadata #ec2 #awslambda #awsconfig #cloudwatch #dynamodb #awsiam #boto3 #cdk #infrastructure #insfrastructureascode #python #sqs #serverless #sam #awssam #docker #dockercontainer #java
@BeABetterDev @AWSTutorialsOnline @cluut @TinyTechnicalTutorials @BlockExplorerMedia @nickchapsas @itversity @TechwithLucy @Intellipaat @knowledgeindia @SimplilearnOfficial @TechnicalGuftgu @MachineLearningHub @edurekaIN @in28minutes @CodeWithHarry @QuickSupport @byluckysir
https://www.youtube.com/watch?v=643N-9ygamw
Full course
AWS Cloud Development Kit (CDK) Crash Course
Learn how to use the AWS Cloud Development Kit (CDK) in this tutorial. The AWS Cloud Development Kit (AWS CDK) is an open-source software development framework to define your cloud application resources using familiar programming languages. We'll go over the basics, do the CDK Workshop and then talk about some advanced features of CDK.
✏️ Matt Martz created this course. He is an engineer, AWS Community Builder, and CDK fanboi.
🔗 Twitter: https://twitter.com/martzcodes
🔗 Blog: https://matt.martz.codes
🔗 Landing Page / Social: https://martz.codes
⭐️ Course Contents ⭐️
⌨️ (00:00) CDK Crash Course Intro
⌨️ (01:13) What we'll cover
⌨️ (02:34) Resources [1, 2, 3, 4]
⌨️ (03:07) CDK Basics [5]
⌨️ (07:34) What are CDK Constructs? [6, 7, 8, 9, 10]
⌨️ (10:15) Level 3 Construct Examples [11, 12, 13]
⌨️ (12:08) Synthesis, Assets, Bootstrapping and Deploy [5]
⌨️ (14:53) CDK Workshop Speedrun - Cloud9 Prep [14, 15]
⌨️ (21:01) CDK Workshop Speedrun - New Project [14]
⌨️ (28:02) CDK Workshop Speedrun - Hello, CDK [14]
⌨️ (35:42) CDK Workshop Speedrun - Writing Constructs [14]
⌨️ (42:26) CDK Workshop Speedrun - Using Construct Libraries [14]
⌨️ (44:14) CDK Workshop Speedrun - Testing Constructs [14]
⌨️ (48:51) Advanced CDK [16, 17, 18, 2, 19, 20]
⌨️ (59:32) More Resources and Thanks! [21, 22, 23]
⭐️ References ⭐️
CDK Developer Guide: https://docs.aws.amazon.com/cdk/v2/guide/home.html
[1] CDK Slack: https://cdk.dev
[2] The CDK Book: https://thecdkbook.com
[3] CDKDay: https://cdkday.com
[4] CDKDay talk: Creating Verifiable JSON Web Tokens with AWS CDK https://www.youtube.com/watch?v=v9116ZS3QPc
[5] App Lifecycle: https://docs.aws.amazon.com/cdk/v2/guide/apps.html
[6] CDK API Reference: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-construct-library.html
[7] Access Analyzer L1 Construct: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_accessanalyzer.CfnAnalyzer.html
[8] Access Analyzer CloudFormation API: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-accessanalyzer-analyzer.html
[9] DynamoDB Table L2 Construct: https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_dynamodb.Table.html
[10] DynamoDB Table CloudFormation API: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dynamodb-table.html
[11] CDKPatterns.com: https://cdkpatterns.com
[12] AWS Solutions Constructs: https://docs.aws.amazon.com/solutions/latest/constructs/welcome.html
[13] Construct Hub: https://constructs.dev
[14] CDK Workshop: https://cdkworkshop.com
[15] Cross-account CI/CD Pipeline with CDK Pipelines: https://catalog.us-east-1.prod.workshops.aws/v2/workshops/874d349f-85f6-495d-9475-ff7b7b23201f/en-US
[16] CloudFormation Custom Resources: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html
[17] CDK Provider Framework: https://docs.aws.amazon.com/cdk/api/v2//docs/aws-cdk-lib.custom_resources-readme.html
[18] Testing the Async Cloud with AWS CDK: https://dev.to/aws-builders/testing-the-async-cloud-with-aws-cdk-33aj
[19] CDK Aspects: https://docs.aws.amazon.com/cdk/v2/guide/aspects.html
[20] Best Practices: https://docs.aws.amazon.com/cdk/v2/guide/best-practices.html
[21] freeCodeCamp: AWS CDK v2 Tutorial: https://www.freecodecamp.org/news/aws-cdk-v2-three-tier-serverless-application/
[22] OpenAPI Specs Without Deploying First: https://matt.martz.codes/openapi-specs-from-cdk-stack-without-deploying-first
[23] Serverless Stack Framework: https://serverless-stack.com
🎉 Thanks to our Champion and Sponsor supporters:
👾 Raymond Odero
👾 Agustín Kussrow
👾 aldo ferretti
👾 Otis Morgan
👾 DeezMaster
--
Learn to code for free and get a developer job: https://www.freecodecamp.org
Read hundreds of articles on programming: https://freecodecamp.org/news
https://youtu.be/T-H4nJQyMig?si=bZoqtdc10gOQa9K4
Notes