Blog
279 words
1 minutes
GenAI Made Easy for Devs - with AWS CDK Constructs

These are resources from my talk “GenAI Made Easy for Devs - with AWS CDK Constructs”, presented at the AWS Cloud Day Dublin 2024. Here you will find links to getting started with AWS CDK and offical AWS samples for your applications, particularly using AWS GenAI services.


What is Infrastructure as Code#

  • AWS - Infrastructure as code
    An introduction of Infrastructure as Code (IaC) and its importance in Software Development. Also includes summaries of the main AWS services for defining IaC.

Getting started with AWS CDK#

  • AWS CDK Immersion Day Workshop
    If you never used CDK, I recommend starting here. You can choose to follow this tutorial in TypeScript, Python, or Go. If you also don’t have an AWS account or never used the AWS CLI, the “Prerequisites” tab has tutorial links for those.

Deploying official CDK examples from AWS#

CDK Constructs for GenAI#

  • AWS Generative AI CDK Constructs
    This is the library containing CDK Constructs for common Generative AI application patterns. If you’re building stacks that contain GenAI services (or leveraging the sample ones from AWS), you’ll be importing said services from this library.
    For instance, on the SageMaker JumpStart Model, the full library is imported as ‘genai’ (line 17), which is then used to instantiate a SageMaker Endpoint using Llama 2 as a model on an ML_G5_2XLARGE instance (lines 27-29). Importing '@cdklabs/generative-ai-cdk-constructs' (source)

GenAI Made Easy for Devs - with AWS CDK Constructs
https://mgrinstein.github.io/posts/cdk/getting-started/
Author
Monique Grinstein
Published at
2024-10-23