Technical requirements
For this chapter, you’ll need to have access to an Amazon Web Services (AWS) account. If you don’t have one already, you can go to https://aws.amazon.com/getting-started/ and create one.
Once you’ve done this, you’ll need to install and configure the AWS CLI (https://aws.amazon.com/cli/) as you’ll need this to access Amazon Bedrock FMs from your local machine. Since the majority of the code blocks that we will execute are based on Python, setting up an AWS Python SDK (Boto3) (https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html) would be beneficial. You can set up Python by installing it on your local machine, or using AWS Cloud9, or 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.