Run Ollama and OpenCode on an AWS EC2 instance
These are my personal notes on how to run Ollama and OpenCode on an EC2 instance and connect remotely with Visual Studio Code for code development. Motivation As part of the AWS Community Builders Pro
Search for a command to run...
These are my personal notes on how to run Ollama and OpenCode on an EC2 instance and connect remotely with Visual Studio Code for code development. Motivation As part of the AWS Community Builders Pro
Strands Agents is a framework for building AI agents that comes with a long list of predefined tools. The tool use_aws allows the Agent to interact with AWS Services. In this post, I will explain how to restrict the use of this tool with an IAM role ...
In this post I will explain how to create an S3 Vector Index and use it in an Amazon Bedrock Knowledge Base and ultimately in your AI agent in Bedrock, all this using AWS CDK in python. Previous posts I previously described how to create a Restaurant...
In this post I will present an improvement to the restaurant reservation agent that allows the agent to find restaurants more efficiently by interacting with a structured database containing restaurant metadata. Iteration 1 (previous iteration) In my...
In my previous post I built a simple Restaurant Reservation Agent in Amazon Bedrock. In this post I try to break the agent and understand its weaknesses but also discover some of its superpowers. The agent has a knowledge base that allows it to searc...
In this post I will document my first attempt to build an Amazon Bedrock Agent with AWS CDK. The agent uses Retrieval Augmented Generation (RAG) to query a knowledge base containing restaurant descriptions and can perform the action of making a reser...
This post describes how you can create an AWS CDK project that defines resources in multiple regions and then automatically deploy it in multiple environments (AWS accounts) with CDK pipelines. Full code In this post, I am including the most importan...
String interpolation is not a feature of YAML. In this post, I will present a quick way to perform string interpolation in your configuration files written in YAML format. For that, I will use Jinja syntax to define the placeholders in key values and...
This post describes how you can create a VPC with subnets that support IPv6 with AWS CDK in Python. At the moment of writing, the VPC L2 (layer 2) construct in AWS CDK does not support IPv6 subnets, therefore I have created the VPC from scratch using...