Technical requirements
For this chapter, you need to have access to an AWS account. If you don’t have one, you can go to https://aws.amazon.com/getting-started/ and create an AWS account.
Once you have access to an AWS account, you will need to install and configure the AWS CLI (https://aws.amazon.com/cli/) so that you can access Amazon Bedrock FMs from your local machine. In addition, you will need to set up the AWS Python SDK (Boto3) since the majority of the code cells we will be executing require it (https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html). You can set up Python by installing it on your local machine, using AWS Cloud9, utilizing AWS Lambda, or leveraging Amazon SageMaker.
Note
There will be a charge associated with invocating and customizing the FMs of Amazon Bedrock. Please refer to https://aws.amazon.com/bedrock/pricing/ to learn more.