Boto3 Practice Tasks
Boto3 Practice Tasks
BEGINNER
1. Install and Configure Boto3:
- Install Boto3 and configure AWS credentials using `aws configure`.
- Write a script that initializes a Boto3 session and prints available services.
2. List S3 Buckets:
- Use Boto3 to connect to S3 and list all your buckets.
- Print each bucket name and creation date.
INTERMEDIATE
6. Launch and Manage an EC2 Instance:
- Write a script to launch a new EC2 instance with a specific instance type and
AMI.
- Wait until the instance is running, then stop and terminate it.
ADVANCED
11. Manage IAM Policies and Roles:
- Write a script to create a new IAM role and attach a policy to allow S3
access.
- List all policies attached to the role.