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 an AWS account.
Secondly, you will need to install and configure the AWS CLI from 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 we will be executing are based on 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 the following manner: install it on your local machine, use AWS Cloud9 or AWS Lambda, or leverage Amazon SageMaker.
Note
There will be a charge associated with the invocation and customization of Amazon Bedrock FMs. Please refer to https://aws.amazon.com/bedrock/pricing/ to learn more.