Open4
Google ColabとAWSを連携して、boto3を使う方法

AWS設定ファイルをGoogle Driveに保存する
- config
- credentials

Google Driveのマウント
from google.colab import drive
drive.mount('/content/drive')

AWS認証設定
import os
config_file = "/content/drive/MyDrive/[保存フォルダ]/config"
os.environ['AWS_CONFIG_FILE'] = config_file
credentials_file = "/content/drive/MyDrive/[保存フォルダ]/credentials"
os.environ['AWS_SHARED_CREDENTIALS_FILE'] = credentials_file

boto3のインストール
!pip install boto3