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