Technical requirements
This chapter requires you to have access to an AWS account. If you don’t have it already, you can go to https://aws.amazon.com/getting-started/ and create an AWS account.
Secondly, you will need to install and configure the AWS CLI (https://aws.amazon.com/cli/) after you create an account, which will be needed to access Amazon Bedrock FMs from your local machine. Since a major chunk of the code cells we will execute is based in Python, setting up the AWS SDK for Python (Boto3) (https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html) will be beneficial at this point. You can carry out the Python setup in the following ways – install it on your local machine, use AWS Cloud9, utilize AWS Lambda, or leverage Amazon SageMaker.
Note
There is a charge associated with the invocation and customization of the FMs of Amazon Bedrock. Refer to https://aws.amazon.com/bedrock/pricing/ to learn more.